Subject: Re: Build lossage in libmagic with -current?
To: Scott Ellis <scotte@warped.com>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <eclipser23@web.de>
List: current-users
Date: 10/31/2004 21:49:48
> Is anyone else seeing builds (at least on amd64) breaking when trying 
> to
> build libmagic in the tools dir?

hi,

i just finished building -current checked out today on sparc64, no 
problem here. so probably not all 64bit platforms affected?

>
> /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
-- 
:x!

timo