This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error when re-compiling libc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]