Subject: Re: pkgsrc, 1.4.2, illegal reloc type mix
To: Tim Walls <timwa@snowgoons.fsnet.co.uk>
From: None <mcmahill@mtl.mit.edu>
List: port-sparc
Date: 08/28/2000 15:37:06
please go to ftp://ftp.netbsd.org/pub/NetBSD/arch/sparc/c++/ and get a PIC
version of /usr/lib/c++rt0.o

as for mozilla, I don't think its working on a.out yet.  I had no luck on
a 1.4.2 i386.

-Dan

ps, yes we are working on fixing this....

On Mon, 28 Aug 2000, Tim Walls wrote:

> 'ello all,
> 
> I seem to be having trouble compiling any packages from source on
> sparc ever since getting the latest version of pkgsrc from
> ftp.netbsd.org (this may be a coincidence, though.)
> 
> Basically, practically nothing links now - the standard error is
> 'illegal reloc type mix' from ld.
> 
> For a concrete example, www/mozilla, or any of its dependent
> packages (gtk+, etc.)  In the case of mozilla (after installing
> binary versions of the dependents from pub/NetBSD/packages/1.4.2/sparc,)
> 
> ----------
> [...]roces.o md/unix/NetBSD1.4.2_OPT.OBJ/uxrng.o md/unix/NetBSD1.4.2_OPT.OBJ/uxshm.o md/unix/NetBSD1.4.2_OPT.OBJ/uxwrap.o md/unix/NetBSD1.4.2_OPT.OBJ/uxpoll.o md/unix/NetBSD1.4.2_OPT.OBJ/netbsd.o   -lc
> ld: NetBSD1.4.2_OPT.OBJ/prvrsion.o: illegal reloc type mix
> collect2: ld returned 1 exit status
> gmake[3]: *** [NetBSD1.4.2_OPT.OBJ/libnspr4.so.1.0] Error 1
> ----------
> 
> This is running 1.4.2:
> NetBSD 1.4.2 (CALVIN) #2: Sat May 27 10:35:06 BST 2000
>     timwa@calvin:/usr/src/sys/arch/sparc/compile/CALVIN
> 
> 
> 
> Any thoughts on how I can fix this???  (Alternatively, anyone with
> a binary package of Mozilla M17 on Sparc/a.out would solve my
> immediate problem <grin>.)
> 
> Thanks in advance,
> Tim.
> 
> 
> 
> (PS. To anyone waiting for me to get round to getting the 'spif'
>      driver working, I will get it done, honest, as soon as work
>      allows me to actually spend a weekend at home :*)
> 
> 
> -- 
> Tim Walls at home in Croydon     -     Reply to tim@snowgoons.fsnet.co.uk
>