This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/2] BZ#10375 fixes


On 08/05/12 09:06, Roland McGrath wrote:
> I took a crack at this one from Carlos's fix-me-soon list.
> These changes are on the roland/bz10375 branch.
> 
> With these fixes, I can build x86_64-linux-gnu on Ubuntu 10.04
> with its stock system compiler (4.4.3-4ubuntu5.1), which does
> both of these inane things.  Previously I was always passing
> CPPFLAGS=-U_FORTIFY_SOURCE and CFLAGS='-g -O2 -fno-stack-protector'
> to configure.
> 
> The second one seems especially fragile, but I don't know of a better plan.
> It certainly needs to get some more testing on a wider variety of machines
> and compilers before I'll feel sanguine about merging it.
> 
> 

I get the following issue:

gawk -f ../scripts/gen-as-const.awk
../sysdeps/i386/i686/multiarch/ifunc-defines.sym \
| gcc -S -o /home/arch/code/glibc-build/ifunc-defines.hT3 -std=gnu99
-fgnu89-inline @libc_extra_cflags@ --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -O2 -Wall -Winline -Wwrite-strings
-fmerge-all-constants -fstack-protector -march=i686 -mtune=generic -pipe
-Wstrict-prototypes -mpreferred-stack-boundary=4     -U_FORTIFY_SOURCE
 -I../include -I/home/arch/code/glibc-build/csu
-I/home/arch/code/glibc-build
-I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux/i386/nptl -I../sysdeps/unix/sysv/linux/i386
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
-I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486
-I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl  -I.. -I../libio -I.
-nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/include -isystem
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/include-fixed -isystem /usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -x c - \
	-MD -MP -MF /home/arch/code/glibc-build/ifunc-defines.h.dT -MT
'/home/arch/code/glibc-build/ifunc-defines.h.d
/home/arch/code/glibc-build/ifunc-defines.h'
gcc: error: @libc_extra_cflags@: No such file or directory
make[2]: *** [/home/arch/code/glibc-build/ifunc-defines.h] Error 1


Built with on i686-pc-linux-gnu:

CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"

../glibc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
--with-headers=/usr/include --enable-add-ons=nptl,libidn
--enable-kernel=2.6.32 --enable-bind-now --disable-profile
--enable-multi-arch


Allan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]