can't build for z8k-coff

Christian Groessler chris@groessler.org
Mon Jun 4 18:10:00 GMT 2007


Hi Jeff,

On Mon, 4 Jun 2007, Jeff Johnston wrote:

>   I am skeptical that the patch is at fault since no other embedded platforms
> are reporting problems.

I tried going back in one month decrements until it worked again.
It didn't work until I checked out with -D20060411, but with -D20060412 
it fails a bit differently than current HEAD:

configure: configuring in libc
configure: running /bin/sh '../../../../src-pre/newlib/libc/configure' --prefix=/tmp/xxx  '--cache-file=./config.cache' 
'--build=i686-pc-linux-gnu' '--host=z8k-coff' '--target=z8k-coff' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' 
'--prefix=/tmp/xxx' '--program-transform-name=s,^,z8k-coff-,; ' '--with-target-subdir=z8k-coff' '--srcdir=../../../src-pre/newlib' 
'CC=z8k-coff-gcc -B/local/newlib-cvs/b-test/z8k-coff/newlib/ -isystem /local/newlib-cvs/b-test/z8k-coff/newlib/targ-include -isystem 
/local/newlib-cvs/src-pre/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 
'host_alias=z8k-coff' 'target_alias=z8k-coff' --cache-file=.././config.cache --srcdir=../../../../src-pre/newlib/libc
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-pre/newlib/libc/configure' 
failed for libc
make[1]: *** [configure-target-newlib] Error 1
make[1]: Leaving directory `/local/newlib-cvs/b-test'
make: *** [all] Error 2


>   Can you please perform a fresh build into a completely empty build
> directory?  Specify full directory paths for now and save the output of both
> your configure and build.  Perhaps a tool isn't configuring properly for some
> reason.

Attached. I used cvs HEAD from right now.

regards,
chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-out.bz2
Type: application/octet-stream
Size: 9428 bytes
Desc: make-out.bz2
URL: <http://sourceware.org/pipermail/newlib/attachments/20070604/eff3b162/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conf-out.bz2
Type: application/octet-stream
Size: 869 bytes
Desc: conf-out.bz2
URL: <http://sourceware.org/pipermail/newlib/attachments/20070604/eff3b162/attachment-0001.obj>


More information about the Newlib mailing list