delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/28/04:28:53

X-Spam-Check-By: sourceware.org
Date: Fri, 28 Apr 2006 10:28:29 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: newlib AT sourceware DOT org
Cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin build error
Message-ID: <20060428082829.GK28583@calimero.vinschen.de>
Reply-To: newlib AT sourceware DOT org
Mail-Followup-To: newlib AT sourceware DOT org, cygwin AT cygwin DOT com
References: <B6C33E7A8278A0408B707C9B491720D4045321 AT STEELPO DOT steeleye DOT com>
Mime-Version: 1.0
In-Reply-To: <B6C33E7A8278A0408B707C9B491720D4045321@STEELPO.steeleye.com>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

This is a newlib problem.  I've redirected this mail to the appropriate
list newlib AT sourceware DOT org.

On Apr 27 15:14, Ernie Coskrey wrote:
> I ran into the following problem building the latest cygwin snapshot:
> 
> configure: loading cache .././config.cache
> configure: error: `CFLAGS' has changed since the previous run:
> configure:   former value:  -O2 -g -O2  
> configure:   current value: -O2 -g -O2 
> configure: error: changes in the environment can compromise the build
> configure: error: run `make distclean' and/or `rm .././config.cache' and start over
> configure: error: /bin/sh '../../../../src/newlib/libc/configure' failed for libc
> 
> By piping the output to a file, I saw that the former value of CFLAGS is "-O2 -g -O2  " (two spaces), while the current value is "-O2 -g -O2 " (one space).  This causes the comparison in libc/configure to fail.
> 
> The way I've resolved this is to replace the following line:
> 
>       if test "x$ac_old_val" != "x$ac_new_val"; then
> 
> with
> 
>       if test "`echo $ac_old_val`" != "`echo $ac_new_val`"; then
> 
> wherever it appears in any "configure" script (there are 75 configure scripts that contain this test, BTW).  There may be a more elegant way around this, but I haven't found it.  Running "make distclean" or removing config.cache doesn't resolve the problem.
> 
> -----
> Ernie Coskrey       SteelEye Technology, Inc.    803-461-3875


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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