Bug 142542 - hwinfo-13.0 will never build with gcc3
|
Bug#:
142542
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: robbat2@gentoo.org
|
Reported By: cslycord@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: hwinfo-13.0 will never build with gcc3
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-08-02 07:43 0000
|
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
/me kicks upstream.
it would be nice if they documented things like that...
Created an attachment (id=93674) [details]
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
*** Bug 148241 has been marked as a duplicate of this bug. ***
This is especially important on hardened as gcc4 is not yet available on
hardened systems due to problems.