Date: Thu, 26 Mar 2015 05:45:59 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r280669 - projects/lua-bootloader/sys/boot/liblua Message-ID: <201503260545.t2Q5jx1c055295@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Thu Mar 26 05:45:59 2015 New Revision: 280669 URL: https://svnweb.freebsd.org/changeset/base/280669 Log: Lua is using floating point arithmetic, but we were trying to compile with -mno-sse on amd64. This posed a problem because the compiler was generating SSE anyway and it crashed later on. It should be ok to use SSE at this point, but this needs to be revisited. Modified: projects/lua-bootloader/sys/boot/liblua/Makefile Modified: projects/lua-bootloader/sys/boot/liblua/Makefile ============================================================================== --- projects/lua-bootloader/sys/boot/liblua/Makefile Thu Mar 26 05:45:21 2015 (r280668) +++ projects/lua-bootloader/sys/boot/liblua/Makefile Thu Mar 26 05:45:59 2015 (r280669) @@ -28,7 +28,7 @@ CFLAGS.gcc+= -mpreferred-stack-bounda .if ${MACHINE_CPUARCH} == "amd64" CFLAGS+= -mno-red-zone .endif -.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" +.if ${MACHINE_CPUARCH} == "i386" CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503260545.t2Q5jx1c055295>