Date: Thu, 14 Apr 2011 15:31:45 +0000 From: Alexander Best <arundel@freebsd.org> To: George Liaskos <geo.liaskos@gmail.com> Cc: kde@freebsd.org, freebsd-current@freebsd.org, Dimitry Andric <dim@freebsd.org> Subject: Re: KDE related compile errors on CURRENT. Message-ID: <20110414153145.GA68494@freebsd.org> In-Reply-To: <BANLkTim8HNSuSEXoMeekeczPvSLUAb5o6g@mail.gmail.com> References: <BANLkTik6uMoZre3xJzsy2HZsUrznD4CdkQ@mail.gmail.com> <4DA6DF88.2040005@FreeBSD.org> <BANLkTimRAnz5Vn-WZ2ffXu6pCF6pi1nkDw@mail.gmail.com> <20110414132006.GA49440@freebsd.org> <4DA6FB0E.1000005@FreeBSD.org> <BANLkTim8HNSuSEXoMeekeczPvSLUAb5o6g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110414153145.GA68494>