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] Link dynamic tests with newly built glibc


On Wed, Oct 10, 2012 at 5:05 PM, Roland McGrath <roland@hack.frob.com> wrote:
> The subject line is quite misleading.  We already do link test binaries
> with the newly-built libc.  What you're talking about is linking the test
> binaries such that they use the newly-built libc implicitly when run.
>
> There is no one right answer.
>
> The status quo has the nice property that you can just take a test binary
> and run it against an installed libc manually, which people actually do
> fairly often (including manual versions of cross-testing).  I certainly
> want us to support cross-testing in a first-class way as soon as we can
> manage to do it cleanly.

My proposal doesn't change it.

>
> There is no way to get the behavior HJ wants without regressing on some of
> the other cases in which test binaries as we build them today can be used

The only thing my proposal tests less is "ld.so --library-path" since it
is used less.

> today.  So I have a high-level objection to the change, unless it's
> optional under a makefile variable or configure switch.
>

My proposal makes testing closer to what is actually used than the
current scheme and it exposed a real bug:

http://www.sourceware.org/bugzilla/show_bug.cgi?id=14681

-- 
H.J.


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