* prelink breaks 6 ld tests on ppclinux
@ 2003-05-09 1:27 Jack Howarth
2003-05-09 1:31 ` H. J. Lu
0 siblings, 1 reply; 6+ messages in thread
From: Jack Howarth @ 2003-05-09 1:27 UTC (permalink / raw)
To: binutils
I have tracked down the origin of the 6 unexpected
ld testsuite failures I was seeing on my debian ppc sid
box. It turns out that these tests fail if my box is
prelinked and don't if I unprelink. The tests in question
are...
FAIL: ELF weak func first DSO
FAIL: ELF weak func last DSO
FAIL: ELF weak data first DSO
FAIL: ELF weak data last DSO
FAIL: ELF weak data first DSO common
FAIL: ELF weak data last DSO common
I can reproduce this behavior (passes on unprelinked and
unexpected failures on prelinked) on both debian ppc sid
and YDL ppclinux (RedHat 8.0-based).
Jack
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: prelink breaks 6 ld tests on ppclinux
2003-05-09 1:27 prelink breaks 6 ld tests on ppclinux Jack Howarth
@ 2003-05-09 1:31 ` H. J. Lu
2003-05-09 1:42 ` Daniel Jacobowitz
2003-05-09 1:58 ` Jack Howarth
0 siblings, 2 replies; 6+ messages in thread
From: H. J. Lu @ 2003-05-09 1:31 UTC (permalink / raw)
To: Jack Howarth; +Cc: binutils, jakub
On Thu, May 08, 2003 at 09:27:01PM -0400, Jack Howarth wrote:
> I have tracked down the origin of the 6 unexpected
> ld testsuite failures I was seeing on my debian ppc sid
> box. It turns out that these tests fail if my box is
> prelinked and don't if I unprelink. The tests in question
> are...
>
> FAIL: ELF weak func first DSO
> FAIL: ELF weak func last DSO
> FAIL: ELF weak data first DSO
> FAIL: ELF weak data last DSO
> FAIL: ELF weak data first DSO common
> FAIL: ELF weak data last DSO common
>
> I can reproduce this behavior (passes on unprelinked and
> unexpected failures on prelinked) on both debian ppc sid
> and YDL ppclinux (RedHat 8.0-based).
It sounds a prelink bug to me. Jakub, how does prelink treat weak
symbol?
H.J.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: prelink breaks 6 ld tests on ppclinux
2003-05-09 1:31 ` H. J. Lu
@ 2003-05-09 1:42 ` Daniel Jacobowitz
2003-05-09 1:58 ` Jack Howarth
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2003-05-09 1:42 UTC (permalink / raw)
To: H. J. Lu; +Cc: Jack Howarth, binutils, jakub
On Thu, May 08, 2003 at 06:31:10PM -0700, H. J. Lu wrote:
> On Thu, May 08, 2003 at 09:27:01PM -0400, Jack Howarth wrote:
> > I have tracked down the origin of the 6 unexpected
> > ld testsuite failures I was seeing on my debian ppc sid
> > box. It turns out that these tests fail if my box is
> > prelinked and don't if I unprelink. The tests in question
> > are...
> >
> > FAIL: ELF weak func first DSO
> > FAIL: ELF weak func last DSO
> > FAIL: ELF weak data first DSO
> > FAIL: ELF weak data last DSO
> > FAIL: ELF weak data first DSO common
> > FAIL: ELF weak data last DSO common
> >
> > I can reproduce this behavior (passes on unprelinked and
> > unexpected failures on prelinked) on both debian ppc sid
> > and YDL ppclinux (RedHat 8.0-based).
>
> It sounds a prelink bug to me. Jakub, how does prelink treat weak
> symbol?
Prelink asks ld.so what the symbol resolves to. Jack, have you tried
re-prelinking using a recent glibc? The search order changed recently.
I'm really surprised by this report, since the DSOs generated during
the binutils testsuite are not prelinked. It might be a bug in the
conflict resolution code in glibc but I can't see how that would
happen.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: prelink breaks 6 ld tests on ppclinux
2003-05-09 1:31 ` H. J. Lu
2003-05-09 1:42 ` Daniel Jacobowitz
@ 2003-05-09 1:58 ` Jack Howarth
2003-05-09 2:05 ` Daniel Jacobowitz
2003-05-09 2:16 ` Jack Howarth
1 sibling, 2 replies; 6+ messages in thread
From: Jack Howarth @ 2003-05-09 1:58 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: jakub, binutils, hjl
Daniel,
On my machine this occurs with a debian glibc cvs 2.3.2-1 package using
a locally updated cvs pull from 2003-05-05. On entropy, Franz rebuilt glibc
this week for me and that has a cvs pull of 2003-05-06 so the glibcs should
be new enough. Both entropy a prelink-0.2.0-15 installed and debian sid has
a prelink based off of the redhat prelink-0.2.0-18 package.
Jack
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: prelink breaks 6 ld tests on ppclinux
2003-05-09 1:58 ` Jack Howarth
@ 2003-05-09 2:05 ` Daniel Jacobowitz
2003-05-09 2:16 ` Jack Howarth
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2003-05-09 2:05 UTC (permalink / raw)
To: Jack Howarth; +Cc: jakub, binutils, hjl
On Thu, May 08, 2003 at 09:58:05PM -0400, Jack Howarth wrote:
> Daniel,
> On my machine this occurs with a debian glibc cvs 2.3.2-1 package using
> a locally updated cvs pull from 2003-05-05. On entropy, Franz rebuilt glibc
> this week for me and that has a cvs pull of 2003-05-06 so the glibcs should
> be new enough. Both entropy a prelink-0.2.0-15 installed and debian sid has
> a prelink based off of the redhat prelink-0.2.0-18 package.
Do the failures occur if you un-prelink and re-prelink with the new
glibc installed?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: prelink breaks 6 ld tests on ppclinux
2003-05-09 1:58 ` Jack Howarth
2003-05-09 2:05 ` Daniel Jacobowitz
@ 2003-05-09 2:16 ` Jack Howarth
1 sibling, 0 replies; 6+ messages in thread
From: Jack Howarth @ 2003-05-09 2:16 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: hjl, binutils, jakub
Daniel,
I can take an un-prelinked system and build a binutils with the
expected number of ld testsuite passes. If I then prelink the
system and either re-rerun make check on binutils or rebuild it
entirely I get these 6 unexpected ld testsuite failures. Now if
I unprelink my system again and repeat that these 6 unexpected
failures disappear. This is all done after installation of a glibc
from the 2003-05-05 cvs on debian ppc sid. Same goes for
YDL ppclinux and a 2003-05-06 cvs glibc.
Jack
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-05-09 2:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-09 1:27 prelink breaks 6 ld tests on ppclinux Jack Howarth
2003-05-09 1:31 ` H. J. Lu
2003-05-09 1:42 ` Daniel Jacobowitz
2003-05-09 1:58 ` Jack Howarth
2003-05-09 2:05 ` Daniel Jacobowitz
2003-05-09 2:16 ` Jack Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).