public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error building GCC trunk on CELL SPU
@ 2008-03-04  8:59 Revital1 Eres
  2008-03-04 18:10 ` Ralf Wildenhues
  0 siblings, 1 reply; 2+ messages in thread
From: Revital1 Eres @ 2008-03-04  8:59 UTC (permalink / raw)
  To: gcc-help


Hello,

I get the following error message trying to build trunk r132854 on CELL
SPU:

 -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=powerpc64-unknown-linux-gnu'
'host_alias=spu' 'target_alias=spu' --cache-file=.././config.cache
--srcdir=../../../../gcc/newlib/libc
configure: loading cache .././config.cache
configure: error: `CFLAGS' 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 '../../../../gcc/newlib/libc/configure' failed
for libc
make[1]: *** [configure-target-newlib] Error 1
make[1]: Leaving directory `/home/tehila/nfs/mainline_new/build_org'
make: *** [all] Error 2

It might be introduced by a recent change to the calculation of
CFLAGS_FOR_TARGET.
Deleting config.cache file does not seem to help.

I appreciate any help.

Thanks,
Revital

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error building GCC trunk on CELL SPU
  2008-03-04  8:59 Error building GCC trunk on CELL SPU Revital1 Eres
@ 2008-03-04 18:10 ` Ralf Wildenhues
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Wildenhues @ 2008-03-04 18:10 UTC (permalink / raw)
  To: gcc-help

Revital1 Eres <ERES <at> il.ibm.com> writes:
> 
>  -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=powerpc64-unknown-linux-gnu'
> 'host_alias=spu' 'target_alias=spu' --cache-file=.././config.cache
> --srcdir=../../../../gcc/newlib/libc
> configure: loading cache .././config.cache
> configure: error: `CFLAGS' has changed since the previous run:
> configure:   former value:  -g -O2
> configure:   current value: -g -O2

> It might be introduced by a recent change to the calculation of
> CFLAGS_FOR_TARGET.
> Deleting config.cache file does not seem to help.

This should help:
  find $top_builddir -name config.cache | xargs rm

or, in this case,
  rm newlib/libc/config.cache

but since you may run into a similar error in other directories, just
use the former, until this issue is fixed.

Cheers,
Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-04 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-04  8:59 Error building GCC trunk on CELL SPU Revital1 Eres
2008-03-04 18:10 ` Ralf Wildenhues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).