Subject: cross pkgs
To: None <tech-pkg@netbsd.org>
From: Chuck Cranor <chuck@research.att.com>
List: tech-pkg
Date: 03/07/2001 17:49:46
i just CVS'd my pkgsrc to -current in hopes of building cross compiler
tools, but...
xxxcdc> make
===> Building for bfd-crunchide-1.0
cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o crunchide crunchide.o -L/usr/xbsd/lib -Wl,-R/usr/xbsd/lib -lbfd-2.9.1 -liberty
/usr/bin/ld: cannot open -lbfd-2.9.1: No such file or directory
collect2: ld returned 1 exit status
*** Error code 1
the old binutils package would install $CROSSBASE/lib as:
xbsd[8]> ls $CROSSBASE/lib/libbfd*
/usr/xbsd/lib/libbfd-2.9.1.so /usr/xbsd/lib/libbfd-2.9.1.so.0.0
/usr/xbsd/lib/libbfd-2.9.1.so.0 /usr/xbsd/lib/libbfd.a
xbsd[9]>
but the binutils i just built on my new system installs them as:
xxxcdc> ls $CROSSBASE/lib/libbfd*
/usr/xbsd/lib/libbfd.a /usr/xbsd/lib/libbfd.so.0
/usr/xbsd/lib/libbfd.la /usr/xbsd/lib/libbfd.so.0.0
/usr/xbsd/lib/libbfd.so
xxxcdc>
where is the "correct" place for these files? something is out
of sync. help!
BTW, the new "digest" command dumps core for me when using rmd160 under
1.5:
xxxcdc> digest md5 /etc/hosts
MD5 (/etc/hosts) = e49ffa486c35351c21ba53cf5caa729b
xxxcdc> digest sha1 /etc/hosts
SHA1 (/etc/hosts) = 044882ab6858c44231645b1d0a76d6e1d37a465c
xxxcdc> digest rmd160 /etc/hosts
Segmentation fault
xxxcdc>
chuck