Subject: Re: [Q] macppc and unsupported type 10 relocations
To: Emmanuel Dreyfus <>
From: Charles M. Hannum <>
List: tech-toolchain
Date: 11/23/2000 17:41:24
Emmanuel Dreyfus wrote:

> Help Needed!
> I'm still having the "Unsupported relocation type 10 in non-PLT
> relocations" on NetBSD/macppc at runtime when linking dynamic C++
> libraries. 
> In the annonuce for the Mozilla package, it was explained I had to
> upgrade my toolchain to fix that. I upgraded lots of stuff from
> -current, but I'm still having the same problem. 

This error generally means that non-PIC code was linked into a shared 
library.  You need to find the source of the non-PIC code; in the 
Mozilla case it was caused by `cc -shared' linking against -lgcc, which 
is only available as a static library.