This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
Re: Error when re-compiling libc
- From: Fred Fish <fnf at specifix dot com>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 2 Dec 2006 10:11:28 -0700
- Subject: Re: Error when re-compiling libc
- Organization: Specifix Inc.
- References: <200612020910.32488.fnf@specifix.com>
- Reply-to: fnf at specifix dot com
On Saturday 02 December 2006 09:10, Fred Fish wrote:
> Note that the trigger is the -std=gnu99 option. Not sure if this error is a bug
> in glibc sources or in support for gnu99.
Turns out gcc 4.1.1 as distributed in Fedora Core 6 works fine:
$ /usr/bin/gcc -std=gnu99 -c bug.i
$ /usr/bin/gcc -v 2>&1| grep 'gcc version'
gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)
But a gcc built from current top-of-tree sources does not:
$ gcc -std=gnu99 -c bug.i
bug.i:13: error: redefinition of '__signbit'
bug.i:6: error: previous definition of '__signbit' was here
$ gcc -v 2>&1| grep 'gcc version'
gcc version 4.3.0 20061126 (experimental)
-Fred