From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 10:48:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E631037B401 for ; Sun, 13 Jul 2003 10:48:24 -0700 (PDT) Received: from qubix.ca (d57-117-31.home.cgocable.net [24.57.117.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 057E143F3F for ; Sun, 13 Jul 2003 10:48:24 -0700 (PDT) (envelope-from mo@qubix.ca) Received: by qubix.ca (Postfix, from userid 1010) id B04A84509C; Sun, 13 Jul 2003 13:48:21 -0400 (EDT) Received: from qubix.ca (lan [192.168.1.1]) by qubix.ca (Postfix) with ESMTP id 0B96745062 for ; Sun, 13 Jul 2003 13:48:19 -0400 (EDT) Message-ID: <3F119B5E.2040505@qubix.ca> Date: Sun, 13 Jul 2003 13:48:14 -0400 From: Mo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030708 Thunderbird/0.1a X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-0.1 required=5.0 tests=USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: GCC 3.3.1 + Pentium 4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 17:48:25 -0000 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) ) 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.