svn commit: r280669 - projects/lua-bootloader/sys/boot/liblua

Rui Paulo rpaulo at FreeBSD.org
Thu Mar 26 05:46:00 UTC 2015


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
 


More information about the svn-src-projects mailing list