Galera fails on 103amd64 with GCC: g++49 -o gcache/src/test -m64 -lboost_program_options -lboost_system -Wl,-rpath,/usr/local/lib -fstack-protector -Wl,-rpath=/usr/local/lib/gcc49 -L/usr/local/lib/gcc49 gcache/src/test.o -L/usr/local/lib gcache/src/libgcache.a galerautils/src/libgalerautils++.a galerautils/src/libgalerautils.a -lpthread -lrt -lexecinfo -lssl -lcrypto /usr/bin/ld: undefined reference to symbol `_ZNSt3__18ios_base5clearEj' (try adding -lc++) //usr/lib/libc++.so.1: could not read symbols: Bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) scons: *** [gcache/src/test] Error 1 scons: building terminated because of errors. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 It works fine, if I ocmment out USE_GCC=yes in the Makefile.
I tested today again. It was a CCACHE error. With NO_CCACHE=yes it builds without problems.
Works also with CCACHE, if I remove if 'CCACHE_DIR' in os.environ: env['ENV']['CCACHE_DIR'] = os.environ['CCACHE_DIR'] if 'CCACHE_CPP2' in os.environ: env['ENV']['CCACHE_CPP2'] = os.environ['CCACHE_CPP2'] from SConstruct. I made it per Hand, found in the moment no way for a patch.
Created attachment 179684 [details] svn-diff-galera.txt
Found a possible way.
Testbuilds with poudriere on 10.3amd64 and i386 ok. Correct svn-diff cause of an portlint warning.
Created attachment 179689 [details] svn-diff-galera.new
Was a PATH problem with CCACHE. No Bug.