From owner-freebsd-sparc64@FreeBSD.ORG Tue Feb 15 14:37:19 2005 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0150716A4CE; Tue, 15 Feb 2005 14:37:19 +0000 (GMT) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC5A143D5A; Tue, 15 Feb 2005 14:37:18 +0000 (GMT) (envelope-from kwm@rainbow-runner.nl) Received: from kazerne.demon.nl ([212.238.222.22]:49483 helo=heater.rainbow-runner.nl) by post-22.mail.nl.demon.net with esmtp (Exim 4.43) id 1D13pF-0002uL-Ha; Tue, 15 Feb 2005 14:37:17 +0000 From: Koop Mast To: Kris Kennaway 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> Content-Type: text/plain Date: Tue, 15 Feb 2005 15:37:28 +0100 Message-Id: <1108478248.30515.13.camel@heater.rainbow-runner.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.1.5 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: obrien@FreeBSD.org cc: sparc64@FreeBSD.org Subject: Re: file(1) broken on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 14:37:19 -0000 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