Bug#558960: libmpich2-dev: mpicc.mpich2 unconditionally sets RPATH in compiled binaries

Pavan Balaji balaji at mcs.anl.gov
Wed Feb 24 14:01:46 UTC 2010


Hi Lucas,

On 02/24/2010 05:10 AM, Lucas Nussbaum wrote:
>> % mpicc.mpich2 -show
>> cc -g -O2 -g -Wall -O2 -I/usr/include/mpich2 -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -lmpich -lopa -lpthread -lrt
>>                                                                    ^^^^^^^^^^^^^^^^^^^
> 
> Hi Pavan,
> 
> What do you think about this bug report? It sounds like something that
> should be fixed upstream, not just in Debian.
> 
> There's more information at http://wiki.debian.org/RpathIssue.

MPICH2 doesn't add rpath by itself, unless the user sets it as LDFLAGS.
What's the exact configure you are using?

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji





More information about the debian-science-maintainers mailing list