Summary: | ICE: gcc-3.4.3: xorg-x11-6.8.1.904 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Hill <michael> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | CC: | eradicator |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 81597 | ||
Attachments: | Contents of /var/tmp/portage/xorg-x11-6.8.1.904/temp/ccnIuLUk.out |
Description
Michael Hill
2005-02-03 16:58:37 UTC
Can you reproduce this in the exact same place? Created attachment 50296 [details]
Contents of /var/tmp/portage/xorg-x11-6.8.1.904/temp/ccnIuLUk.out
Yes, I've run it three times and it fails each time in the same function, on the same line. I compared the output file from the last two runs and it is identical. I attached the file just now. Dang... saw a new patch tarball this morning, dated late last night, got excited... emerge failed again, same spot. :^/ I don't know if it will help, but someone on the forums got the exact same error message while emerging fontconfig: http://forums.gentoo.org/viewtopic-p-2084285.html#2084285 I'm going to assign this to our toolchain people, because it's hitting the same ICE on a different package in that forums thread. They can feel free to dup it of bug #20600. -O3 -funroll-loops??!! Yick. Please try 6.8.2 with CFLAGS="-O2 -march=i686 -pipe" then work your way up on the optimization scale if that worked. Also, please try gcc-3.4.3.20050110 I am currently trying with CFLAGS="-O2 -mcpu=athlon-xp". It's griping at every turn about -mcpu being deprecated, but I just want to see if it'll get it built. Looks similar to: http://bugs.gentoo.org/show_bug.cgi?id=79852 http://forums.gentoo.org/viewtopic-t-287350-highlight-trysplit.html Okay, it made it to the make install stage that time, so it apparently was the optimization settings. A couple questions: 1) What would you gurus recommend as an all-round good-performance, yet safe, set of optimization settings for compiling everything on a system? I plan to use -march=athlon-xp, but beyond that? 2) In xorg-x11 specifically, how can I keep it from consuming lots of disk space building and installing fonts I don't want? It built ISO8859-{1,2,3,4,9,10,13,14,15}. All I really want is the US/English characters. Thanks for your help. Personally, I use: -O2 -pipe -fomit-frame-pointer -march=athlon-xp Beyond that, you start getting into weird issues. -O3 is not very safe. -Os isn't very safe either. -funroll-loops is usually safe, but it can cause problems, and you're wasting memory, so it's not worth it to me. *** This bug has been marked as a duplicate of 20600 *** Okay, this is weird. This works: # CFLAGS="-O2 -mcpu=athlon-xp" emerge -u xorg-x11 This fails: # CFLAGS="-O2 -march=athlon-xp" emerge -u xorg-x11 As you can see, the only difference is -mcpu vs. -march, which I don't *think* should qualify as "overly aggressive optimizations". :^) Especially as gcc itself prints a message about -mcpu being deprecated every time it's called in the first command above. I'm guessing this is a gcc bug and out of the control of the Gentoo/portage teams, yes? If so, who should file a bug report? I might try emerging gcc-3.3.x and see if it works with -march , because this is the first time I've come across this problem. -march=athlon-xp sets things like mmx, sse, sse2, and 3dnow. mcpu just sets alignment. |