public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mark Geisert <mark@maxrnd.com>
To: cygwin@cygwin.com
Subject: Re: Problem with execution of binary file
Date: Mon, 07 Nov 2011 19:26:00 -0000	[thread overview]
Message-ID: <loom.20111107T201338-583@post.gmane.org> (raw)
In-Reply-To: <1320659540.5480.243.camel@kare-desktop>

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 <http://cygwin.com/acronyms/#PPIOSPE> 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.

..mark


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2011-11-07 19:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-07  9:55 Edvardsen Kåre
2011-11-07 19:26 ` Mark Geisert [this message]
2011-11-08 10:02   ` Mark Geisert
2011-11-08 10:08     ` Mark Geisert
  -- strict thread matches above, loose matches on Subject: below --
2011-11-08 11:22 Edvardsen Kåre
     [not found] <1320325271.5480.163.camel@kare-desktop>
2011-11-03 13:19 ` Edvardsen Kåre
2011-11-03 12:21 Edvardsen Kåre
2011-11-03 12:53 ` Corinna Vinschen
2011-11-03 13:22 ` Eliot Moss
2011-11-03 14:11   ` Edvardsen Kåre
2011-11-03 19:54     ` Mark Geisert
2011-11-03 21:57 ` Eliot Moss
2011-11-04  1:54   ` Eliot Moss
2011-11-04  8:51   ` Edvardsen Kåre
2011-11-04 10:50     ` Eliot Moss
2011-11-04 12:34       ` Edvardsen Kåre
2011-11-04 17:56         ` Mark Geisert
2011-11-04 18:00           ` Eliot Moss
2011-11-04 18:21             ` Mark Geisert
2011-11-05  9:52               ` David Sastre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20111107T201338-583@post.gmane.org \
    --to=mark@maxrnd.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).