[yocto] [prelink-cross][patch] Fix layout1 test on x86_64 x32.

Andrew Stubbs ams at codesourcery.com
Fri Dec 16 06:52:36 PST 2016


Hi Mark,

The layout1 test case currently fails for x32 because there is 
insufficient address space for all the libraries.

There's two ways to fix this:

1. Increase mmap_end such that there's more space.

2. Reduce max_page_size so that less space is wasted.

I'm not sure what the implications of option 2 would be, so the attached 
patch implements option 1.

This still limits the number of possible libraries somewhat severely, 
but it's more than enough to pass the layout1 test.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prelink-fix-x32-layout1-test.patch
Type: text/x-patch
Size: 829 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161216/8c2b1690/attachment.bin>


More information about the yocto mailing list