From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 21:25:53 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D35EC16A469 for ; Sat, 2 Jun 2007 21:25:53 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 8DB3F13C455 for ; Sat, 2 Jun 2007 21:25:53 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E9D038BD9A0; Sat, 2 Jun 2007 23:25:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fJ4KLVFvB9J3; Sat, 2 Jun 2007 23:25:51 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id EB9D066C8F6; Sat, 2 Jun 2007 23:25:50 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l52LPn3b017143; Sat, 2 Jun 2007 23:25:49 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 2 Jun 2007 23:25:49 +0200 From: Roman Divacky To: John E Hein Message-ID: <20070602212549.GA17133@freebsd.org> References: <32640.217.221.237.206.1180701628.squirrel@krisma.oltrelinux.com> <20070601131741.GA55533@freebsd.org> <34078888@srv.sem.ipt.ru> <20070602111412.GA2515@freebsd.org> <18017.38384.749310.450410@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18017.38384.749310.450410@gromit.timing.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org, Paolo Pisati Subject: Re: Linux_base-fc4/6, FreeBSD 6/7 and some Linux binaries X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 21:25:53 -0000 On Sat, Jun 02, 2007 at 10:08:16AM -0600, John E Hein wrote: > Roman Divacky wrote at 13:14 +0200 on Jun 2, 2007: > > On Fri, Jun 01, 2007 at 07:38:47PM +0400, Boris Samorodov wrote: > > > On Fri, 1 Jun 2007 15:17:41 +0200 Roman Divacky wrote: > > > > > > > > [piso@piso ~/devkitARM]$ file ./bin/git > > > > > ./bin/git: ELF 32-bit LSB executable, Intel 80386, version 1, statically > > > > > linked, corrupted section header size > > > > > > > hard to say whats going on but "corrupted section header size" looks bad > > > > to me. > > > > > > Do we support linux binaries which are packed with UPX executable > > > packer? ;-) > > I tried a simple hello world program (with extra spaces to make it > compressable), compiled and upx'd under linux. It worked fine under > FreeBSD 6-stable (and file reported the same 'corrupted section header > size'). > > That doesn't prove that it will work with all programs, of course. > > > > never heard about it... is there any way how to "unpack" it, thus making > > it normal linux elf? > > Yep. 'upx -d' ok.. problem solved ;) given that we support the upx program with the ports collection