clang-linux.compile.c++.without-pch bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/token_ids.o c++: warning: optimization flag '-finline-functions' is not supported clang-linux.compile.c++.without-pch bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/wave_config_constant.o c++: warning: optimization flag '-finline-functions' is not supported common.mkdir bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/cpplexer common.mkdir bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/cpplexer/re2clex clang-linux.compile.c++.without-pch bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/cpplexer/re2clex/aq.o c++: warning: optimization flag '-finline-functions' is not supported clang-linux.compile.c++.without-pch bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/cpplexer/re2clex/cpp_re.o clang-linux.archive bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/libboost_wave.a common.copy stage/lib/libboost_wave.a ...failed updating 6 targets... ...skipped 11 targets... ...updated 880 targets... *** Error code 1 Stop. make: stopped in /usr/ports/devel/boost-libs
Boost 1.62 also fails but bug 212343 may help. "c++" -x assembler-with-cpp -pipe -DLIBICONV_PLUG -fno-strict-aliasing -O3 -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/clang-linux-3.8.0/release/pch-off/threading-multi/asm/make_arm64_aapcs_elf_gas.o" "libs/context/src/asm/make_arm64_aapcs_elf_gas.S" libs/context/src/asm/make_arm64_aapcs_elf_gas.S:40:1: error: unknown directive .cpu generic+fp+simd ^ https://github.com/boostorg/context/blob/develop/src/asm/make_arm64_aapcs_elf_gas.S
(In reply to Glen Barber from comment #0) > clang-linux.compile.c++.without-pch > bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/ > token_ids.o > c++: warning: optimization flag '-finline-functions' is not supported > clang-linux.compile.c++.without-pch > bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/ > wave_config_constant.o > c++: warning: optimization flag '-finline-functions' is not supported > common.mkdir > bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/ > cpplexer > common.mkdir > bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/ > cpplexer/re2clex > clang-linux.compile.c++.without-pch > bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/ > cpplexer/re2clex/aq.o > c++: warning: optimization flag '-finline-functions' is not supported > clang-linux.compile.c++.without-pch > bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/ > cpplexer/re2clex/cpp_re.o > clang-linux.archive > bin.v2/libs/wave/build/clang-linux-3.8.0/release/link-static/threading-multi/ > libboost_wave.a > common.copy stage/lib/libboost_wave.a > ...failed updating 6 targets... > ...skipped 11 targets... > ...updated 880 targets... > *** Error code 1 > > Stop. > make: stopped in /usr/ports/devel/boost-libs The first thing shown in the logs is: clang-linux.compile.c++.without-pch bin.v2/libs/context/build/clang-linux-3.8.0/release/threading-multi/unsupported.o c++: warning: optimization flag '-finline-functions' is not supported libs/context/src/unsupported.cpp:7:2: error: "platform not supported" #error "platform not supported" ^ 1 error generated. So this seems to simply be an unsupported configuration out of the box? Upstream will probably be able to say whether this is going to be supported.
(In reply to Jan Beich (mail not working) from comment #1) > Boost 1.62 also fails but bug 212343 may help. > > "c++" -x assembler-with-cpp -pipe -DLIBICONV_PLUG -fno-strict-aliasing > -O3 -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 > -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS > -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED > -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 > -DNDEBUG -I"." -c -o > "bin.v2/libs/context/build/clang-linux-3.8.0/release/pch-off/threading-multi/ > asm/make_arm64_aapcs_elf_gas.o" > "libs/context/src/asm/make_arm64_aapcs_elf_gas.S" > > libs/context/src/asm/make_arm64_aapcs_elf_gas.S:40:1: error: unknown > directive > .cpu generic+fp+simd > ^ > > https://github.com/boostorg/context/blob/develop/src/asm/ > make_arm64_aapcs_elf_gas.S I can confirm that clang 3.9.0 assembles this file, at least with a rudimentary command line: clang-3.9.0 -target aarch64-freebsd -c make_arm64_aapcs_elf_gas.S
It needs the FreeBSD/arm64 bits added, however I've been waiting for boost to first be updated to a version that supports arm64.
This seems to build with the update to boost.
(In reply to Andrew Turner from comment #5) > This seems to build with the update to boost. thunderx1 disagrees, boost-libs still fails to build on aarch64.
For convenience, from the log: clang-linux.compile.asm bin.v2/libs/context/build/clang-linux-3.8.0/release/link-static/pch-off/threading-multi/asm/make_arm64_aapcs_elf_gas.o "c++" -x assembler-with-cpp -pipe -DLIBICONV_PLUG -fno-strict-aliasing -O3 -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/clang-linux-3.8.0/release/link-static/pch-off/threading-multi/asm/make_arm64_aapcs_elf_gas.o" "libs/context/src/asm/make_arm64_aapcs_elf_gas.S" libs/context/src/asm/make_arm64_aapcs_elf_gas.S:40:1: error: unknown directive .cpu generic+fp+simd ^ ...failed clang-linux.compile.asm bin.v2/libs/context/build/clang-linux-3.8.0/release/link-static/pch-off/threading-multi/asm/make_arm64_aapcs_elf_gas.o...
A commit references this bug: Author: jbeich Date: Sun Jan 1 10:50:48 UTC 2017 New revision: 430247 URL: https://svnweb.freebsd.org/changeset/ports/430247 Log: devel/boost-libs: unblock aarch64 and sparc64 builds - aarch64 requires Clang with new enough integrated assembler - sparc64 is no longer supported since we don't split context library into a separate package (unlike Debian) PR: 213867 214942 MFH: 2016Q4 Changes: head/devel/boost-libs/Makefile
A commit references this bug: Author: jbeich Date: Sun Jan 1 11:45:29 UTC 2017 New revision: 430248 URL: https://svnweb.freebsd.org/changeset/ports/430248 Log: devel/boost-libs: oops, work around ${CC} usage after r430247 $ make -V '${MAKE_ARGS:M--toolset*}' /bin/sh: clang39: not found make: "/usr/ports/Mk/Uses/compiler.mk" line 69: warning: "clang39 --version" returned non-zero status make: "/usr/ports/Mk/Uses/compiler.mk" line 120: warning: "clang++39 -### /dev/null 2>&1" returned non-zero status --toolset=gcc PR: 213867 MFH: 2016Q4 (r430247 followup) Changes: head/devel/boost-libs/Makefile
A commit references this bug: Author: jbeich Date: Sun Jan 1 13:47:20 UTC 2017 New revision: 430253 URL: https://svnweb.freebsd.org/changeset/ports/430253 Log: devel/boost-libs: -no-integrated-as builds faster aarch64 doesn't have /usr/bin/as, so it's fine to use PATH PR: 213867 Changes: head/devel/boost-libs/Makefile
http://thunderx1.nyi.freebsd.org/data/110arm64-quarterly/430428/logs/boost-libs-1.62.0_1.log http://thunderx1.nyi.freebsd.org/data/110arm64-quarterly/430428/logs/boost-python-libs-1.62.0.log
A commit references this bug: Author: jbeich Date: Sat Jan 7 06:24:45 UTC 2017 New revision: 430767 URL: https://svnweb.freebsd.org/changeset/ports/430767 Log: devel/boost-libs: drop -no-integrated-as on aarch64 PR: 213867 Obtained from: upstream MFH: 2017Q1 Changes: head/devel/boost-libs/Makefile head/devel/boost-libs/files/patch-clang-as
A commit references this bug: Author: jbeich Date: Sat Jan 7 21:27:07 UTC 2017 New revision: 430835 URL: https://svnweb.freebsd.org/changeset/ports/430835 Log: MFH: r430767 devel/boost-libs: drop -no-integrated-as on aarch64 PR: 213867 Obtained from: upstream Approved by: ports-secteam (junovitch) Changes: _U branches/2017Q1/ branches/2017Q1/devel/boost-libs/Makefile branches/2017Q1/devel/boost-libs/files/patch-clang-as