Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2016 17:50:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212492] databases/galera linker error
Message-ID:  <bug-212492-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212492

            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@FreeBSD.org
          Reporter: w.schwarzenfeld@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 invocat=
ion)
scons: *** [gcache/src/test] Error 1

If I add on the commandline
make CC=3D/usr/local/bin/gcc CXX=3D/usr/local/bin/g++ CPP=3D/usr/local/bin/=
cpp

or in the Makefile

CXXFLAGS+=3D     -Wl,-rpath=3D ${LOCALBASE}/bin/gcc
LDFLAGS+=3D      -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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212492-13>