Subject: Re: libtool and sparc/1.4
To: None <firstname.lastname@example.org>
From: Nick Hudson <email@example.com>
Date: 08/24/2000 20:03:40
> On Thu, 24 Aug 2000, Nick Hudson wrote:
> > It would seem that libtool-1.3.5nb4 breaks linking of shared
> > libraries(see PR/10846, PR/10190) on sparc 1.4. As I put in place the
> > bit that broke the builds then I felt as though I should address the
> > problem. The problem (I believe) stems from the fact that
> > /usr/lib/c++rt0.o is compiled -fpic whereas libtool compiles everything
> > -fPIC. This isn't a problem in current because sparc toolchain is now
> > ELF and -fpic no longer exists in bsd.lib.mk
> > I see the following possible solutions.
> > i) pull up the bsd.lib.mk change to the netbsd-1-4 branch for 1.4.3 and
> > require 1.4 users to update to 1.4.3 when it becomes available. This
> > should fix all the problems.
> this has some problems we've run into. However, the change to
> basesrc/lib/csu/c++/Makefile (which is actually what makes
> /usr/lib/c++rt0.o be -fPIC vs pic), _should_ (I think) be ok.
I see that you made this change to the head branch. Did you request a
pull up for the 1.4 branch? Do you want me to send the request?
> > ii) change libtool to avoid the inclusion of /usr/lib/c++rt0.o for
> > sparc/a.out and mark the packages that require it as broken.
> this is way too many.
> > iii) mark all USE_LIBTOOL packages as broken on sparc/a.out.
> way too many.
I would agree its alot of packages, but I'd rather see things marked as
broken if they are known to be.