Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2007 10:08:16 -0600
From:      John E Hein <jhein@timing.com>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        freebsd-emulation@freebsd.org, Paolo Pisati <p.pisati@oltrelinux.com>
Subject:   Re: Linux_base-fc4/6, FreeBSD 6/7 and some Linux binaries
Message-ID:  <18017.38384.749310.450410@gromit.timing.com>
In-Reply-To: <20070602111412.GA2515@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18017.38384.749310.450410>