Subject: Re: Illegal reloc type mix when building shared libc
To: Curt Sampson <cjs@portal.ca>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 06/17/1997 17:49:50
On Tue, 17 Jun 1997 17:16:01 -0700 (PDT) 
 Curt Sampson <cjs@portal.ca> wrote:

 > With about a one-day-old -current, when I'm doing the final
 > link/archive/whatever you want to call it of libc.so I get
 > 
 > building shared c library (version 12.16)
 > ld -x -Bshareable -Bforcearchive  -o libc.so.12.16 libc_pic.a -nostdlib -L/usr1/netbsd/build/academic/obj.sparc/build/usr/lib 
 > ld: libc_pic.a(mcount.so): illegal reloc type mix
 > *** Error code 1
 > 
 > Does anyone know what might be causing this, and where I should
 > start looking to fix it?

pk fixed this a while ago... the incorrect flags were being passed
in the .c.so: rule when building shared libs.  Make sure you rebuild
mcount.so with the latest revisions of bsd.*.mk

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939