This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Partial ILP32 support for aarch64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]