This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Build failure on glibc 2.15
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Amittai Aviram <amittai dot aviram at yale dot edu>
- Cc: libc-help at sourceware dot org
- Date: Thu, 24 May 2012 18:08:41 -0400
- Subject: Re: Build failure on glibc 2.15
- References: <DB06097C-5319-42B4-8C91-BBA7AB3062A1@yale.edu>
On Thu, May 24, 2012 at 6:00 PM, Amittai Aviram <amittai.aviram@yale.edu> wrote:
> Hi! ?I need to build a separate version of glibc, distinct from my system's default glibc, in a local user directory, in order to do some research and testing. ?I am working on an Ubuntu-Linux server platform (kernel 2.6.32-41-server), on 12-core AMD hardware. ?I did the following steps and ran into an error:
>
> 1. Downloaded glibc 2.15 locally into directory ~/GLIBC (/home/afa9/GLIBC) using git. ?(Switched to the 2.15 release branch.)
> 2. Created sibling ~/GLIBC/glibc_obj and ~/GLIBC/glibc_install directories.
> 3. cd glibc_obj
> 4 ?../glibc/configure --prefix=/home/afa9/GLIBC/glibc_install
> 5. ?make -
>
> I got the error below:
>
> 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]: *** [/home/afa9/GLIBC/glibc_obj/misc/syslog.o] Error 1
> make[2]: Leaving directory `/home/afa9/GLIBC/glibc/misc'
> make[1]: *** [misc/subdir_lib] Error 2
> make[1]: Leaving directory `/home/afa9/GLIBC/glibc'
> make: *** [all] Error 2
>
> Does anybody understand this error and what to do about it? ?Thanks!
Known issue. Fixed on trunk.
http://sourceware.org/bugzilla/show_bug.cgi?id=10375
Add -U_FORTIFY_SOURCE to your CFLAGS before building.
Does that help?
Cheers,
Carlos.