Subject: Build lossage in libmagic with -current?
To: None <current-users@netbsd.org>
From: Scott Ellis <scotte@warped.com>
List: current-users
Date: 10/31/2004 12:05:40
Is anyone else seeing builds (at least on amd64) breaking when trying to
build libmagic in the tools dir?
/bin/sh ../libtool --mode=link cc -O -o libmagic.la -rpath
/misc/netbsd_buil
d_amd64/tooldir/lib -version-info 1:0:0 magic.lo apprentice.lo softmagic.lo
ascm
agic.lo compress.lo is_tar.lo readelf.lo print.lo fsmagic.lo funcs.lo
apptype.
lo -lz
cc -shared .libs/magic.o .libs/apprentice.o .libs/softmagic.o
.libs/ascmagic.o
.libs/compress.o .libs/is_tar.o .libs/readelf.o .libs/print.o
.libs/fsmagic.o .l
ibs/funcs.o .libs/apptype.o -lz -Wl,-soname -Wl,libmagic.so.1 -o
.libs/libmagi
c.so.1.0
ld: cannot find -lgcc_pic
*** Failed target: libmagic.la
*** Failed command: /bin/sh ../libtool --mode=link cc -O -o libmagic.la
-rpath /
misc/netbsd_build_amd64/tooldir/lib -version-info 1:0:0 magic.lo
apprentice.lo s
oftmagic.lo ascmagic.lo compress.lo is_tar.lo readelf.lo print.lo fsmagic.lo
fun
cs.lo apptype.lo -lz
*** Error code 1
Stop.
nbmake: stopped in /misc/netbsd_src/src/tools/file/obj.amd64/build/src
This is from doing:
./build.sh -m amd64 -D /misc/netbsd_build_amd64/destdir/ -R
/misc/netbsd_build_amd64/releasedir/ -T /misc/netbsd_build_amd64/tooldir/
release