delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/05/15:43:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B1AC580.7090406@nc.rr.com>
Date: Sat, 05 Dec 2009 15:41:36 -0500
From: Ed Gaines <egaines AT nc DOT rr DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Eliot Moss <moss AT cs DOT umass DOT edu>, cygwin <cygwin AT cygwin DOT com>
Subject: Re: Confusion re: use of rebaseall vs. rebase to relieve BitDefender woes REDUX
References: <4B18F846 DOT 60300 AT cs DOT umass DOT edu> <4B196F53 DOT 6010603 AT nc DOT rr DOT com> <4B198B26 DOT 2030601 AT nc DOT rr DOT com> <4B1992A5 DOT 6000500 AT cs DOT umass DOT edu> <4B19A995 DOT 7060405 AT nc DOT rr DOT com> <4B19D7CA DOT 2050804 AT cs DOT umass DOT edu> <4B1AB37B DOT 70003 AT nc DOT rr DOT com>
In-Reply-To: <4B1AB37B.70003@nc.rr.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ed Gaines wrote:
> 
> Any reason I can't run the rebase and peflags commands from with 
> cmd.exe?  Are
> they "pure" windows executables, in other words?

I can't stand it.

In order to answer my own question cited above, I went back and ran a cmd.exe
window as administrator, and then tried to run rebase from within it:

     C:\cygwin>bin\rebase -d -b 0x61000000 -o 0x20000 -v -T dll_so.in > rebase.out
     ./bin/cyglsa64.dll: fixing bad relocations
     FixImage (./bin/cyglsa64.dll) failed with last error = 13

Okay, I expected that.  It happened last time, too.  So I edited the dll_so.in
file (with notepad) and removed cyglsa64.dll, and reran the above rebase command.
And got a result that I did NOT, expect:

     C:\cygwin>bin\rebase -d -b 0x61000000 -o 0x20000 -v -T dll_so.in > rebase.out
     ReBaseImage (./bin/cygwin1.dll) failed with last error = 6

As before, I searched for open cygwin dlls before and after running rebase. I
couldn't find any at all.  I tried searching for these dlls DURING the rebase,
but unfortunately the rebase command completes before the dll search completes.
So even though the dll search never found cygwin1.dll, I can't say for sure that
cygwin1.dll was NEVER in use during the process.

I'm just about ready to concede that, for whatever reason, I can't run cygwin
and BitDefender simultaneously on my Win 7 box.  Period.

-- Ed


--
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

- Raw text -


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