gcc-4.6.0-0.12.fc15.x86_64 breaks strcmp?

Richard W.M. Jones rjones at redhat.com
Mon Mar 7 16:19:14 UTC 2011


On Mon, Mar 07, 2011 at 11:06:44AM -0500, Adam Jackson wrote:
> And build it with -c -save-temps, I don't get anything remotely like
> what you're getting in the .i file; the strcmp call is emitted
> unmolested.  So I'm choosing to blame this on some other header
> you're including, and the easiest way to find it is to do:
> 
> #define STREQ broken
> #define strcmp broken

/usr/include/bits/string2.h:800:0: note: this is the location of the previous definition

> right before the call and let cpp tell you where the original is.
> 
> % rpm -q glibc gcc
> glibc-2.13.90-4.x86_64
> gcc-4.6.0-0.12.fc15.x86_64

I'm using:

glibc-2.12.90-21.x86_64
gcc-4.6.0-0.12.fc15.x86_64

I'll try updating glibc next.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw


More information about the devel mailing list