Subject: Re: relocation truncated error
To: Emmanuel Dreyfus <>
From: Todd Vierling <>
List: tech-toolchain
Date: 11/22/2000 11:25:08
On Wed, 22 Nov 2000, Emmanuel Dreyfus wrote:

: I'm trying to package Xalan-C++ and Xerces-C++ for NetBSD. I have one I
: don't understand problem at link time. The build process attempt this:
: $ c++ -g -O2 -DNETBSD -shared -fpic  -lc  -L/usr/lib -L/usr/local/lib

: XSLTResultTarget.cpp:147: relocation truncated to fit: R_PPC_GOT16 L139

This means the "-fpic" above needs to be changed to "-fPIC".

-- Todd Vierling <>  *
-- Speed, stability, security, and support.  Wasabi NetBSD:  Run with it.