file(1) broken on sparc64

Kris Kennaway kris at obsecurity.org
Sun Jan 23 12:02:08 PST 2005


On Sun, Jan 23, 2005 at 06:34:31PM +0100, Koop Mast wrote:
> Op za, 22-01-2005 te 13:35 -0800, schreef Kris Kennaway:
> > Old file(1):
> > 
> > monster# file /lib/libc.so.6
> > /lib/libc.so.6: ELF 64-bit MSB shared object, SPARC V9, version 1 (FreeBSD), stripped
> > 
> > New file(1):
> > 
> > monster# file /lib/libc.so.6
> > /lib/libc.so.6: data, stripped
> > 
> > Among other things, this breaks a lot of package builds because
> > libtool 1.3 doesn't think FreeBSD/sparc64 can build shared libraries.
> > 
> > Kris
> 
> Seems to work here:
> 
> # uname -a
> FreeBSD sparkel 6.0-CURRENT FreeBSD 6.0-CURRENT #6: Sat Jan 22 13:44:59
> CET 2005     root at sparkel:/usr/obj/usr/src/sys/SeaLion  sparc64
> 
> # file -v
> file-4.12
> magic file from /usr/share/misc/magic
> 
> # file /lib/libc.so.6
> /lib/libc.so.6: ELF 64-bit MSB shared object, SPARC V9, version 1
> (FreeBSD), stripped

I wonder if the problem is with worlds cross-built from i386.

Can you try a buildworld on i386 with TARGET_ARCH=sparc64 and see if
it still works?

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20050123/9666aef9/attachment.bin


More information about the freebsd-sparc64 mailing list