Anonymous
-
2023-10-10
Post awaiting moderation.
===> Building for mathgl-2.5_4
[ 0% 2/118] /usr/bin/cc -DMGL_SRC -DMGL_STATIC_DEFINE -DNO_COLOR_ARRAY -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/include -I/wrkdirs/usr/ports/math/mathgl/work/.build/include -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/addons/getopt -I/usr/local/include -msse2 -mfpmath=sse -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -MD -MT addons/getopt/CMakeFiles/getopt-static.dir/getopt.c.o -MF addons/getopt/CMakeFiles/getopt-static.dir/getopt.c.o.d -o addons/getopt/CMakeFiles/getopt-static.dir/getopt.c.o -c /wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/addons/getopt/getopt.c
FAILED: addons/getopt/CMakeFiles/getopt-static.dir/getopt.c.o
/usr/bin/cc -DMGL_SRC -DMGL_STATIC_DEFINE -DNO_COLOR_ARRAY -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/include -I/wrkdirs/usr/ports/math/mathgl/work/.build/include -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/addons/getopt -I/usr/local/include -msse2 -mfpmath=sse -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -MD -MT addons/getopt/CMakeFiles/getopt-static.dir/getopt.c.o -MF addons/getopt/CMakeFiles/getopt-static.dir/getopt.c.o.d -o addons/getopt/CMakeFiles/getopt-static.dir/getopt.c.o -c /wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/addons/getopt/getopt.c
cc: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
error: unknown FP unit 'sse'
[ 1% 2/118] /usr/bin/c++ -DH5_BUILT_AS_DYNAMIC_LIB -DMGL_SRC -DNO_COLOR_ARRAY -Dmgl_EXPORTS -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/include -I/wrkdirs/usr/ports/math/mathgl/work/.build/include -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/addons/getopt -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/src/prc -isystem /usr/local/include -msse2 -mfpmath=sse -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -MD -MT src/CMakeFiles/mgl.dir/addon.cpp.o -MF src/CMakeFiles/mgl.dir/addon.cpp.o.d -o src/CMakeFiles/mgl.dir/addon.cpp.o -c /wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/src/addon.cpp
FAILED: src/CMakeFiles/mgl.dir/addon.cpp.o
/usr/bin/c++ -DH5_BUILT_AS_DYNAMIC_LIB -DMGL_SRC -DNO_COLOR_ARRAY -Dmgl_EXPORTS -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/include -I/wrkdirs/usr/ports/math/mathgl/work/.build/include -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/addons/getopt -I/wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/src/prc -isystem /usr/local/include -msse2 -mfpmath=sse -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -MD -MT src/CMakeFiles/mgl.dir/addon.cpp.o -MF src/CMakeFiles/mgl.dir/addon.cpp.o.d -o src/CMakeFiles/mgl.dir/addon.cpp.o -c /wrkdirs/usr/ports/math/mathgl/work/mathgl-2.5/src/addon.cpp
c++: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
error: unknown FP unit 'sse'
ninja: build stopped: subcommand failed.
CMakeLists.txt appears to test if sse is supported, but the build on armv7 still uses sse somehow and breaks.
Version: 2.5
clang-14
OS: FreeBSD 13.1
Anonymous