Subject: Re: pkg/5709: build of qt fails on sparc architecture (fwd)
To: Hubert Feyrer <hubert.feyrer@rrzc1.rz.uni-regensburg.de>
From: Todd Vierling <tv@pobox.com>
List: port-sparc
Date: 07/06/1998 09:54:46
On Mon, 6 Jul 1998, Hubert Feyrer wrote:

: Can someone please have a look at this, this seems rather related
: to port-sparc rather than the pkgsrc crew. Thanks!

The problem is that our ld cannot cope with mixing code compiled -fpic (as
is c++rt0.o) and -fPIC (qt).  The correct fix is _not_ to try to link
c++rt0.o to libqt, as it is unnecessary (program binaries should have those
stubs automatically).  Though GNU binutils ld can cope with the mix, it's
still incorrect to try to link c++rt0 into the shared library.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)