From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24510 invoked by alias); 7 Jul 2009 19:17:10 -0000 Received: (qmail 24446 invoked by uid 48); 7 Jul 2009 19:16:56 -0000 Date: Tue, 07 Jul 2009 19:17:00 -0000 From: "booleandomain at gmail dot com" To: glibc-bugs@sources.redhat.com Message-ID: <20090707191655.10375.booleandomain@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/10375] New: glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00016.txt.bz2 I cannot compile glibc-2.10.1 with gcc-4.3.3. Make fails with the following error message: x86_64-pc-linux-gnu-gcc ../sysdeps/unix/sysv/linux/syslog.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wl,--dynamic-linker,/tools/lib64/ld-linux-x86-64.so.2 -Wwrite-strings -fmerge-all-constants -march=core2 -Wstrict-prototypes -fexceptions -I../include -I/home/booleandomain/tmp/lfs/sources/glibc-build/misc -I/home/booleandomain/tmp/lfs/sources/glibc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /home/booleandomain/tmp/lfs/sources/glibc-build/misc/syslog.o -MD -MP -MF /home/booleandomain/tmp/lfs/sources/glibc-build/misc/syslog.o.dt -MT /home/booleandomain/tmp/lfs/sources/glibc-build/misc/syslog.o ../misc/syslog.c: In function '__vsyslog_chk': ../misc/syslog.c:123: sorry, unimplemented: inlining failed in call to 'syslog': function body not available ../misc/syslog.c:155: sorry, unimplemented: called from here make[2]: *** [/home/booleandomain/tmp/lfs/sources/glibc-build/misc/syslog.o] Error 1 make[2]: Leaving directory `/home/booleandomain/tmp/lfs/sources/glibc-2.10.1/misc' make[1]: *** [misc/subdir_lib] Error 2 make[1]: Leaving directory `/home/booleandomain/tmp/lfs/sources/glibc-2.10.1' make: *** [all] Error 2 Glibc was configured as follows: --prefix=/tools --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --with-headers=/tools/include --enable-kernel=2.6.30 The only way I know to fix this is to add -U_FORTIFY_SOURCE to the CFLAGS. -- Summary: glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS Product: glibc Version: 2.10 Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: booleandomain at gmail dot com CC: glibc-bugs at sources dot redhat dot com GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=10375 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.