2012/5/30 Zhihao Yuan <[email protected]>: > OK... I see what happened: > > ~> cc a.c > ~> gcc46 a.c > In file included from a.c:1:0: > /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.3/4.6.3/include/pmmintrin.h:32:3: > error: #error "SSE3 instruction set not enabled" > ~> clang a.c > In file included from a.c:1: > /usr/local/bin/../lib/clang/3.1/include/pmmintrin.h:28:2: error: "SSE3 > instruction set not enabled" > #error "SSE3 instruction set not enabled" > ^ > 1 error generated. > ~> gcc46 -msse3 a.c > ~> clang -msse3 a.c > ~> > > So the chromium port does not define -msse3/-mssse3 explicitly, so it > does not work with gcc46/clang.
Isn't it /usr/share/mk/bsd.cpu.mk's job ? # make -V CPUTYPE core2 # make -V MACHINE_CPU ssse3 sse3 amd64 sse2 sse mmx I don't know if that's for the base system solely or if it works for ports too, but at least on this computer I can compile chromium 19.0.1084.52. Maybe you use CPUTYPE?=native, which is unsupported by bsd.cpu.mk. -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: [email protected] - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
