From owner-freebsd-current@FreeBSD.ORG Thu Apr 14 15:31:45 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 89DA11065672; Thu, 14 Apr 2011 15:31:45 +0000 (UTC) Date: Thu, 14 Apr 2011 15:31:45 +0000 From: Alexander Best To: George Liaskos Message-ID: <20110414153145.GA68494@freebsd.org> References: <4DA6DF88.2040005@FreeBSD.org> <20110414132006.GA49440@freebsd.org> <4DA6FB0E.1000005@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Cc: kde@freebsd.org, freebsd-current@freebsd.org, Dimitry Andric Subject: Re: KDE related compile errors on CURRENT. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 15:31:45 -0000 On Thu Apr 14 11, George Liaskos wrote: > > It works fine here: > > > > $ gcc -### -march=native -S empty.c > > Using built-in specs. > > Target: i386-undermydesk-freebsd > > Configured with: FreeBSD/i386 system compiler > > Thread model: posix > > gcc version 4.2.2 20070831 prerelease [FreeBSD] > >  "/usr/libexec/cc1" "-quiet" "-D_LONGLONG" "empty.c" "-march=core2" > > "-mtune=generic" "-quiet" "-dumpbase" "empty.c" "-auxbase" "empty" "-o" > > "empty.s" > > It doesn't work for me on two different boxes > > 1. r220269: Sat Apr 2 19:15:49 EEST 2011, CPU: Intel(R) Core(TM)2 CPU > 6700 @ 2.66GHz (2666.82-MHz K8-class CPU) > cc -### -march=native -S foo.c > Using built-in specs. > Target: amd64-undermydesk-freebsd > Configured with: FreeBSD/amd64 system compiler > Thread model: posix > gcc version 4.2.2 20070831 prerelease [FreeBSD] > "/usr/libexec/cc1" "-quiet" "-D_LONGLONG" "foo.c" "-march=nocona" > "-mtune=generic" "-quiet" "-dumpbase" "foo.c" "-auxbase" "foo" "-o" > "foo.s" > > 2. r220528: Sun Apr 10 23:17:57 EEST 2011, CPU: Intel(R) Core(TM)2 > Quad CPU Q6600 @ 2.40GHz (2400.03-MHz K8-class CPU) > cc -### -march=native -S foo.c > Using built-in specs. > Target: amd64-undermydesk-freebsd > Configured with: FreeBSD/amd64 system compiler > Thread model: posix > gcc version 4.2.2 20070831 prerelease [FreeBSD] > "/usr/libexec/cc1" "-quiet" "-D_LONGLONG" "foo.c" "-march=nocona" > "-mtune=generic" "-quiet" "-dumpbase" "foo.c" "-auxbase" "foo" "-o" > "foo.s" > > Anyone else on amd64? could you give us the output of `ls -laT /usr/bin|grep gcc` and also can you send us the CU features which get reported? (dmesg -a) i think core2 only gets enabled with native, if sse3 was detected. maybe freebsd isn't properly detecting sse3 support for your cpu. i'll rebuild gcc later on and check whether i experience the same issue. cheers. alex > > Regards -- a13x