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

Bug 7392

Summary: QT-305-r2 does not compile with gcc3.2 if march=pentium3
Product: Gentoo Linux Reporter: Thorsten Ebers <tebers>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: critical CC: azarah, bzdurqa
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thorsten Ebers 2002-09-02 17:37:14 UTC
if you compile xfree with thi soptions qt fails to emereg because in xfree the 
libglue lib is notreferneced well.
workaround was using march=i686

thorsten
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-02 19:44:36 UTC
Another bug to add to the arch specific optimizations in QT :(  Btw, I want
to remember that it worked fine for -march=pentium4 (for once at least).
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-02 20:00:47 UTC
Bah, make that "Another bug to add to the arch specific optimizations in GCC"
Comment 3 Thorsten Ebers 2002-09-03 00:05:26 UTC
well, actually qt fails becasue xfree is not compiled well. I have seen anothe 
r bug like this in this database.  . By now i dont know the number but i 
searched it with "gcc" or "xfree". So it with xfree. Once xfree is doing well i 
think qt will compile fine with march=pentium3
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-09-03 05:13:47 UTC
get the same problems as #6229? 
Comment 5 Artur Brodowski 2002-09-04 04:25:57 UTC
squish that bug ;)
i recently upgraded my gentoo from 'constantly updated 1.0rc6 with gcc 2.95.3'
to 'constantly updated 1.0rc6 with gcc 3.2'. i had to remerge a lot of stuff,
including qt and i did not encounter dercribed problem (i also use 
march=pentium3 flag).
i think you are right, you probably need to rebuild xfree first (i did that
before i recompiled qt).
if you are upgrading gcc on your box (apparently), you migt want to check
Spider's hints: 
http://www.gentoo.org/~spider/ and bug #6553 - it worked for me.
Comment 6 Thorsten Ebers 2002-09-04 08:58:58 UTC
well actuallay I have compiled xfree several times first with gcc3.a 
macr=pentium3 and the emerge went fine, but this is it not.
there is some wierd things happening. because qt then finds unresoved 
references to libglue . and fails to compile. I worked around this now by 
using "emerge -e kde" and having march=i686. works now and kde is well working 
now. Maybe i can get some better moree percentage pints in performance with 
pentium3 , but i think i I would not ffeel the difference. anyway...

So the side-effect is qt fails, because xfree is pretending to be emerged well 
with march=pentium3 but it is not (imho). I think I have read somethink like 
that in the bugs..
So i would not said its resolved. If xfree is resolved ...
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-04 16:21:49 UTC
You are free to post a bug at the gcc devs, as this is prob what it is (like
a few other hassles, includeing a few others with xfree).  If they however get
to it with in 2 months (the time one of my bugs is still untouched by them),
congratulations.