Summary: | Can't build auxprogs/libmpiwrap under AMD64_LINUX | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Christophe Lyon <christophe.lyon> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | njn |
Priority: | NOR | ||
Version: | 3.3.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Christophe Lyon
2007-12-17 18:07:02 UTC
Confirmed, same error on Gentoo. Two differences with the info above: 1) -fpic instead of -fPIC (no idea where that comes from). 2) the reporter has 3.2.3 in the output where the Gentoo user has 4.2.2, which matches his compiler version. See http://bugs.gentoo.org/show_bug.cgi?id=202684 -fpic is hardcoded in Makefile.in Following the error message, I changed it to -fPIC by hand, but it changed nothing. The problem is not that you need to change valgrind to compile it's code with -fpic or -fPIC but that the system libmpi.a it is trying to link the wrapper against does not contain PIC code so cannot be linked into a shared library. Either install a PIC version of libmpi (most likely a shared version rather than a static one) or configure valgrind not to build the mpi wrapper, which you quite likely don't need anyway. *** Bug 154274 has been marked as a duplicate of this bug. *** |