Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 306941

Summary: Build failures using gcc-4.4
Product: Gentoo/Alt Reporter: Richard Connon <conan>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
emerge -pqv
environment

Description Richard Connon 2010-02-26 11:19:25 UTC
Lots of redefined functions from the std library.

Reproducible: Always

Steps to Reproduce:
Comment 1 Richard Connon 2010-02-26 11:19:38 UTC
Created attachment 221293 [details]
build.log
Comment 2 Richard Connon 2010-02-26 11:19:50 UTC
Created attachment 221295 [details]
emerge --info
Comment 3 Richard Connon 2010-02-26 11:20:03 UTC
Created attachment 221297 [details]
emerge -pqv
Comment 4 Richard Connon 2010-02-26 11:20:15 UTC
Created attachment 221299 [details]
environment
Comment 5 Richard Connon 2010-02-26 11:34:42 UTC
Compiling with CFLAGS="-std=c99" or CFLAGS="-ansi" fixes the problem...
I think the problem is this:

checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99

-std=gnu99 is definitely not ISO Standard C
Comment 6 Richard Connon 2010-02-26 14:26:50 UTC
Same issue with xz-utils solved the same way.
Same looking issue with expat was not solved (got an error about a presumably missing GNU extension)
Comment 7 Fabian Groffen gentoo-dev 2010-02-27 20:20:54 UTC
what kind of linux is this? CentOS 5?
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-05 21:27:48 UTC

*** This bug has been marked as a duplicate of bug 290263 ***