delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/02/28/12:59:34

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CFB693854838
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=nexgo.de
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=Stromeko AT nexgo DOT de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de;
s=vfde-smtpout-mb-15sep; t=1614535154;
bh=Hzdi9cPGqP53yR0Sanoo2vqibkTB94gTysq/W+1yW5o=;
h=From:To:Subject:References:Date:In-Reply-To;
b=lywc0eodyPiYweGjGaEBl7FaTCJ4eGOoapWR/xKX3WDLusucL+0Xtiufej+00ntx1
G2444EQe57A0KaBP3uaVSJ9HSOoUuLDwevR7JWMnIbO8htNAWAE4AUOUJ1hnzwyEuK
EWuK28t1LqnaFzaIZiVZ9iWeLrtVEvQFMGoHrm48=
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin + binutils 2.36 + ASLR/dynamicbase defaults
References: <CAE6_+UewLqP2Tf5FphSqzG21_P-AnXdBjZ+-5-LwJy5n4fXMqg AT mail DOT gmail DOT com>
<87zgzo9zpa DOT fsf AT Otto DOT invalid>
<CAE6_+UeJNP_iDG+gSDzNHxDFcnC0mBh2Gj4usU=GGzV1=JtEHg AT mail DOT gmail DOT com>
<87r1l09tmh DOT fsf AT Otto DOT invalid>
<CAE6_+UfdqOrCAntLaeHWU+QQVaLNAuSJVgLeWi0Ryekrpd=L-A AT mail DOT gmail DOT com>
Date: Sun, 28 Feb 2021 18:58:54 +0100
In-Reply-To: <CAE6_+UfdqOrCAntLaeHWU+QQVaLNAuSJVgLeWi0Ryekrpd=L-A@mail.gmail.com>
(Christoph Reiter via Cygwin's message of "Sun, 28 Feb 2021 15:34:38
+0100")
Message-ID: <87eeh0cbvl.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
X-purgate-type: clean
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate: This mail is considered clean (visit http://www.eleven.de for
further information)
X-purgate: clean
X-purgate-size: 1633
X-purgate-ID: 155817::1614535149-000006DE-320F6771/0/0
X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Christoph Reiter via Cygwin writes:
> To clarify: I was referring to non-cygwin targets. I had assumed you
> meant that by "cross compilation toolchain".

Then maybe I don't understand what you meant when you said you've built
MSys2 packages with ASLR on.  The MingW-W64 toolchains indeed target
Windows, but the code you compile it with may not exactly be meant to be
used that way.

I'd like to caution again that the appearance of anything working is
unfortunately different from it actually working.  I've been seriously
trying to enable ASLR on Cygwin several years ago (some vestiges of
which are still in the autorebase scripts).  After the first rounds of
ironing out the (now obvious) kinks, it was always in a state of "almost
working" until the day it didn't or the next installation that just
never got off the ground (keep in mind these were all installations on
pretty much identical hardware from a single master image).

> We've only needed this to to work around linker errors, so it's pretty
> clear when it is needed as the build will fail.

A linker error should just show up when this hits, so yes that's easier
to figure out.  I'm more concerned about those problems that won't show
up until much later.

> Anyway, maybe the linked patches can be helpful to you.

Yes, thanks for the links.  I'm not sure how relevant those are for
Cygwin yet, but I'll have a look in more detail later.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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