delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/22/14:02:49

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=o+Qw06yGenOSvHGuDMVTZLNvabyyVs
wzyRHL2Cfl7BWqyMZrG8H4qI1jK+Iw6viijenqHwqk2U4zpPShAnjXbG4Q4i+aJR
vFUbAKgOauugmYR53fpz17eRL2IvRWTEQYUiFKNsJ359gtyvSzK8dSLtJCfoptDR
ygRRF76vtEj2k=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=gk3IK0r+drpQrlARFdyj78qAXL8=; b=DSbT
pf61PcLmMjXdN5CZNMSV+6yIhB+804d7ga/kX4aY92LPV26JuFt5KWrrEjEqj8ak
YR4lek8w1LXqhHruPx+0SShAF+Vh8zJkJlGIP8kqgwuu7HPbDxg71LnckwuP/jRk
6gutdpNtOYyYtUoMde1x/IxRb45IlOGLyfSow+E=
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.5 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,RCVD_NUMERIC_HELO,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: jojelino <jojelino AT gmail DOT com>
Subject: Re: gcc-4.8.2-1: /bin/gcc fails
Date: Sat, 23 Nov 2013 04:02:08 +0900
Lines: 31
Message-ID: <l6o9mq$60f$1@ger.gmane.org>
References: <52749A63 DOT 70803 AT acm DOT org>
Mime-Version: 1.0
In-Reply-To: <52749A63.70803@acm.org>
X-IsSubscribed: yes

On 2013-11-02 PM 3:23, David Rothenberger wrote:
> With gcc-4.8.2-1, the following fails:
>
> % touch /tmp/t.c
> % /bin/gcc -c /tmp/t.c
> gcc: error: spawn: No such file or directory
>
> This works correctly if gcc is invoked as "gcc" or "/usr/bin/gcc".
> It also works correctly with 4.8.1.
>
> 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.
>
> I can work around the problem as follows:
>
> % ln -s /libexec /usr/libexec
>
This problem is caused by zero-byte of 
${builddir}/host-i686-pc-cygwin/specs
and the specs file is created by bootstrapped gcc executable.
the bootstrapped gcc crashes when generating specs file, which is the 
cause of the problem mentioned in this report. the maintainer of gcc 
should have experienced this problem.
to workaround this problem, the package maintainer needed to supress 
C{XX}FLAGS -static-libgcc -static-libstdc++ in 
host-i686-pc-cygwin/gcc/Makefile.
-- 
Regards.


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