GCC 3.3.1 + Pentium 4
Mo
mo at qubix.ca
Sun Jul 13 10:48:25 PDT 2003
I recently cvsupped my -CURRENT box (about a day ago), and I noticed
that GCC 3.3.1 had been imported, so I decided to buildworld so I can
use Pentium 4 optimizations when compiling ports and other things. I
have p4 set for CPUTYPE in /etc/make.conf , but when I compile anything,
it uses -march=pentium3. I know this was changed because GCC 3.2.2 used
to produce broken code when pentium4 optimizations were set, but now
that GCC 3.3.1 is imported, shouldn't this be resolved?
http://www.freebsd.org/releases/5.1R/relnotes-i386.html#CONTRIB (under GCC):
*"GCC* has been updated to 3.2.2 (release version).
*Note:* *GCC* is known to produce broken code with the
-march=pentium4 option set. As a workaround to avoid this problem,
setting the CPUTYPE=p4 Makefile variable (for example, in
make.conf(5)
<http://www.FreeBSD.org/cgi/man.cgi?query=make.conf&sektion=5&manpath=FreeBSD+5.1-release>)
enables GCC's -march=pentium3 option instead. This situation is
expected to be resolved when GCC 3.3 is imported."
If anyone knows how to make it use Pentium 4 optimizations, please let
me know. By the way, if this is a mailing list, I am not subscribed, so
please CC all replies to my e-mail address.
Thank you, I appreciate it.
More information about the freebsd-questions
mailing list