delorie.com/djgpp/bugs/show.cgi   search  
Bug 000377

When Created: 08/27/2005 11:19:09
Against DJGPP version: 2.03
By whom: Blairdude@gmail.com
Abstract: UPX fails with GCC 4.01
I have encountered a problem where UPX refuses to compress exes compiled with the latest GCC.  This did not happen with the 3.xx series.  The message that UPX gives is 'unsupported COFF header'.  Perhaps there could be an option to specify useage of older headers?  Or could someone fix UPX to recognize the new format?

Note added: 08/29/2005 20:44:43
By whom: Blairdude@gmail.com
I've done some more testing, and it turns out that the problem only occurs if there are external libraries linked in.

Solution added: 06/02/2007 00:55:25
By whom: andris.pavenis@iki.fi
UPX old versions up to 1.24 failed to correctly compress
DJGPP executables. They run OK, but after decompressing
to non-compressed state crashed. As result when 1.25 refused
to compress DJGPP executables, which this situation were
detected. The problem was fixed beginning from UPX version 1.93.
Now we have 3.0.

So I guess this bug should be closed as fixed



  webmaster     delorie software   privacy  
  Copyright © 2010   by DJ Delorie     Updated Jul 2010