delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/02/05:36:54

X-Recipient: archive-cygwin AT delorie DOT 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=lc0n6EUX6kTM6aFIZJOGPYwLVLtjxHXWePUG7K278MdQpPE67W2wa
rGdN3LPKsDKhxvFh/fp7mb9jEAzyfgaFH6yZsupx8nwswNnLU1ZNyfdoF8+IF7ud
Le8PzvDvyjYiUj3EPsE7+0bvHbIVCuo1Vfh9h6NJFuG+oe00DjJDqI=
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=m611EzMa4zl0JEMbh3S+4iFHbLQ=; b=HUFjub0G19p8OxzK+b/BJ5G2fuAO
bJciHdLQdfg2EzNFzVvHGlUogintYWhooPcb9a/p0FFEruV6iEsJUxW/dTUMv2Fu
wPrFC3SuN21wP2baLSZJeJq7fDhckfkf1tfMHXZQLGVM1Oc7iGHSIExa7w5Nvb77
JhxDqf77FQV17ck=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sat, 2 Nov 2013 10:36:35 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gcc-4.8.2-1: /bin/gcc fails
Message-ID: <20131102093635.GB25012@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <52749A63 DOT 70803 AT acm DOT org>
MIME-Version: 1.0
In-Reply-To: <52749A63.70803@acm.org>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Nov  1 23:23, David Rothenberger wrote:
> With gcc-4.8.2-1, the following fails:
>=20
> % touch /tmp/t.c
> % /bin/gcc -c /tmp/t.c
> gcc: error: spawn: No such file or directory
>=20
> This works correctly if gcc is invoked as "gcc" or "/usr/bin/gcc".
> It also works correctly with 4.8.1.
>=20
> It appears this is due to a change from /usr/lib to /usr/libexec.
> /bin/gcc attempts to find cc1 under "/bin/../libexec/...". In 4.8.1,
> this was "/bin/../lib/...", which works because /lib is mapped to
> /usr/lib by Cygwin. /usr/bin/gcc uses "/usr/bin/../libexec" which
> also works fine.
>=20
> I can work around the problem as follows:
>=20
> % ln -s /libexec /usr/libexec

Uh oh.  That's bad.  Maybe it wasn't such a good idea to switch
libexecdir from /usr/lib to /usr/libexec?  It breaks applications
using relative paths to search other application components when
run from /bin.

Either we revert libexecdir to /usr/lib, or we will need to add an
automount point /libexec -> /usr/libexec as for /bin and /lib.


Corinna

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

--9zSXsLTf0vkW971A
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJSdMejAAoJEPU2Bp2uRE+gQ/MP/1xBZyURwU1Rasi/sD0yHDcI
t855N8Qf7XomrCt9wCjTV5VaacNztQ7TVZM8bspJKhPrbF7zqGnD/AUtPVjRO7vC
W+8yTUjC1e2SdIP5u7e7JQC2z16L7UitO/G+fRF9j4E71NhcUiVd8JQ6xQLX9+7F
FQpep07KHDuIuDZXjl90lZpCq7q5G1DIVCjOKZgVmjojk6gWfPN9FuQw3KI9aQsB
q7oFmgLhBPNKBn+qfuL/kaD3q1tPwoKpjujrEANyLfgl89CosUCvyMAoXXYighpz
+C8NaofSIPgWtQYIICG3jbC9vS4wdqTUiXeC8d3coD9TGZb49V/9AJ9xj8Kk1L3g
3+eMvQQLiuGqN10aqL2/fX4VOdzrPqIjFDixytRQPEFmZElGTo/WthRWQwzsGCgm
B79vBw6PiE7meTL2aMqYXGGRUfnHcHmWYXDOkKRx/UXAnNtbyxpdc5MVATgPHxrx
JXYFHykzXfVPTK895ehqaZsjhOWT5I13xM65tlYby8rVNKZ385U65mOvHlnyiijC
LonShvdMbTKC0OpOvBnl7BNpqI7d/ugrTmUovW6VnIfG7GVg+ho2rfGDcEljJa8s
O44qarlbA86P1S4ODqWNzaoJ7w4bariTmJrmOIGwsBCB6DsL5pIgjrSRfOR/6YGI
OnMHA9kY4L86vY1CB5DJ
=mOWf
-----END PGP SIGNATURE-----

--9zSXsLTf0vkW971A--

- Raw text -


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