X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=Cqq5z9BZ1dqZ+0LrDnwT0Csm6kmEreW9gSDDks1kZQ6FfJnmT3GZB
	hKaRYO6TMPBABm3RHuY23Jzr2ocJQUjWIl5HIHvilgX5z4vPJYAEI6Hu9AUyXEJw
	EOCxXhbEv8GDCFCk2LE3d+oq05tZl83mIQ4tLDDk/f/BVMgBe9O3AY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=/mMVMCbPnrQAf9uIMo1zHlpZHGc=; b=sJrjFiJikJYHQBSor0/XZWMX0Jc0
	5TqPnD87VPGeyi+m4V1cbrgkq2JKko0jrj7PUOyWlKBlsPP8QqQn9YubgbnDXQyB
	q2ZM0KaL0DMHhgsme2Ik2Ig9JhenF4n3N9eVLytGii4AtyfbkwBTfatvM5WnBvku
	rWuN1fWYOmL0Dkw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED autolearn=ham version=3.3.2
Date: Mon, 19 Aug 2013 11:11:12 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: binutils feature request: ld --disable-large-address-aware [PATCH]
Message-ID: <20130819091112.GA18757@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <520D2A71.3000109@t-online.de> <520FA685.801@t-online.de>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH"
Content-Disposition: inline
In-Reply-To: <520FA685.801@t-online.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Virus-Found: No

--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Christian,

On Aug 17 18:36, Christian Franke wrote:
> Christian Franke wrote:
> >A few programs are not compatible with --large-address-aware which
> >is enabled by default in current x86 ld. For example cdrkit,
> >dvd+rw-tools and smartmontools use IOCTL_SCSI_PASS_THROUGH_DIRECT
> >which apparently requires user buffers below 2GiB.
> >
> >Using "LDFLAGS=3D-Wl,--disable-large-address-aware" would be much
> >easier than adding an extra Cygwin specific "peflags
> >--bigaddr=3Dfalse *.exe" post-build step.
> >
> >(http://cygwin.com/ml/cygwin/2012-04/msg00342.html :-)
>=20
> With the attached patch, "gcc -Wl,--disable-large-address-aware ..."
> works as expected. Documentation update is missing.
>=20
> It would probably make sense to add a --enable-large-address-aware
> option as a synonym for --large-address-aware to keep enable/disable
> options consistent.

I think it makes sense to add options to manipulate the Windows-specific
header flags...

> There is a similar issue with --tsaware. It is enabled by default in
> spec file but cannot be disabled in gcc command line. I don't know
> whether there is a need for --disable-tsaware.

... even for tsaware though I don't think it's wise to remove this
flag from executables, given the impact.

Nevertheless, the binutils ML is the right place to send patches
and discuss these things.  You should send your patch their.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBAgAGBQJSEeEwAAoJEPU2Bp2uRE+gGYYP/RdrWIU4nqAE37U6X9CVMaDf
A/Wz9Bic/BiA0biKotOydU4fgENo6GysEZSQu/lKSAa4W/Bccy0lxtc4TIx6Igpl
9Nh2uEKwaKWpIqu7k5IXj/tIUbJhJ2ZSG7yDJJ4sikLuTtvnpN0kKqtCa4LTZRhu
AwbUs2Gj/tPeTtR4rNXBajNQHjQt+CqtZLno6hQUI3JyW1+8YJ/8fYTG9y1wvkoV
5EUtUBz5Azpu10P3oIwg66tnUkT8UkYOsVkXCHdJRL6wKWygkQXa+4NeN1DVtMCa
+eW4/Zjx/h842+bz9pCSpsWNRUSavL7VA0nZh+xSRnfrF7mJTa+TPzY2DrIt0zn1
aB1dxEnaokO5Pijxt62KBhmNu/1aLQI3J60dHqgtDwmrzlDBlcp9P6b5w7rKFZF+
ClJf4YFkbfvuJ/2q6VckFROZkjVjO61b+ol+F1tvBUK6i45k2gcGyVEm2F/4ZmOd
jr0lESfZlMJgnA9YlJk1ZUwQ6+oqFmFrOOovPn4fJA+4iFG03sSZxXl5jYJt+4lD
j3TFT5VvptlmKDedmuXCXBe83+yCCQ/1+348XxkKXh1RiXkkgtZ4ztX/qUS1ppxZ
66LhkRLNQyd+fqlPMBQJQQ8V2fzBszSKDSRj2rWAMdZ+xDJ0c7ngOnL63LzsvCsT
9NcUCF63lsckiQP4xXkF
=zshr
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--
