[mpich-discuss] Undefined references to MPL, seems to be caused by --if-needed
Dave Goodell
goodell at mcs.anl.gov
Mon Nov 22 14:39:47 CST 2010
On Nov 19, 2010, at 6:04 PM CST, Jed Brown wrote:
> On Fri, 19 Nov 2010 21:43:59 +0100, Jed Brown <jed at 59A2.org> wrote:
>> On Fri, 19 Nov 2010 14:27:27 -0600 (CST), chan at mcs.anl.gov wrote:
>> LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
>>
>> is in the default package build environment (the environment packages
>> are to be built in, not the environment users are running). I'll use
>> MPICH2LIB_LDFLAGS so it doesn't go into the wrapper
>
> It appears that setting MPICH2LIB_LDFLAGS, with LDFLAGS unset, still
> causes those arguments to go into the wrappers, config.log attached.
Hmm... this looks like it's the fault of configure.in:6295. I'm not sure why we're doing this step, although I'm also hesitant to remove it without careful study. In a pinch you might be able to get by if you comment out that line (and maybe the following line as well).
-Dave
More information about the mpich-discuss
mailing list