Created attachment 481794 [details] emerge --info =beecrypt-4.2.1 dev-libs/beecrypt-4.2.1-r4 fails to compile with clang-3.9.1, but does so nicely with gcc-5.4.0. From build.log: make[2]: Entering directory '/var/tmp/portage/dev-libs/beecrypt-4.2.1-r4/work/beecrypt-4.2.1/tests' clang-3.9 -DHAVE_CONFIG_H -I. -I.. -I../include -DOPTIMIZE_X86_64 -O2 -pipe -march=native -ggdb -DNDEBUG -Wa,--noexecstack -c -o testmd5.o testmd5.c /bin/sh ../libtool --tag=CC --mode=link clang-3.9 -O2 -pipe -march=native -ggdb -DNDEBUG -Wa,--noexecstack -Wl,-O1 -Wl,--as-needed -o testmd5 testmd5.o ../libbeecrypt.la -lrt -lpthread -ldl libtool: link: clang-3.9 -O2 -pipe -march=native -ggdb -DNDEBUG -Wa,--noexecstack -Wl,-O1 -o .libs/testmd5 testmd5.o -Wl,--as-needed ../.libs/libbeecrypt.so -lgomp -lrt -lpthread -ldl clang-3.9: warning: argument unused during compilation: '-Wa,--noexecstack' ../.libs/libbeecrypt.so: undefined reference to `__kmpc_for_static_init_4' ../.libs/libbeecrypt.so: undefined reference to `__kmpc_fork_call' ../.libs/libbeecrypt.so: undefined reference to `__kmpc_for_static_fini' clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:824: testmd5] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/beecrypt-4.2.1-r4/work/beecrypt-4.2.1/tests' make[1]: *** [Makefile:1285: check-am] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-libs/beecrypt-4.2.1-r4/work/beecrypt-4.2.1/tests' make: *** [Makefile:667: check-recursive] Error 1 * ERROR: dev-libs/beecrypt-4.2.1-r4::gentoo failed (test phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/beecrypt-4.2.1-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/beecrypt-4.2.1-r4::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-libs/beecrypt-4.2.1-r4:20170708-033750.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/beecrypt-4.2.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/beecrypt-4.2.1-r4/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/beecrypt-4.2.1-r4/work/beecrypt-4.2.1' * S: '/var/tmp/portage/dev-libs/beecrypt-4.2.1-r4/work/beecrypt-4.2.1' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =beecrypt-4.2.1 Full build logs for both clang and gcc attached.
Created attachment 481796 [details] CC=clang-3.9 CXX=clang++-3.9 emerge -1 dev-libs/beecrypt build.log
Created attachment 481798 [details] CC=gcc-5.4.0 CXX=g++-5.4.0 emerge -1 dev-libs/beecrypt build.log
Removed.