[PATCH] Partial ILP32 support for aarch64
Florian Weimer
fweimer@redhat.com
Tue Dec 6 15:15:00 GMT 2016
On 12/06/2016 03:57 PM, Wilco Dijkstra wrote:
> Florian Weimer wrote:
>> So you are running the new libc against the system dynamic linker?
>> That's not supported.
>
> So LD_LIBRARY_PATH is not guaranteed to do the correct thing?
No, not at all.
>> You should rather use the testrun.sh wrapper.
>
> For running benchmarks, eg. SPEC?
Yes, it's quite realistic.
>>> It seems there is some incompatibility introduced in the dynamic loader that I presume wasn't intended?
>>
>> The dynamic linker and libc have to be updated in lock-step, and such
>> discrepancies are expected.
>
> So how do I run a binary against a non-system GLIBC?
Either with the script above, or you can build the binaries you a
interested in with special paths, just like
--enable-hardcoded-paths-in-tests does.
For more realistic testing (which is still reasonably easy to set up), I
create a chroot with mock and run “make install DESTDIR=/path/to/chroot”
from outside of the chroot.
Florian
More information about the Libc-alpha
mailing list