Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2003 13:48:14 -0400
From:      Mo <mo@qubix.ca>
To:        questions@FreeBSD.org
Subject:   GCC 3.3.1 + Pentium 4
Message-ID:  <3F119B5E.2040505@qubix.ca>

next in thread | raw e-mail | index | archive | help
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.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F119B5E.2040505>