Bug 12858 - cannot build
Summary: cannot build
Status: RESOLVED DUPLICATE of bug 333
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.13
: P2 critical
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 22:55 UTC by matteo sisti sette
Modified: 2014-06-13 14:38 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.