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

[ #69318] EU:MM rejects necessary link library

Thread Previous | Thread Next
Christian Walde via RT
September 26, 2011 05:49
[ #69318] EU:MM rejects necessary link library
Message ID:
<URL: >

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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About