Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
1.4_beta guinea pig results...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Wed Aug 07, 2002 2:08 pm    Post subject: 1.4_beta guinea pig results... Reply with quote

I decided to be a guinea pig last night and give 1.4_beta a spin from stage 1... Got through the bootstrap, emerge system, kernel compilation just fine, got everything up and running. I don't know yet about the speed of the compiled code, but it seems like everything is compiling noticably faster (in hindsight I wish I had timed things to get some hard numbers).

But then I tried to emerge KDE and it died compiling xfree - here's the error:
Code:
gcc -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fno-merge-constants -ansi -pedantic -pipe    -I.        -I../include    -I../../../../../../exports/include/X11         -I../../../include      -I../../../../../../programs/Xserver/include  -I../../../../../.. -I../../../../../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
-DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module    -c miPck1Prim.c
miPck1Prim.c: In function `CheckFAreaPick1':
miPck1Prim.c:405: unable to find a register to spill in class `FLOAT_REGS'
miPck1Prim.c:405: this is the insn:
(insn 299 297 302 (set (subreg:SF (reg/v:DI 29 rmm0 [64]) 0)
        (float:SF (reg:HI 5 di [157]))) 167 {floathisf2} (nil)
    (nil))
miPck1Prim.c:405: confused by earlier errors, bailing out
make[5]: *** [miPck1Prim.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/programs/Xserver/PEX5/ddpex/mi/level1'
make[4]: *** [ddpex/mi/level1] Error 2
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/programs/Xserver/PEX5'
make[3]: *** [PEX5] Error 2
make[3]: *** [PEX5] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/programs/Xserver'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc'
make: *** [install] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 9, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild .
poecilotheria distfiles # cd /usr/portage
poecilotheria portage # cat /root/error.txt
gcc -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fno-merge-constants -ansi -pedantic -pipe    -I.        -I../include    -I../../../../../../exports/include/X11         -I../../../include      -I../../../../../../programs/Xserver/include  -I../../../../../.. -I../../../../../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
-DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module    -c miPck1Prim.c
miPck1Prim.c: In function `CheckFAreaPick1':
miPck1Prim.c:405: unable to find a register to spill in class `FLOAT_REGS'
miPck1Prim.c:405: this is the insn:
(insn 299 297 302 (set (subreg:SF (reg/v:DI 29 rmm0 [64]) 0)
        (float:SF (reg:HI 5 di [157]))) 167 {floathisf2} (nil)
    (nil))
miPck1Prim.c:405: confused by earlier errors, bailing out
make[5]: *** [miPck1Prim.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/programs/Xserver/PEX5/ddpex/mi/level1'
make[4]: *** [ddpex/mi/level1] Error 2
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/programs/Xserver/PEX5'
make[3]: *** [PEX5] Error 2
make[3]: *** [PEX5] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/programs/Xserver'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc'
make: *** [install] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 9, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild .
poecilotheria portage #

My CCFLAGS="-march=athlon-tbird -pipe -O3 -fomit-frame-pointer".

I'm going to try turning those down a bit to see if I can get it to go, but from the error, it looks to me like an internal GCC crap-out somewheres in the register allocator...? In other words, I think it's just a bug in gcc-3.2_pre somewhere and not one in Gentoo specifically.

Also, a couple other notes - is the difference in the tarball name (stage1-x86 for 1.4_beta vs. stage1-ix86 for previous versions) an actual change in naming convention, or just what somebody happened to type? Also, looks like verwilst left his home directory in the tarball again. Didn't leave any pr0n though. :D

Update: Just tried it without -fomit-frame-pointer, died in the exact same spot, starting it with just -O2 next...
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Wed Aug 07, 2002 2:34 pm    Post subject: Reply with quote

known gcc3 bug.
I saw it on the gcc mailing lists, dont remember where exactly :(
_________________
mat
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Wed Aug 07, 2002 4:11 pm    Post subject: Reply with quote

I had the same error when building X with GCC3.2. I got it to build by adding -mno-mmx -mno-3dnow, and also removing 3dnow from my use variables. Try just removing it from the use variables, as I'm not sure it needs -mno-mmx -mno-3dnow, since when I took 3dnow out of my use variables it compiled and installed fine. I'm going to try rebuilding X without -mno-mmx -mno-3dnow, and just removing it from my use variables and see how that works.
Back to top
View user's profile Send private message
jimmybfan
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 100
Location: P-town

PostPosted: Wed Aug 07, 2002 4:32 pm    Post subject: Reply with quote

everything compiled fine for me, no errors using

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fomit-frame-pointer"
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Wed Aug 07, 2002 4:57 pm    Post subject: Reply with quote

Heh, I actually searched the gcc mailing list archive, but somehow failed to find this problem report on the first try. Not to mention this one or this one. I'm going to try just "-mno-mmx" since the bug report seems to link it to mmx... I'll let everybody know how it goes.

Last edited by phong on Wed Aug 07, 2002 5:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Russki
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2002
Posts: 119
Location: Prague, Czech Republic

PostPosted: Wed Aug 07, 2002 5:06 pm    Post subject: Reply with quote

Hi, I've compiled my system from stage1 without any errors at all!
I/ve used thise flags:
"-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args"
The only error I had was mozilla 1.1b, but ithat's something else.
_________________
Facts are stupid things.
-Ronald Reagan
[img]http://www.danasoft.com/vipersig.jpg[/img]
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Wed Aug 07, 2002 5:17 pm    Post subject: Reply with quote

Call me crazy, but I'm seeing a bit of a pattern. Seems like it's not working with tbirds, but is with athlon XPs. I know Neeyo's got an XP and it built fine for him as well. Is anyone else with a TBird seeing the same thing?

*edit, BTW I have a tbird too
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Wed Aug 07, 2002 5:30 pm    Post subject: Reply with quote

You're probably crazy, but so am I and we see the same pattern which makes it OK. Also, i've noticed a few posts from athlon-xp people who've sucessfully compiled their whole system with gcc 3.1.1 or 3.2_pre with -funroll-loops and/or -maccumulate-outgoing-args at least one of which was a show-stopper for me (with 3.1.1 at least). Everything would be fine until it tried to compile kde at which point gcc would seg fault, but recompiling gcc without those two options fixed the problem. I didn't determine which of the two was at fault, but since there may be an athlon-xp pattern with that as well as this bug, methinks something in the athlon-xp specific scheduler/optimizations makes it immune to these bugs and the rest of us saps have to wait until they get fixed. :D That's what I get for not updating to the latest and greatest!
Back to top
View user's profile Send private message
Ard Righ
Guru
Guru


Joined: 24 Jun 2002
Posts: 337
Location: Wellington, NZ

PostPosted: Wed Aug 07, 2002 7:12 pm    Post subject: Reply with quote

I was going through installing 1.4 from stage1-x86 and it got through ok up until the point where it was doing raidtools, and came up with an error on parser.o being truncated or something stupid.

Now, I am not sure why it wants to install raidtools, I don't have/use raid. So I was pissed because now I have to start again from scratch ;p

I am gonna try using 3.2 the safe way... compile system with 3.1.1 then merge 3.2_pre and see how that goes :)
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Wed Aug 07, 2002 8:23 pm    Post subject: Reply with quote

After trying all the combinations, I got it to compile! You need to specify BOTH -mno-mmx -mno-3dnow when compiling xfree. The USE variable for 3dnow has no effect (which makes sense, because it's an internal compiler error and gcc doesn't care about USE variables). I tried with just one or the other, turning off both was the only way to get it to work. I'm going to take those back out and see if I can get emerge KDE to complete.

For reference, the exact CFLAGS for getting it to work were:
CFLAGS="-march=athlon-tbird -O3 -pipe -mno-mmx -mno-3dnow -fomit-frame-pointer"

This seems like a pretty serious bug, so I'm keeping my fingers crossed that it will be fixed in 3.2 final?!
Back to top
View user's profile Send private message
therobot
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 256
Location: Canada

PostPosted: Wed Aug 07, 2002 9:29 pm    Post subject: Reply with quote

I installed X no problem with athlon-xp -pipe -03 -fomit-frame-pointer
Back to top
View user's profile Send private message
silvercat
n00b
n00b


Joined: 07 Aug 2002
Posts: 54
Location: Canada

PostPosted: Thu Aug 08, 2002 1:30 am    Post subject: Reply with quote

hi...

I was trying to emerge kde on an Athlon 1700+ system.. what happened was... when compiling kdelibs... it seemed as though the computer froze... i could ping the machine... but i couldn't ssh to it remotely... and the screen went black... and i couldn't get it to display ne thing... so when i typed "emerge kde" again... after restarting the system... it compiled kdelibs... i had the same problem with kdebase... the compile failed the first time... but got past that point the second time..

I'm just wondering if this non-repeatable compile error could be the result of a bug in gcc 3.2 pre ?... or i'm wondering if it could be an unstable motherboard/system... it's not being overclocked... and i think it's being cooled properly... although i could take the case cover off...

My compiler flags are..
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"

O and by the way... this is on a 1.4 beta gentoo system... the bootstrap and emerge system were successfull... and there were no problems emerging XFree..
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Thu Aug 08, 2002 1:38 am    Post subject: Reply with quote

Looks like I'm finally emerging X with the right set of CFLAGS now, then. What a pain (X takes like 3 times as long to compile w/ gcc3, it seems, or at least it did at 6 this morning...).

My question is: is there a way to modify the ebuild so that just that directory gets compiled with -mno-3dnow -mno-mmx? I recall there being a problem with 3dnow in another directory (or maybe it was this same one) and the ebuild maker modified it so that that directory was fixed without having to specifically change your cflags for the whole compile. I don't know what, if any, benefit there is to using mmx and 3dnow instructions in X in general, but it seems a shame to kill those benefits for the whole program when it's just one directory that has a problem.

Anyone know the answer (I looked at the ebuild briefly, but nothing jumped out at me)? It'd be much appreciated.
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Thu Aug 08, 2002 2:01 pm    Post subject: Reply with quote

BAH, now it's seg faulting a couple hours into building KDE. I hope 3.2 final is a bit more stable. :? Methinks I'm going to try to build a nice stable system and do "experiments" on a spare partition. ;)
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Thu Aug 08, 2002 4:10 pm    Post subject: Reply with quote

phong wrote:
After trying all the combinations, I got it to compile! You need to specify BOTH -mno-mmx -mno-3dnow when compiling xfree. The USE variable for 3dnow has no effect (which makes sense, because it's an internal compiler error and gcc doesn't care about USE variables). I tried with just one or the other, turning off both was the only way to get it to work. I'm going to take those back out and see if I can get emerge KDE to complete.


hmm, I tried all sorts of combinations of cflags, even the ones you built it successfully with, and it wouldn't build until I took it out of the use variables. It had actually already failed once with the same set of cflags when I got it to build succesfully, only difference was 3dnow was taken out of the use variables. I don't claim to know why it worked, just that's how I got it to work for me.

Everything seems to be pretty stable for me now, I wonder if that has to do with the fact that I bootstrapped with just -march=i686 -O3 -pipe. Then I added my cflags and changed it to -march-athlon-tbird. Everything, even WineX and my games, seems to be working just fine.
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Thu Aug 08, 2002 4:32 pm    Post subject: Reply with quote

Quote:
gcc -c -ansi -pedantic -pipe -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DHAS_SNPRINTF -DLIBX11 -march=i686 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2 -malign-double -frerun-loop-opt -frerun-cse-after-loop -fno-merge-constants PolyReg.c -o unshared/PolyReg.o
{standard input}: Assembler messages:
{standard input}:711: Error: suffix or operands invalid for `movd'
make[3]: *** [PolyReg.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/X11'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc'
make: *** [install] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 9, Exitcode 2
!!! (no error message)

!!! emerge aborting on /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild .
localhost root #



same problem here except that I am using a p4 with :
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx msse2 -funroll-loops -malign-double -frerun-loop-opt -frerun-cse-after-loop"

CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -mmmx -msse2 -mfpmath=sse -frerun-loop-opt -frerun-cse-after-loop -funroll-loops -malign-double"

so wheres the pattern ?
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Thu Aug 08, 2002 5:24 pm    Post subject: Reply with quote

That's a different error your getting from the 2 of us with tbirds. With us it's failing in the PEX5 directory.
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Thu Aug 08, 2002 11:39 pm    Post subject: Reply with quote

IWBCMAN wrote:
same problem here except that I am using a p4 with :
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx msse2 -funroll-loops -malign-double -frerun-loop-opt -frerun-cse-after-loop"

CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -mmmx -msse2 -mfpmath=sse -frerun-loop-opt -frerun-cse-after-loop -funroll-loops -malign-double"

Well, -malign-double definately caused trouble for me with 3.1.1 in several places. Also, the "spill registers" bug according to the gcc bug tracker thing supposedly affects all mmx capable CPUS with the exception of pentum-mmx. From this forum it seems that athlon-xps at least are immunte too. Your problem doesn't appear to be the same one though...
Back to top
View user's profile Send private message
Vanquirius
Retired Dev
Retired Dev


Joined: 14 Jun 2002
Posts: 1297
Location: Ethereal plains

PostPosted: Fri Aug 09, 2002 2:36 am    Post subject: Reply with quote

I'm having problems emerging X as well.
I have a pentium3 700mhz, and compile failed with flags -O3 -pipe -fomit-frame-pointer funroll-loops -mmmx -m3dnow. I'm giving it a second shot now without funroll-loops, mmmx and m3now.
The system built fine with those flags with GCC3.1.
Anybody has any suggestions that could save me some time?

Details:
p3 700mhz, 128ram+1Gb swap, using ext3fs, built from 1.4beta stage1 tarball.
_________________
Hello.
Back to top
View user's profile Send private message
Vanquirius
Retired Dev
Retired Dev


Joined: 14 Jun 2002
Posts: 1297
Location: Ethereal plains

PostPosted: Fri Aug 09, 2002 3:53 am    Post subject: Reply with quote

In case you're wondering, my second attempt to emerge xfree worked...
_________________
Hello.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Fri Aug 09, 2002 8:32 am    Post subject: Reply with quote

From the ChangeLog for xfree looks like a patch was added fixing this yesterday:
Quote:
8 aug 2002; Bart Verwilst <verwilst@gentoo.org> :

Fixed gcc 3.x based compilation error (with -mmmx)

_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
CoronaLover
Retired Dev
Retired Dev


Joined: 20 Jun 2002
Posts: 163
Location: Rosh-ha'ayin, Israel

PostPosted: Fri Aug 09, 2002 9:11 am    Post subject: Reply with quote

ManuChao wrote:
I'm having problems emerging X as well.
I have a pentium3 700mhz, and compile failed with flags -O3 -pipe -fomit-frame-pointer funroll-loops -mmmx -m3dnow. I'm giving it a second shot now without funroll-loops, mmmx and m3now.
The system built fine with those flags with GCC3.1.
Anybody has any suggestions that could save me some time?

Details:
p3 700mhz, 128ram+1Gb swap, using ext3fs, built from 1.4beta stage1 tarball.


*shrug* I am sorry to tell you but you should remove -m3dnow
3dnow is an AMD only option and no Intel cpu supports it.
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Fri Aug 09, 2002 4:11 pm    Post subject: Reply with quote

Hey phong, could you try re-building Xfree with -mno-mmx -m3dnow. I was playing around with some different Cflags and finally got it to build with 3dnow. Just curious if this'll work for you, since your the only other person I know of running gentoo with GCC 3.2 on an old school T-Bird.

these are my normal cflags, I just replaced -mmmx with -mno-mmx and it actually built.

-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -ffast-math -frerun-cse-after-loop -frerun-loop-opt -funroll-all-loops -falign-functions=4 -fno-exceptions -fexpensive-optimizations -mmmx -m3dnow
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Fri Aug 09, 2002 5:03 pm    Post subject: Reply with quote

paulisdead wrote:
Hey phong, could you try re-building Xfree with -mno-mmx -m3dnow.

Well, I've gone back to 3.1.1, since I couldn't ever get though all of building KDE without gcc 3.2_pre seg faulting. Of course, now I'm having trouble even bootstrapping that (I have no idea what I'm doing differently than I did before). I've got another set of partitions set up for doing experiments on, so I'll try what you suggest, however I believe I tried "-march=athlon-tbird -O3 -mno-mmx -fomit-frame-pointer." "-m3dnow" I believe is turned on by default with -march=athlon-tbird, but perhaps that isn't accurate.

Quote:
-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -ffast-math -frerun-cse-after-loop -frerun-loop-opt -funroll-all-loops -falign-functions=4 -fno-exceptions -fexpensive-optimizations -mmmx -m3dnow

I've heard of tons of trouble caused by -ffast-math and -funroll-all-loops (not during compile, but later on down the line getting inaccurate or unstable results), and all the other -f options you have except for -fomit-frame-pointer I believe are turned on by -O3 (just to save you some typing).

Once I finally get things up and working I may start running some benchmarks and make a guide to gcc optimization parameters.
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Sat Aug 10, 2002 5:56 am    Post subject: Reply with quote

This was my first experiment with fast math, and it's actually working pretty well. Only thing it broke was the gimp, text was all messed up and, and erasing smudged instead of erasing. I'll have to look into if all the other flags are in -O3. I did all this on my second hard drive, so it wouldn't have been too big of a deal if it didn't work, but everything seems to be pretty solid. I might try to compile KDE, just to see if I get a segfault, but Gnome's working flawlessly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum