[mpich-discuss] Error when building MPI with --enbale-shared
lokman.rahmani at irisa.fr
Sun Nov 10 21:19:50 CST 2013
Yes, the v3.1rc1 works!
Thank you Antonio
----- Mail original -----
> De: "Antonio J. Peña" <apenya at mcs.anl.gov>
> À: discuss at mpich.org
> Envoyé: Vendredi 8 Novembre 2013 18:32:00
> Objet: Re: [mpich-discuss] Error when building MPI with
> A quick test I may suggest is trying our latest release (rc1).
> --enable-shared is the default, and we fixed a few things there.
> On Friday, November 08, 2013 06:26:09 PM Lokman Rahmani wrote:
> When building MPICH3 with the option --enable-shared the build fails
> with the error :
> relocation R_X86_64_32 against `.rodata' can not be used when making
> a shared object; recompile with -fPIC
> /home/hpc/build/mpich-3.0.4/src/mpl/.libs/libmpl.a: could not read
> symbols: Bad value
> About this error message, I found this (old) discussion in the
> mailing list archive :
> What i understood from this message is that I have to use
> --disable-rpath (wich become --disable-wrapper-rpath for the newer
> versions), but i still have the same problem.
> (I also set the CXXFLAGS and CFLAGS to -fPIC)
> Anyone can give me hints about the reasons of this error and how to
> overcome it?
> Thank you
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss