develooper Front page | perl.perl5.porters | Postings from September 2011

[rt.cpan.org #69318] EU:MM rejects necessary link library

Thread Previous | Thread Next
From:
Christian Walde via RT
Date:
September 26, 2011 05:49
Subject:
[rt.cpan.org #69318] EU:MM rejects necessary link library
Message ID:
rt-3.8.HEAD-3053-1317033957-1646.69318-6-0@rt.cpan.org
<URL: https://rt.cpan.org/Ticket/Display.html?id=69318 >

On Sun Sep 25 01:16:03 2011, MSCHWERN wrote:
> No idea what to do about this.  That whole subsystem is inscrutable to
> me.  Any ideas?

Which subsystem? Liblist?

What it does, in short, is this:

1. take the list of linker parameters provided by Makefile.PL
2. try to resolve that list, by going through it and looking for each 
library mentioned in it, including the directory parameters and what not
2. a) if the lib is found, append that directive to a new linker 
parameter string
2. b) if the lib is not found, warn and skip
3. pass the new linker parameter string to the compiler

As schmorp rightly says, that's actually a bit stupid. Due to EUMM 
emulating the compiler actions, there's potential for both false 
positives (when eumm can find the lib, but compiler can't) and false 
negatives (when eumm can't find the lib and removes it from the list, 
but the compiler could).

So, the optimum way of handling this would be to actually use the 
compiler itself to verify the lib list, but i personally have no idea 
how that could be done.

Meanwhile, an option is: Debug through Liblist, figure out why it can't 
find that lib, and change the code so it can find it. Or maybe change 
it so it just warns, but adds the directive anyhow.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About