Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] [hppa] binutils will not build shared libraries with external deps?
@ 2003-05-27  5:22 Randolph Chung
  2003-05-28 19:07 ` [parisc-linux] " amodra
  2003-05-28 19:07 ` amodra
  0 siblings, 2 replies; 13+ messages in thread
From: Randolph Chung @ 2003-05-27  5:22 UTC (permalink / raw)
  To: bug-binutils, binutils; +Cc: debian-gcc, parisc-linux

Looks like latest binutils CVS (also as of 2.14.90.0.1) cannot build
shared libraries that have external symbols on at least hppa-linux:

tausq@ios:~$ cat blah.c
extern int foo();
int call_foo() { return foo(); }

tausq@ios:~$ gcc -shared -fPIC -o blah.so blah.c
/tmp/ccC3fZeH.o(.text+0x1c): In function `call_foo':
: undefined reference to `foo'

this worked fine on older binutils (e.g. 2.13.90.0.16 worked).

does anyone know what might be broken? this is causing a lot of failures
in the binutils test suite....

thanks,
randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

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

end of thread, other threads:[~2003-06-04 18:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27  5:22 [parisc-linux] [hppa] binutils will not build shared libraries with external deps? Randolph Chung
2003-05-28 19:07 ` [parisc-linux] " amodra
2003-05-28 19:07 ` amodra
2003-05-28 20:27   ` H. J. Lu
2003-05-28 20:27   ` H. J. Lu
2003-05-29 16:10     ` Matthias Klose
2003-05-29 16:10     ` Matthias Klose
2003-06-02 21:10   ` John David Anglin
2003-06-02 21:10   ` John David Anglin
2003-06-02 23:09     ` Alan Modra
2003-06-02 23:09     ` Alan Modra
2003-06-04 18:23       ` John David Anglin
2003-06-04 18:23       ` John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox