[Bug 212492] databases/galera linker error
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 8 17:50:55 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212492
Bug ID: 212492
Summary: databases/galera linker error
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: w.schwarzenfeld at utanet.at
Galera 25.3.5 fails to compile (10.3-RELEASE)
with
/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
If I add on the commandline
make CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ CPP=/usr/local/bin/cpp
or in the Makefile
CXXFLAGS+= -Wl,-rpath= ${LOCALBASE}/bin/gcc
LDFLAGS+= -lc++
it compiles.
There are still warnings like:
/usr/local/include/check.h:454:73: warning: token pasting of ',' and
__VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/usr/local/include/check.h:454:75: warning: token pasting of ',' and
__VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
_ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ##
__VA_ARGS__, NULL)
^
/usr/local/include/check.h:454:75: warning: token pasting of ',' and
__VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
/usr/local/include/check.h:454:73: warning: token pasting of ',' and
__VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
_ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ##
__VA_ARGS__, NULL)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list