public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10375] New: glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS
@ 2009-07-07 19:17 booleandomain at gmail dot com
  2009-07-07 19:40 ` [Bug libc/10375] " zorry at ume dot nu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: booleandomain at gmail dot com @ 2009-07-07 19:17 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/10375] glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS
  2009-07-07 19:17 [Bug libc/10375] New: glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS booleandomain at gmail dot com
@ 2009-07-07 19:40 ` zorry at ume dot nu
  2009-07-17  6:00 ` drepper at redhat dot com
  2010-01-18 20:41 ` dick at mrns dot nl
  2 siblings, 0 replies; 4+ messages in thread
From: zorry at ume dot nu @ 2009-07-07 19:40 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zorry at ume dot nu


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/10375] glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS
  2009-07-07 19:17 [Bug libc/10375] New: glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS booleandomain at gmail dot com
  2009-07-07 19:40 ` [Bug libc/10375] " zorry at ume dot nu
@ 2009-07-17  6:00 ` drepper at redhat dot com
  2010-01-18 20:41 ` dick at mrns dot nl
  2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2009-07-17  6:00 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-07-17 06:00 -------


*** This bug has been marked as a duplicate of 333 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/10375] glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS
  2009-07-07 19:17 [Bug libc/10375] New: glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS booleandomain at gmail dot com
  2009-07-07 19:40 ` [Bug libc/10375] " zorry at ume dot nu
  2009-07-17  6:00 ` drepper at redhat dot com
@ 2010-01-18 20:41 ` dick at mrns dot nl
  2 siblings, 0 replies; 4+ messages in thread
From: dick at mrns dot nl @ 2010-01-18 20:41 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |11180
              nThis|                            |


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-18 20:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-07 19:17 [Bug libc/10375] New: glibc can be built only if -U_FORTIFY_SOURCE is added to CFLAGS booleandomain at gmail dot com
2009-07-07 19:40 ` [Bug libc/10375] " zorry at ume dot nu
2009-07-17  6:00 ` drepper at redhat dot com
2010-01-18 20:41 ` dick at mrns dot nl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).