[parisc-linux] userland test failure

Alan Modra alan@linuxcare.com.au
Thu, 29 Jun 2000 14:44:30 +1000 (EST)


On Thu, 29 Jun 2000 chester@linux.org.tw wrote:

> But if i add -fPIC options,get
> 
> /tmp/cc4QxRpc.o : In function 'main'
> /mnt/download/PA/hello.c:3: undefined reference to `$global$`

-fPIC and -shared are not supported at the moment, even with the newer
binutils-2.10 module available from puffin CVS.  With binutils-2.10,
you'll get a different error if you compile with -fPIC, something like:
"cannot handle relocation R_PARISC_DLTIND21L for .LC0 at 0x28 in .text"

Alan Modra
-- 
Linuxcare.  Support for the Revolution.