Summary: | dev-db/lmdb-0.9.18: error: undefined reference to 'pthread... | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dE <de.techno> |
Component: | Current packages | Assignee: | Eray Aslan <eras> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ldap-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Failed build log for dev-db/lmdb-0.9.18 |
Description
dE
2016-07-18 06:54:10 UTC
Created attachment 440986 [details]
Failed build log for dev-db/lmdb-0.9.18
>>> Install lmdb-0.9.18 into /tmp/portage/dev-db/lmdb-0.9.18/image/ category dev-db
make -j4 DESTDIR=/tmp/portage/dev-db/lmdb-0.9.18/image/ install
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -pthread -shared -Wl,-soname,liblmdb.so.0 -o liblmdb.so mdb.lo midl.lo
x86_64-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -Wl,-O1 -Wl,--as-needed mdb_stat.o liblmdb.a -o mdb_stat
x86_64-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -Wl,-O1 -Wl,--as-needed mdb_copy.o liblmdb.a -o mdb_copy
x86_64-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -Wl,-O1 -Wl,--as-needed mdb_dump.o liblmdb.a -o mdb_dump
liblmdb.a(mdb.o):mdb.c:function mdb_txn_renew0: error: undefined reference to 'pthread_getspecific'
For some reason make install re-links the objects, and -pthread isn't set there. It shouldn't re-link in the first place.
|