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
Description:   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

------- Comment #1 From Robin Johnson 2006-08-02 10:20:43 0000 -------
/me kicks upstream.
it would be nice if they documented things like that...

------- Comment #2 From Marcus Furlong 2006-08-07 09:30:56 0000 -------
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

------- Comment #3 From Jakub Moc (RETIRED) 2006-09-20 03:36:44 0000 -------
*** Bug 148241 has been marked as a duplicate of this bug. ***

------- Comment #4 From Casey Allen Shobe 2006-09-20 10:05:55 0000 -------
This is especially important on hardened as gcc4 is not yet available on
hardened systems due to problems.

------- Comment #5 From Robin Johnson 2006-09-29 15:40:30 0000 -------
fixed in cvs.