View previous topic :: View next topic |
Author |
Message |
rajl Apprentice
Joined: 25 Sep 2002 Posts: 287
|
Posted: Thu Feb 27, 2003 4:39 pm Post subject: New portage and gcc "break" my CFLAGS |
|
|
so I emerge the latest GCC and the latest portage and build them on my system. I updated from gcc3.2.2-r6 to gcc3.2.2 and portage up to whatever most recent is from whatever I had yesterday (they seem to change it multiple times a day). Portage then makes a new /etc file, /etc/._cfg0000_make.conf. In theory this is supposed to be a replacement for my current make.conf. I look through the new make.conf before deciding whether to replace my old one with it, and find the following in the CFLAGS section of /etc/._cfg0000_make.conf:
Code: |
# CPU types supported in gcc-3.2 and higher: athlon-xp, athlon-mp,
# athlon-tbird, athlon, k6, k6-2, k6-3, i386, i486, i586 (Pentium), i686
# (PentiumPro), pentium, pentium-mmx, pentiumpro, pentium2 (Celeron), pentium3.
# Note that Gentoo Linux 1.4 and higher include at least gcc-3.2.
# ATHLON-4 will generate invalid SSE instructions; use 'athlon' instead.
# PENTIUM4 will generate invalid instructions; use 'pentium3' instead.
|
Read the part about Pentium 4 again.
Howcome gcc 3.2.1 makes Pentium 4 code just fine, and didn't have the warning; but gcc 3.2.2 does? What changed between gcc 3.2.1 and gcc 3.2.2? Why was gcc 3.2.2 released into stable portage if if generates invalid instructions for Pentium 4 chips? I have a pentium 4 chip and want my pentium 4 optimizations. Is that too much to ask? I'm right now sitting tight on emerging anything else with the new gcc until after this issue gets sorted out. I appreciate any further enlightenment anyone can give me. _________________ -Rajl
-----------------------------------------------------------
It's easy to be brave once you consider the alternatives. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Feb 27, 2003 4:42 pm Post subject: |
|
|
Seems more of a gcc issue than portage. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
rajl Apprentice
Joined: 25 Sep 2002 Posts: 287
|
Posted: Thu Feb 27, 2003 5:27 pm Post subject: |
|
|
I didn't notice it until after I emerge portage...that's when the new make.conf file was installed. I agree that it's probably a gcc issue instead. I want to know what the status of it is though. _________________ -Rajl
-----------------------------------------------------------
It's easy to be brave once you consider the alternatives. |
|
Back to top |
|
|
FireFlash n00b
Joined: 20 Feb 2003 Posts: 8 Location: O0o [NL] o0O
|
Posted: Thu Feb 27, 2003 8:15 pm Post subject: |
|
|
Same problem here... KDE won't compile with Pentium 4 optimizations under GCC 3.2.2 .... bah |
|
Back to top |
|
|
Heretic Tux's lil' helper
Joined: 03 Jul 2002 Posts: 114 Location: Austin, TX USA
|
Posted: Thu Mar 20, 2003 9:58 am Post subject: Re: New portage and gcc "break" my CFLAGS |
|
|
rajl wrote: | I have a pentium 4 chip and want my pentium 4 optimizations. Is that too much to ask? |
I'm in the same situation. Check out https://forums.gentoo.org/viewtopic.php?t=39202&highlight=gcc+pentium4 You can check your system. It may be that GCC 3.2.x has this problem and that it was just noticed so they put it in the make.conf. If you haven't compiled python with the new GCC, try
Code: | python -c 'int(10000.3);' |
And see if it errors. If it does and you compiled it with 3.2.1 then it's not a new problem. GCC needs a patch apparently. |
|
Back to top |
|
|
|