Subject: Re: libtool/sparc 1.4.2
To: None <mcmahill@mtl.mit.edu>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 10/02/2000 09:20:29
	Potentially twisted suggestion: Can we add a devel/PICc++rt0
	package that installs a PIC c++rt0 on pre 1.5 sparc systems?

                David/absolute
			       -- www.netbsd.org: A pmap for every occasion --


On Sun, 1 Oct 2000 mcmahill@mtl.mit.edu wrote:

> 
> please replace /usr/lib/c++rt0.o with a -fPIC version which can be found
> under ftp://ftp.netbsd.org/pub/NetBSD/arch/sparc/c++rt0/
> 
> -Dan
> 
> 
> 
> On Sun, 1 Oct 2000, Brian A. Seklecki - Stargate Industries, LLC - NOC wrote:
> 
> > 
> > Trying to compile pkgsrc/devel/libtool from the --current pkgsrc tarball
> > from the 1st:
> > 
> > bash-2.04# pwd
> > /usr/src/pkgsrc/devel/libtool
> > bash-2.04# make install
> > ===> Building for libtool-1.3.5nb5
> > Making all in .
> > Making all in libltdl
> > /bin/sh ./libtool --mode=link cc  -O2 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
> > -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
> > -o libltdl.la -rpath /usr/pkg/lib -version-info 1:2:1 ltdl.lo
> > rm -fr .libs/libltdl.la .libs/libltdl.* .libs/libltdl.*
> > /usr/bin/ld -Bshareable -o .libs/libltdl.so.1.2  ltdl.lo   -R/usr/pkg/lib
> > -R/usr/pkg/lib /usr/lib/c++rt0.o
> > ld: /usr/lib/c++rt0.o: illegal reloc type mix
> > *** Error code 1
> > 
> > Stop.
> > *** Error code 1
> > 
> > Stop.
> > *** Error code 1
> > 
> > Stop.
> > *** Error code 1
> > 
> > Stop.
> > *** Error code 1
> > 
> > Stop.
> > 
> > 
> > 
> > ---
> > 
> > Binary package goes on fine:
> > 
> > bash-2.04# pkg_add -v
> > ftp://ftp.netbsd.org/pub/NetBSD/packages/1.4.2/sparc/All/libtool-1.3.5nb4.tgz
> > Trying to fetch
> > ftp://ftp.netbsd.org/pub/NetBSD/packages/1.4.2/sparc/All/libtool-1.3.5nb4.tgz.
> > Spawning FTP coprocess
> > [.......]
> > Attempting to record package into /var/db/pkg/libtool-1.3.5nb4.
> > Package libtool-1.3.5nb4 registered in /var/db/pkg/libtool-1.3.5nb4
> > 
> > ftp> close
> > 
> > The only difference is the minor revision change.  Problem is that
> > libaudiofile requires:
> > 
> > "===> libaudiofile-0.1.9 depends on package: libtool>1.3.5nb4"
> > 
> > Ideas anyone?
> > 
> > Thanks,
> > 
> > --Brian
> > 
> > 
> 
>