Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142542 - hwinfo-13.0 will never build with gcc3
Summary: hwinfo-13.0 will never build with gcc3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 148241 (view as bug list)
Depends on:
Blocks: 139837
  Show dependency tree
 
Reported: 2006-08-02 07:43 UTC by Chris Slycord
Modified: 2006-09-29 15:40 UTC (History)
1 user (show)

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


Attachments
files/hwinfo-13.0-makefile-fixes.patch (hwinfo-13.0-makefile-fixes.patch,450 bytes, patch)
2006-08-07 09:30 UTC, Marcus Furlong
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2006-08-02 07:43:41 UTC
When building hwinfo-13.0, it uses the gcc option -Wno-pointer-sign which was only introduced with gcc4. I don't get the error myself, as I have gcc-4.1.1 but I verified that it chooses that option to be used.

Snipet from "emerge hwinfo":

gcc -c -Wall -Wno-pointer-sign -O2 -pipe -g -fPIC -march=pentium4 -O2 -fomit-frame-pointer -pipe

And here's a link to see where the actual error "in action":
http://forums.gentoo.org/viewtopic-t-485785-highlight-.html
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-08-02 10:20:43 UTC
/me kicks upstream.
it would be nice if they documented things like that...
Comment 2 Marcus Furlong 2006-08-07 09:30:56 UTC
Created attachment 93674 [details, diff]
files/hwinfo-13.0-makefile-fixes.patch

uncomment the following existing line in the ebuild:

 EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${P}-makefile-fixes.patch

This fixes the compilation problem under gcc3
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-20 03:36:44 UTC
*** Bug 148241 has been marked as a duplicate of this bug. ***
Comment 4 Casey Allen Shobe 2006-09-20 10:05:55 UTC
This is especially important on hardened as gcc4 is not yet available on hardened systems due to problems.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-09-29 15:40:30 UTC
fixed in cvs.