In ./scripts/Config under Build System Configuration, turn on 'Create
debug information (xtrace) for builds

You probably already have 'Keep src dirs on build errors' set too.

It looks like there is a problem with something in the build wrappers or
scripts. Turning on the xtrace will make all of that visible. It is
actually quite informative - makes working with t2 a real pleasure.

Bob G

On Sat, 2010-02-13 at 17:11 +0100, Uwe Dlouhy wrote:
> Hello Bob,
> 
> here is my ERROR-LOG...
> 
> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
> -I../../fixincludes -I../include -I../../fixincludes/../include
> ../../fixincludes/fixincl.c
> no
> This target does not support --with-cpu.
> Valid --with options are: part arch
> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
> -I../../fixincludes -I../include -I../../fixincludes/../include
> ../../fixincludes/fixtests.c
> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
> -I../../fixincludes -I../include -I../../fixincludes/../include
> ../../fixincludes/fixfixes.c
> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
> -I../../fixincludes -I../include -I../../fixincludes/../include
> ../../fixincludes/server.c
> ../../fixincludes/server.c: In function 'server_setup':
> ../../fixincludes/server.c:195: warning: ignoring return value of 'getcwd',
> declared with attribute warn_unused_result
> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
> -I../../fixincludes -I../include -I../../fixincludes/../include
> ../../fixincludes/procopen.c
> make[1]: *** [configure-gcc] Error 1
> make[1]: *** Waiting for unfinished jobs....
> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
> -I../../fixincludes -I../include -I../../fixincludes/../include
> ../../fixincludes/fixlib.c
> gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
> -I../../fixincludes -I../include -I../../fixincludes/../include
> ../../fixincludes/fixopts.c
> srcdir="../../fixincludes" /bin/sh ../../fixincludes/mkfixinc.sh
> avr32-t2-linux-uclibc
> sed -e 's/@gcc_version@/4.2.2/' < mkheaders.almost > mkheadersT
> mv -f mkheadersT mkheaders
> gcc -g -O2  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o
> fixlib.o fixopts.o ../libiberty/libiberty.a
> echo timestamp > full-stamp
> make[2]: Leaving directory
> `/home/uwe/t2-trunk/src.gcc.system.20100207.004552.2694.ubuntu/gcc-4.2.2/obj
> dir/fixincludes'
> make[1]: Leaving directory
> `/home/uwe/t2-trunk/src.gcc.system.20100207.004552.2694.ubuntu/gcc-4.2.2/obj
> dir'
> make: *** [all] Error 2
> Due to previous errors, no 0-gcc.log file!
> (Try enabling xtrace in the config to track an error inside the build
> system.)
> --- BUILD ERROR ---
> Creating file list and doing final adaptions ... 
> Searching for orphaned files ...
> Found 5 files for this package.
> Found 0 orphaned files for this package.
> Clear (old) md5sums ...
> Creating md5sum files ... done.
> Creating package description ...
> Making post-install adaptions.
> 



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to