Bug 12858

Summary: cannot build
Product: glibc Reporter: matteo sisti sette <matteosistisette>
Component: libcAssignee: Ulrich Drepper <drepper.fsp>
Status: RESOLVED DUPLICATE    
Severity: critical CC: ppluzhnikov
Priority: P2 Flags: fweimer: security-
Version: 2.13   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description matteo sisti sette 2011-06-07 22:55:38 UTC
After a succesful configure, make generates the following errors:

In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:
../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]: *** [/media/DATA/downloads/programmi/openni/glibc/build13/misc/syslog.o] Error 1
make[2]: Leaving directory `/media/DATA/downloads/programmi/openni/glibc/glibc-2.13/glibc-2.13/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/media/DATA/downloads/programmi/openni/glibc/glibc-2.13/glibc-2.13'
make: *** [all] Error 2
Comment 1 Ulrich Drepper 2011-06-08 23:31:27 UTC
Don't report build problems.

*** This bug has been marked as a duplicate of bug 333 ***
Comment 2 Paul Pluzhnikov 2011-06-09 17:01:02 UTC
(In reply to comment #0)
> After a succesful configure, make generates the following errors:
> 
> In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:
> ../misc/syslog.c: In function ‘__vsyslog_chk’:
> ../misc/syslog.c:123: sorry, unimplemented: inlining failed in call to
> ‘syslog’: function body not available

I've seen this failure when trying to build glibc with gcc that automatically defines _FORTIFY_SOURCE (which, I believe, some Ubuntu-distributed gcc's do).

Adding -U_FORTIFY_SOURCE to CFLAGS may help.