This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Could not build newlib with gcc 4.1.2


-------- Original-Nachricht --------
Datum: Tue, 27 Mar 2007 09:21:29 +0200
Von: Luca Barbato <lu_zero@gentoo.org>
An: Klaus Rudolph <lts-rudolph@gmx.de>
Betreff: Re: Could not build newlib with gcc 4.1.2

> Klaus Rudolph wrote:
> > Hi all,
> > 
> > I got the following errors:
> > 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS='
> > 'build_alias=i686-pc-linux-gnu' 'host_alias=arm-elf'
> > 'target_alias=arm-elf' --cache-file=.././config.cache
> > --srcdir=../../../../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
> > 
> > after removing config.cache I could continue but the build crashes at:
> > 
> > make[4]: Entering directory
> `/home/zfrdh/work/gcc-4.1.2/build_arm/arm-elf/newlib/libc'
> > make[4]: *** No rule to make target `all'.  Stop.
> > make[4]: Leaving directory
> `/home/zfrdh/work/gcc-4.1.2/build_arm/arm-elf/newlib/libc'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory
> `/home/zfrdh/work/gcc-4.1.2/build_arm/arm-elf/newlib'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> `/home/zfrdh/work/gcc-4.1.2/build_arm/arm-elf/newlib'
> > make[1]: *** [all-target-newlib] Error 2
> > make[1]: Leaving directory `/home/zfrdh/work/gcc-4.1.2/build_arm'
> > make: *** [all] Error 2
> > 
> > 
> > Any ideas?
> 
> Looks like the brain damaged configure check got triggered again, it is
> strange since we tried to cleanup our cflags before passing them, try to
>  strip your flags directly (the problem are stray whitespaces left after
> cflags stripping).
> 
> I hope it helps.
> 
> lu

Sorry,

the CFLAGS problem is solved with removing the config.cache file I hope.
But I could not continue my build while "not rule to make target all" 
is a show stopper. What could I do?

Thanks
 Klaus

-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]