Date: Tue, 15 Feb 2005 15:37:28 +0100 From: Koop Mast <kwm@rainbow-runner.nl> To: Kris Kennaway <kris@obsecurity.org> Cc: sparc64@FreeBSD.org Subject: Re: file(1) broken on sparc64 Message-ID: <1108478248.30515.13.camel@heater.rainbow-runner.nl> In-Reply-To: <20050123200201.GA81234@xor.obsecurity.org> References: <20050122213501.GA22882@xor.obsecurity.org> <1106501671.677.1.camel@heater.rainbow-runner.nl> <20050123200201.GA81234@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Op zo, 23-01-2005 te 12:02 -0800, schreef Kris Kennaway: >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@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 Sorry for the wait, I filed the mail in a wrong folder. I did a cross buildworld on a i386 machine, and copied the resulting file binary over to my sparc box. It works just like the native file binary. I even replaced libc.so.6 with the one from the cross build. But that also didn't change anything. Koop
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108478248.30515.13.camel>