Summary: | dev-libs/crypto++-5.6.2 - ld: .libs/blowfish.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christophe PEREZ <chris> |
Component: | [OLD] Library | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christophe PEREZ
2013-09-27 22:17:43 UTC
*** This bug has been marked as a duplicate of bug 403467 *** (In reply to Tim Harder from comment #1) > > *** This bug has been marked as a duplicate of bug 403467 *** I don't understand why. I have already rebuild libtool, and I got the same error. I'm sorry but I cant' understand why it's the same bug. I've recompiled libtool and sandbox, used the new sys-devel/gcc-4.7.3-r1 and I always have the same error : /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/blowfish.o: relocation R_X86_64_32 against `pthread_cancel' can not be used when making a shared object; recompile with -fPIC .libs/blowfish.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status make: *** [libcrypto++.la] Error 1 * ERROR: dev-libs/crypto++-5.6.2::gentoo failed (compile phase): * emake failed I don't consider this bug as solved. If I'm wrong, please tell me exactly what you mean, but recompile libtool doesn't do anything. Edit : Adding -fPIC in my CFLAGS made the trick. don't who if it's normal, or a bug. post the full build log as an attachment |