This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
ToT build error?
- From: Steve Ellcey <sellcey at marvell dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Thu, 13 Jun 2019 17:19:38 +0000
- Subject: ToT build error?
I am currently trying to build ToT glibc with ToT GCC and getting this
error. Note that I configure glibc with --enable-obsolete-rpc which
may be one reason this isn't being seen more widely. It just showed up
recently and I don't see any source changes in glibc that might have
caused it which makes me think a recent GCC change may have triggered
the new message. I am not sure at this point if it is a valid warning
or not. The message format itself also looks wierd. What is
'target_mem_ref' in this context? Maybe the GCC error report
formatting is wrong?
Has anyone else run into this?
Steve Ellcey
sellcey@marvell.com
/opt/gcc-tot-B87/bin/aarch64-linux-gnu-gcc pmap_rmt.c -c -std=gnu11
-fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef -Werror -fmerge-
all-constants -frounding-math -fno-stack-protector -Wstrict-prototypes
-Wold-style-definition -fmath-errno -fPIC -fexceptions -ftls-
model=initial-exec -I../include
-I/home/jenkins/workspace/Build_gcc_tot/obj-glibc/sunrpc -
I/home/jenkins/workspace/Build_gcc_tot/obj-glibc -
I../sysdeps/unix/sysv/linux/aarch64 -I../sysdeps/aarch64/nptl -
I../sysdeps/unix/sysv/linux/generic -
I../sysdeps/unix/sysv/linux/wordsize-64 -
I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -
I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -
I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -
I../sysdeps/posix -I../sysdeps/aarch64/fpu -
I../sysdeps/aarch64/multiarch -I../sysdeps/aarch64 -
I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128 -
I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -
I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /opt/gcc-
tot-B87/lib/gcc/aarch64-linux-gnu/10.0.0/include -isystem /opt/gcc-tot-
B87/lib/gcc/aarch64-linux-gnu/10.0.0/include-fixed -isystem /opt/gcc-
tot-B87/usr/include -D_LIBC_REENTRANT -include
/home/jenkins/workspace/Build_gcc_tot/obj-glibc/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC
-DSHARED -DTOP_NAMESPACE=glibc -o
/home/jenkins/workspace/Build_gcc_tot/obj-glibc/sunrpc/pmap_rmt.os -MD
-MP -MF /home/jenkins/workspace/Build_gcc_tot/obj-
glibc/sunrpc/pmap_rmt.os.dt -MT
/home/jenkins/workspace/Build_gcc_tot/obj-glibc/sunrpc/pmap_rmt.os
#‘target_mem_ref’ not supported by expression#’pmap_rmt.c: In function
‘clnt_broadcast’:
pmap_rmt.c:298:19: error: may be used uninitialized in this function
[-Werror=maybe-uninitialized]
298 | baddr.sin_addr = addrs[i];
| ~~~~~~~~~~~~~~~^~~~~~~~~~
cc1: all warnings being treated as errors
../o-iterator.mk:9: recipe for target
'/home/jenkins/workspace/Build_gcc_tot/obj-glibc/sunrpc/pmap_rmt.os'
failed
make[2]: *** [/home/jenkins/workspace/Build_gcc_tot/obj-
glibc/sunrpc/pmap_rmt.os] Error 1