Subject: pkgsrc, 1.4.2, illegal reloc type mix
To: None <port-sparc@netbsd.org>
From: Tim Walls <timwa@snowgoons.fsnet.co.uk>
List: port-sparc
Date: 08/28/2000 20:24:09
'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