Thanks for the help Alexander !

On 15 Jul 2010, at 04:45, Jean-François Mertens wrote:

>>> /tmp/ghc29322_0/ghc29322_0.s:unknown:Undefined local symbol
>>> LDV_recordDead_FILL_SLOP_DYNAMIC
>
> ... in both places the "Undefined local symbol" from the error msg  
> seems declared as
>> foreign "C" LDV_recordDead_FILL_SLOP_DYNAMIC(updatee "ptr")
> i.e., in my very impressionistic readng, anything but local ..
> [Later (say "Optimised Cmm"), this yields like
>> call "ccall" LDV_recordDead_FILL_SLOP_DYNAMIC((_cj, PtrHint)) 
>> [_unsafe_call_];
> and then in asm ("Native code"):
>>      call LDV_recordDead_FILL_SLOP_DYNAMIC

The problem disappears when replacing the call to configure by:

> env fptools_cv_leading_underscore=yes ./configure %c

Indeed, libelf's nlist.h shadows the system's nlist.h,
and caused the configure test for "need leading underscore"
to turn to no _ and hence, in the above, the 'foreign "C" '
symbol DV_recordDead_FILL_SLOP_DYNAMIC didn't get the
leading underscore, and was't recognised.

Then hit another problem later; will change thread for that.

JF Mertens
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to