error while building from CVS

2007-08-21 Thread Bobby McNulty
While building the cygwin1.dll, from CVS, I get the following just as it 
is configuring in they cygwin and winsup areas. newlib built just fine.



configure: configuring in cygwin
configure: running /bin/sh '../../../../src/winsup/cygwin/configure' 
--prefix=/t
emp/usr  '--cache-file=./config.cache' '--with-newlib' 
'--enable-multilib' '--pr
efix=/temp/usr' '--program-transform-name=s,y,y,' 
'--with-target-subdir=i686-pc-
cygwin' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' 
'--target=i686-pc-cygwi
n' '--srcdir=../../../src/winsup' 'CC=gcc 
-L/home/bobby/winsup/o/i686-pc-cygwin/
winsup -L/home/bobby/winsup/o/i686-pc-cygwin/winsup/cygwin 
-L/home/bobby/winsup/
o/i686-pc-cygwin/winsup/w32api/lib -isystem 
/home/bobby/winsup/src/winsup/includ
e -isystem /home/bobby/winsup/src/winsup/cygwin/include -isystem 
/home/bobby/win
sup/src/winsup/w32api/include 
-B/home/bobby/winsup/o/i686-pc-cygwin/newlib/ -isy
stem /home/bobby/winsup/o/i686-pc-cygwin/newlib/targ-include -isystem 
/home/bobb
y/winsup/src/newlib/libc/include' 'CFLAGS=-O2 -O2 ' 'CPPFLAGS=' 
'CXXFLAGS=-g -O2
' 'CXX=g++ -L/home/bobby/winsup/o/i686-pc-cygwin/winsup 
-L/home/bobby/winsup/o/
i686-pc-cygwin/winsup/cygwin 
-L/home/bobby/winsup/o/i686-pc-cygwin/winsup/w32api
/lib -isystem /home/bobby/winsup/src/winsup/include -isystem 
/home/bobby/winsup/
src/winsup/cygwin/include -isystem 
/home/bobby/winsup/src/winsup/w32api/include
-B/home/bobby/winsup/o/i686-pc-cygwin/newlib/ -isystem 
/home/bobby/winsup/o/i686
-pc-cygwin/newlib/targ-include -isystem 
/home/bobby/winsup/src/newlib/libc/inclu
de' 'LDFLAGS=' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 
'target_
alias=i686-pc-cygwin' --cache-file=.././config.cache 
--srcdir=../../../../src/wi

nsup/cygwin
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -O2
configure:   current value: -O2 -O2
configure: error: `CXXFLAGS' has changed since the previous run:
configure:   former value:  -g -O2
configure:   current value: -g -O2
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and 
start o

ver
configure: error: /bin/sh '../../../../src/winsup/cygwin/configure' 
failed for c

ygwin
make[1]: *** [configure-target-winsup] Error 1
make[1]: Leaving directory `/home/bobby/winsup/o'
make: *** [all] Error 2


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



RE: error while building from CVS

2007-08-21 Thread Dave Korn
On 21 August 2007 20:31, Bobby McNulty wrote:


 configure: loading cache .././config.cache
 configure: error: `CFLAGS' has changed since the previous run:
 configure:   former value:  -O2 -O2
 configure:   current value: -O2 -O2
 configure: error: `CXXFLAGS' has changed since the previous run:
 configure:   former value:  -g -O2
 configure:   current value: -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/winsup/cygwin/configure'
 failed for cygwin


  Argh, not that one again!


You could try http://sourceware.org/ml/newlib/2006/msg00607.html
or http://sourceware.org/ml/newlib/2007/msg00096.html


You could also browse any of...


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32078
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01665.html
http://sourceware.org/ml/newlib/2007/msg00425.html


... there are more...


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: error while building from CVS

2007-08-21 Thread Bobby McNulty

Dave Korn wrote:

On 21 August 2007 20:31, Bobby McNulty wrote:


  

configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -O2
configure:   current value: -O2 -O2
configure: error: `CXXFLAGS' has changed since the previous run:
configure:   former value:  -g -O2
configure:   current value: -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/winsup/cygwin/configure'
failed for cygwin




  Argh, not that one again!


You could try http://sourceware.org/ml/newlib/2006/msg00607.html
or http://sourceware.org/ml/newlib/2007/msg00096.html


You could also browse any of...


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32078
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01665.html
http://sourceware.org/ml/newlib/2007/msg00425.html


... there are more...


cheers,
  DaveK
  

Dave, I am using the gcc you built, which worked fine. Its in the make file.
I am running windows XP professional with service pack number 2.
Fully patched as of today. This problem showed up Saturday.
I know it was reported then by some one else, but I was using another 
email client

(Outlook) and could not respond. (html instead of ascii)

I was waiting for someone to notice it under winsup. That is where this 
one is at.

I am not running a snapshot of the cygwin dll. Though I will try that next.
Bobby

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



Re: error while building from CVS

2007-08-21 Thread Brian Dessent
Bobby McNulty wrote:

 I was waiting for someone to notice it under winsup. That is where this
 one is at.
 I am not running a snapshot of the cygwin dll. Though I will try that next.

This has nothing to do with the Cygwin DLL, or the version of gcc.  It's
an issue with how the various configure macros are written and how
autoconf deals with cacheing.  Just delete the config.cache file and
continue.

Brian

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



RE: error while building from CVS

2007-08-21 Thread Dave Korn
On 21 August 2007 21:49, Brian Dessent wrote:

 Bobby McNulty wrote:
 
 I was waiting for someone to notice it under winsup. That is where this one
 is at. I am not running a snapshot of the cygwin dll. Though I will try that
 next. 
 
 This has nothing to do with the Cygwin DLL, or the version of gcc.  It's
 an issue with how the various configure macros are written and how
 autoconf deals with cacheing.  Just delete the config.cache file and
 continue.
 
 Brian

  Won't work.  Even from clean, the second time round has a stray space appended
to the value of the FLAGS variable.  You gotta patch the makefile.in to remove
it.  Since we're all about gmake here, $(strip ...) would work.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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