On 2016/08/08 08:14, Pascal Stumpf wrote: > CVSROOT: /cvs > Module name: ports > Changes by: pas...@cvs.openbsd.org 2016/08/08 08:14:01 > > Modified files: > graphics/openimageio: Makefile distinfo > graphics/openimageio/patches: patch-src_libutil_sysutil_cpp > graphics/openimageio/pkg: PLIST > > Log message: > Update to OpenImageIO 1.6.16. >
Fails on i386. The cheap fix would be -march=i686, I don't imagine blender/openimageio are going to widely used on pre-686-class machines.. FAILED: src/libutil/atomic_test : && /usr/obj/ports/openimageio-1.6.16/bin/c++ -O2 -pipe -pthread -DNDEBUG src/libutil/CMakeFiles/atomic_test.dir/atomic_test.cpp.o -o src/libutil/atomic_test -L/usr/obj/ports/openimageio-1.6.16/build-i386/src/libutil -lOpenImageIO_Util -lboost_filesystem-mt -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lboost_chrono-mt -lboost_date_time-mt -lboost_atomic-mt -lImath -lIex -lHalf -lIlmThread -lpthread -Wl,-rpath,/usr/obj/ports/openimageio-1.6.16/build-i386/src/libutil -Wl,-rpath-link,/usr/X11R6/lib && : /usr/obj/ports/openimageio-1.6.16/build-i386/src/libutil/libOpenImageIO_Util.so.1.0: warning: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd6.0/4.9.3/../../../libboost_regex-mt.so.6.0: warning: warning: wcscpy() is almost always misused, please use wcslcpy() /usr/local/lib/gcc/i386-unknown-openbsd6.0/4.9.3/../../../libboost_regex-mt.so.6.0: warning: warning: sprintf() is often misused, please use snprintf() /usr/obj/ports/openimageio-1.6.16/build-i386/src/libutil/libOpenImageIO_Util.so.1.0: warning: warning: strcpy() is almost always misused, please use strlcpy() src/libutil/CMakeFiles/atomic_test.dir/atomic_test.cpp.o: In function `_ZL13do_int64_mathi': atomic_test.cpp:(.text+0x70b): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x717): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x726): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x732): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x741): undefined reference to `__atomic_fetch_add_8' src/libutil/CMakeFiles/atomic_test.dir/atomic_test.cpp.o:atomic_test.cpp:(.text+0x74d): more undefined references to `__atomic_fetch_add_8' follow src/libutil/CMakeFiles/atomic_test.dir/atomic_test.cpp.o: In function `test_atomic_int64(int, int)': atomic_test.cpp:(.text+0x1310): undefined reference to `__atomic_exchange_8' atomic_test.cpp:(.text+0x138d): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x13a6): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x148f): undefined reference to `__atomic_exchange_8' atomic_test.cpp:(.text+0x149b): undefined reference to `__atomic_fetch_and_8' atomic_test.cpp:(.text+0x14aa): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x14c4): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x15ad): undefined reference to `__atomic_fetch_or_8' atomic_test.cpp:(.text+0x15b9): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x15d3): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x16bc): undefined reference to `__atomic_fetch_xor_8' atomic_test.cpp:(.text+0x16c8): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x16e2): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x17cb): undefined reference to `__atomic_exchange_8' atomic_test.cpp:(.text+0x17d7): undefined reference to `__atomic_fetch_and_8' atomic_test.cpp:(.text+0x18cf): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x18e9): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x19d1): undefined reference to `__atomic_fetch_or_8' atomic_test.cpp:(.text+0x1ac9): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x1ae3): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x1bcb): undefined reference to `__atomic_fetch_xor_8' atomic_test.cpp:(.text+0x1cc3): undefined reference to `__atomic_fetch_add_8' atomic_test.cpp:(.text+0x1cdd): undefined reference to `__atomic_fetch_add_8' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.