View previous topic :: View next topic |
Author |
Message |
no2bl n00b
Joined: 26 Oct 2002 Posts: 10
|
Posted: Thu Mar 06, 2003 8:33 am Post subject: CFLAG="-march=pentium4" still no good on 1.4 ? |
|
|
Code: |
# 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.
|
I found the above in the /etc/make.conf file. Is it is true that the "pentium4" is no good, or it is just an old note in there? I use "pentium4" to re-merge mplayer and it seem to run OK.
Any idea if "pentium4" is safe to recompile the whole system?
.no2bl. |
|
Back to top |
|
|
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Thu Mar 06, 2003 1:23 pm Post subject: |
|
|
I use the pentium 4 option and have had no problems on my laptop.
--sonik _________________ "What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud |
|
Back to top |
|
|
Exci Apprentice
Joined: 12 Jul 2002 Posts: 265 Location: The Netherlands, Zoetermeer
|
Posted: Thu Mar 06, 2003 1:41 pm Post subject: |
|
|
Code: |
#Bug #16867, -march=pentium4 does not work, we'll replace it with -march=pentiu$
replace-flags "-march=pentium4" "-march=pentium3"
|
is implemented in some of the ebuilds, I don't know if they're implemented in all of the ebuilds, this was taken from gcc-3.2.2-r4.ebuild |
|
Back to top |
|
|
Zadeh Tux's lil' helper
Joined: 31 Oct 2002 Posts: 131
|
Posted: Thu Mar 06, 2003 11:09 pm Post subject: |
|
|
The problem is with SSE2 insns for some sw, which get generated with -march=pentium4. That some of the ebuilds replace it with -march=pentium3 is unnecessary. It's the implied -msse2 thats breaking things, so -mcpu=pentium4 should be fine.
So, buttom line: The comments in make.conf are wrong. Ignore them. Change to -mcpu=pentium4 if you have a p4. |
|
Back to top |
|
|
|