X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: /beta/bnu217b.zip won't work in pure DOS (UPX bug??) Date: Thu, 27 Mar 2008 16:11:37 -0700 (PDT) Organization: http://groups.google.com Lines: 25 Message-ID: <399e419e-7325-4a50-91c1-09d15037dc7b@a22g2000hsc.googlegroups.com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1206659497 13084 127.0.0.1 (27 Mar 2008 23:11:37 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 27 Mar 2008 23:11:37 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: a22g2000hsc.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hey, It's been seven months since I reported /beta/BNU217B.ZIP was too big because it still had debug info and hadn't been stripped. And I've been using the latest Binutils 2.17 on both XP and Vista with no apparent problems. However, after Gordon (I think) updated the package, he also UPX'd the binaries. Well, I've been using GCC 3.44 (and BNU2161B.ZIP) on my old P166 (DR-DOS only, heh) for quite a while, but I recently decided to upgrade. And it didn't work, something was wrong (GPF whenever running, trying to compile latest NASM). I finally found out that it was Binutils causing the problem (e.g. AS.EXE, which is kinda important). It may be a UPX bug (at the very least, UPX 3.02 won't unpack it!!), but I dunno. All I know is that /beta/BNU217B.ZIP doesn't work in pure DOS or DOSBox (although QEMU/FreeDOS and things like XP or Vista work fine): "invalid opcode" just for trying "as -- version" or "objdump --help". It was packed with UPX 3.01. The workaround is to just use /current/BNU217B.ZIP instead (which uses the 2.04 stub unlike /beta/MAK381B.ZIP or /beta/DIF287B.ZIP or / beta/PAT259B.ZIP, strangely). It was packed with UPX 2.93. I also recompiled Binutils myself (.EXEs only, see link below for download info). More detailed info can be found below: http://sourceforge.net/tracker/index.php?func=detail&aid=1889631&group_id=2331&atid=102331