Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306941 - Build failures using gcc-4.4
Summary: Build failures using gcc-4.4
Status: RESOLVED DUPLICATE of bug 290263
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 11:19 UTC by Richard Connon
Modified: 2010-03-05 21:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,46.92 KB, text/plain)
2010-02-26 11:19 UTC, Richard Connon
Details
emerge --info (emerge-info,3.95 KB, text/plain)
2010-02-26 11:19 UTC, Richard Connon
Details
emerge -pqv (emerge-pqv,60 bytes, text/plain)
2010-02-26 11:20 UTC, Richard Connon
Details
environment (environment,102.50 KB, text/plain)
2010-02-26 11:20 UTC, Richard Connon
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***