On 8/19/16 9:56 PM, Khem Raj wrote: > >> On Aug 19, 2016, at 6:39 PM, Mark Hatle <mark.ha...@windriver.com> wrote: >> >> On 8/18/16 10:33 AM, Mark Hatle wrote: >>> I have issued a new prelink release today. >>> >>> git://git.yoctoproject.org/prelink-cross >>> >>> master branch: target based prelink >>> new release tag: 20160818 >>> >>> cross_prelink branch: prelink w/ emulated 'rtld' (ld.so) >>> new release tag: 20160818_cross >>> >>> >>> From the README file there are a few known issues: >>> >>> * The --preload option does not always work. The preload1 test currently >>> fails. >>> >>> * quick2 test will fail if you do not have static libc installed. >>> >>> * IFUNC on glibc. glibc appears to have a bug related to specific IFUNC >>> ordering. build_local_scope in glibc is processing depth first instead of >>> breadth-first processing as it should be. The prelink-rtld version works >>> around this issue. (Prelink-rtld is only available in the cross compile >>> version.) See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9131 >>> >>> * ARM & PPC: both are currently failing the reloc8 and reloc9 test >>> Further investigation is in progress on these items. Until an explanation >>> is found, you should hold off using this for ARM and PPC. >> >> It was determined the above items are related to a bug most likely in >> binutils. >> The components failed to execute even before they were prelinked. The >> prelinker >> is safe to use on ARM and PPC. > > Do you have failing samples that are due to ld issues ?
YP Bug 10168 has the details. Short answer, build a target system that can compile.. grab the prelink sources, and then 'make check'. The reloc8.sh and reloc9.sh will fail. They both use "-Wl,-z,nocopyreloc" when linking. They worked in 2.1 and 2.0, no longer works in 2.2 (master). --Mark >> >> --Mark >> >>> >>> Changelog for the cross_prelink follows: >>> >>> Common changes: >>> >>> * Update configure.ac, libelf.m4 and */Makefile.am to avoid various auto* >>> warnings >>> * Fixed a few compile warnings >>> * Add testcase for YP 9131 - IFUNC problem >>> * Fix LD_PRELOAD issues >>> * Fix section ordering problem (required for binutils-2.22) >>> >>> Cross prelink specific changes: >>> >>> * rtld: resync to glibc-2.23 >>> * rtld: add additional debug scope support >>> * rtld: Add fix for YP 9131, IFUNC problem >>> >> >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto