public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* ld testsuite failures in ld-elfweak/elfweak.exp
@ 2003-06-28 19:17 Olaf Hering
  2003-06-28 19:45 ` H. J. Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Olaf Hering @ 2003-06-28 19:17 UTC (permalink / raw)
  To: binutils

The 20030628 CVS fails on i386, ia64, powerpc with gcc 3.3 and 3.2:


Running /usr/src/packages/BUILD/binutils-2.14.90.0.4/ld/testsuite/ld-elfweak/elfweak.exp ...
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

a weak symbol is expected, but there is a 'strong' one instead.

gcc -L/usr/src/packages/BUILD/binutils-2.14.90.0.4/build-dir/ld -B/usr/src/packages/BUILD/binutils-2.14.90.0.4/build-dir/ld/tmpdir/ld/ -L/usr/powerpc64-suse-linux/lib -L/usr/lib -L/usr/local/lib64 -L/lib64 -L/usr/lib64 -L/usr/local/lib -L/lib  -o tmpdir/foo -Wl,-rpath,.  tmpdir/main.o tmpdir/libbar.so
/usr/src/packages/BUILD/binutils-2.14.90.0.4/build-dir/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/src/packages/BUILD/binutils-2.14.90.0.4/ld/testsuite/ld-elfweak/weak.dat
1c1
< strong foo
---
> weak foo
child process exited abnormally
FAIL: ELF weak func first DSO


-- 
USB is for mice, FireWire is for men!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ld testsuite failures in ld-elfweak/elfweak.exp
  2003-06-28 19:17 ld testsuite failures in ld-elfweak/elfweak.exp Olaf Hering
@ 2003-06-28 19:45 ` H. J. Lu
  2003-06-28 19:51   ` Olaf Hering
  0 siblings, 1 reply; 3+ messages in thread
From: H. J. Lu @ 2003-06-28 19:45 UTC (permalink / raw)
  To: Olaf Hering; +Cc: binutils

On Sat, Jun 28, 2003 at 09:17:31PM +0200, Olaf Hering wrote:
> The 20030628 CVS fails on i386, ia64, powerpc with gcc 3.3 and 3.2:
> 
> 
> Running /usr/src/packages/BUILD/binutils-2.14.90.0.4/ld/testsuite/ld-elfweak/elfweak.exp ...
> 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
> 
> a weak symbol is expected, but there is a 'strong' one instead.

Upgrade your glibc.


H.J.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ld testsuite failures in ld-elfweak/elfweak.exp
  2003-06-28 19:45 ` H. J. Lu
@ 2003-06-28 19:51   ` Olaf Hering
  0 siblings, 0 replies; 3+ messages in thread
From: Olaf Hering @ 2003-06-28 19:51 UTC (permalink / raw)
  To: H. J. Lu; +Cc: binutils

 On Sat, Jun 28, H. J. Lu wrote:

> On Sat, Jun 28, 2003 at 09:17:31PM +0200, Olaf Hering wrote:
> > The 20030628 CVS fails on i386, ia64, powerpc with gcc 3.3 and 3.2:
> > 
> > 
> > Running /usr/src/packages/BUILD/binutils-2.14.90.0.4/ld/testsuite/ld-elfweak/elfweak.exp ...
> > 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
> > 
> > a weak symbol is expected, but there is a 'strong' one instead.
> 
> Upgrade your glibc.

You are right, it was a 2.2.5 based installation.

-- 
USB is for mice, FireWire is for men!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-28 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-28 19:17 ld testsuite failures in ld-elfweak/elfweak.exp Olaf Hering
2003-06-28 19:45 ` H. J. Lu
2003-06-28 19:51   ` Olaf Hering

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).