[parisc-linux] userland test failure

chester@linux.org.tw chester@linux.org.tw
Thu, 29 Jun 2000 13:12:29 +0800 (CST)


I should describe my situation more clear!!
I have a pa-risc box that didn't have MMU in it.i need this compile option
-fPIC to test some program.
(My pa-risc box is 1.1 architecture without MMU and 902xx CPU)

Thanks,

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

> Thanks,
> Could you give me a hint to fix that(Maybe from source code),
> 
> 
> 				Chester
> 
> 
> On Thu, 29 Jun 2000, Alan Modra wrote:
> 
> > 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.
> > 
> > ---------------------------------------------------------------------------
> > To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
> > `unsubscribe' as the subject.
> > 
>