This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with execution of binary file

Edvardsen KÃre writes:
> The well working installation was kept on the HD in it's own renamed (C:
> \cygwin.good) folder when I installed the latest version. The
> installation went through like it was the first time I installed cygwin,
> I hope this is ok?

First, kindly <> keep this on the mailing
list and out of private email.  Thanks.

I've done similar in the past, and it seems to work OK as long as you stop *all*
Cygwin processes before switching directories like that.  Can't have a
background sshd running, for instance.

> Then, I installed my "problem software" on the latest
> version - which failed. I even rebuilt the "problem software" on the
> well working installation and it works perfectly. My experience is that
> I can swich between these two versions just by renaming the cygwin
> folder so I only have one C:\cygwin folder at the time (I rename the
> other to C:\cygwin.bad or good, depending on which one I run).
> I've attached the objdump and cygcheck output from both the good and bad
> installations. Clearly, the bad objdump returns stuff that tells me the
> compilation of my binary did not turn out right in one case. Maybe one
> of you can see what's going wrong at some stage?

The first thing that jumps out is SizeOfUninitializedData is 949MB in the good
image but 3227MB (!) in the bad image.  Even on Windows 7 that you're running I
wonder if there's an OS or linker issue building an image with over 3GB of
uninitialized data.

The flip side of that is, why is that different in the two images if you're
using the same commands to build them?  I haven't yet diff'd the two cygchecks
you sent but maybe that'll lead somewhere.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]