Subject: cross pkgs
To: None <>
From: Chuck Cranor <>
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/           /usr/xbsd/lib/
/usr/xbsd/lib/         /usr/xbsd/lib/libbfd.a

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/
/usr/xbsd/lib/                 /usr/xbsd/lib/

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

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