Bug#653616: libmpich2-dev: Missing library linkage for libmpich.so on MIPS(el) and S390

Adam C Powell IV hazelsct at debian.org
Fri Jan 13 02:18:55 UTC 2012


tags 653616 patch
thanks

On Thu, 2012-01-12 at 10:39 -0600, Pavan Balaji wrote:
> On 01/12/2012 10:27 AM, Pavan Balaji wrote:
> > For the inter-library dependencies, I'd not like to have a Debian-only
> > patch.  But you are right, libtool should be able to disable
> > dependencies on platforms it doesn't support.  Let me look into this
> > some more.
> 
> Hmm..  In 1.5.x, it looks like we already have this dependency set.

Terrific!

> That should work on Debian, though Ubuntu seems to disable it, so I 
> can't test it on my laptop.  I'll try to find a Debian machine to test 
> it out.  But if you can give it a shot, that'll be great.
> 
> http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/nightly/trunk/

Just tested a build, it seems to set the link properly, thanks very
much.  Do you have a timetable for the release of 1.5.x?

I'm attaching a simple and working patch for the 1.4.1 package in case
it will be a while.  The -Wl,-z,defs checks the library to make sure it
links to all of the libraries it needs, but is not portable.

Those checks also indicated that the MPI C++ library needs to link to
the stdc++ library, so I added that link to the patch for 1.4.1 as well.
(1.5 has the stdc++ link already.)

Thanks very much,
Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpich2-link-libs.patch
Type: text/x-patch
Size: 3917 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120112/73c289b1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120112/73c289b1/attachment.pgp>


More information about the debian-science-maintainers mailing list