On 2018/09/24 23:05, phess...@openbsd.org wrote: > bulk build on arm64.ports.openbsd.org > started on Sat Sep 22 08:29:01 MDT 2018 > finished at Mon Sep 24 23:03:42 MDT 2018 > lasted 03D07h34m > done with kern.version=OpenBSD 6.4-beta (GENERIC.MP) #184: Fri Sep 21 > 15:51:23 MDT 2018 > > build failures: 37 .. > http://build-failures.rhaalovely.net/aarch64/2018-09-22/security/softhsm.log
This is explicitly linking libstdc++, which breaks aarch64 but is also wrong on other clang architectures. Could you take a look please Patrik? It probably doesn't need to specify the library at all here. /usr/bin/libtool --tag=CXX --mode=link c++ -O2 -pipe -Wall -Wextra -L/usr/local/lib -o softhsm-keyconv softhsm-keyconv.o base64.o -L/usr/local/lib -lbotan-1.10 -lstdc++ /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -pedantic -Wall -Wextra -no-install -static -shared-libgcc -L/usr/local/lib -o checks checks.o ../src/lib/libsofthsm.la -lstdc++ -lbz2 -lgmp