On Mon, 29 Jun 2009, David Brown wrote:

> I've been reading the code maybe a little explanation could help?
> 
>         /* This is the hairy bit, between unmap and remap we enter a
>          * black hole.  We can't call anything which uses static data
>          * (ie. essentially any library function...)
>          */
> 
> So if you can't use any library function doesn't that include mmap and
> munmap? Since they are in glibc and this is the libhugetlbfs code?  It
> seems that the mmap call above is supposed to resolve the symbol for
> the linker. Should this also be done for munmap?
> 
> Thanks,
> - David Brown
> 

David,

I have tried to recreate the problem using your test program and I have not been
able to on my local machine, can you provide me with a few things:

What version of ld are you using?

Please send me your kernel .config file.

Please send me the output of readelf -S test

Thanks,
Eric

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to