Subject: pkg/11136: libtool won't compile on NetBSD-1.4.2/sparc
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/04/2000 15:54:10
>Number:         11136
>Category:       pkg
>Synopsis:       libtool emits 'illegal reloc type mix' during libtool compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 04 15:54:00 PDT 2000
>Originator:     Gregory McGarry
>Release:        NetBSD-1.4.2 <NetBSD-current source date>

NetBSD lux 1.4.2 NetBSD 1.4.2 (GENERIC) #2: Thu Mar 16 00:08:53 PST 2000 sparc


A new install of 1.4.2, and pkgsrc downloaded two days ago.  devel/libtool
won't compile with the following error:

===> Building for libtool-1.3.5nb5
Making all in .
Making all in libltdl
cd .  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh ./config.status
creating config.h
config.h is unchanged
/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 -rpath /usr/pkg/lib -version-info 1:2:1 ltdl.lo  
rm -fr .libs/ .libs/libltdl.* .libs/libltdl.*
/usr/bin/ld -Bshareable -o .libs/  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


New NetBSD-1.4.2/sparc install with newish pkgsrc.


Hmm.  I just saw Hubert commit sysutils/c++rt0 which may affect this.