Hi,
I am compiling arm-elf-gcc using mingw on Windows XP through msys, and
although the C compiler compiles there is output near the end, which
includes a file error for fixincludes. The file doesn't exist after the
build.
...
sed: Couldn't open file C:\Temp\fxinc2;
FS error 2 (No such file or directory) reopening 'math.h' as stdin
sed: -e expression #10, char 39: Unterminated `s' command
sed: read error on {standard input}: Bad file number
Applying sun_malloc to malloc.h
Applying broken_cabs to math.h
Applying sysv68_string to string.h
Applying stdio_va_list_clients to wchar.h
...
When I try and run the compiler tests with make -k check I get the
following output:
...
$ make -k check
make[1]: Entering directory `/mingw/src/build-gcc'
make[2]: Entering directory `/mingw/src/build-gcc/fixincludes'
autogen -T ../../gcc-4.1-20070604/fixincludes/check.tpl
../../gcc-4.1-20070604/fixincludes/inclhack.def
/bin/sh ./check.sh ../../gcc-4.1-20070604/fixincludes/tests/base
FS error 2 (No such file or directory) reopening 'testing.h' as stdin
sed: -e expression #10, char 39: Unterminated `s' command
FS error 2 (No such file or directory) reopening 'testing.h' as stdin
sed: -e expression #10, char 39: Unterminated `s' command
FS error 2 (No such file or directory) reopening 'AvailabilityMacros.h'
as stdin
FS error 2 (No such file or directory) reopening 'X11/ShellP.h' as stdin
FS error 2 (No such file or directory) reopening 'X11/Xmu.h' as stdin
...
So I can't test the patch that I was previously enquiring about. The
trouble is, I cannot find any reference to sed commands which are
generating the errors - I just don't know where to start looking for
clues. Can anyone suggest where to start looking?
Make -k check finally exits with:
...
/bin/sh: runtest: command not found
make[2]: [check-gcc] Error 127 (ignored)
make[2]: Leaving directory `/mingw/src/build-gcc/gcc'
make[2]: Entering directory `/mingw/src/build-gcc/intl'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/mingw/src/build-gcc/intl'
make[2]: Entering directory `/mingw/src/build-gcc/libcpp'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/mingw/src/build-gcc/libcpp'
make[2]: Entering directory `/mingw/src/build-gcc/libiberty'
make[3]: Entering directory `/mingw/src/build-gcc/libiberty/testsuite'
./test-demangle <
../../../gcc-4.1-20070604/libiberty/testsuite/demangle-expected
c:\msys\1.0\mingw\src\build-gcc\libiberty\testsuite\test-demangle.exe:
748 tests, 0 failures
./test-pexecute
make[3]: Leaving directory `/mingw/src/build-gcc/libiberty/testsuite'
make[2]: Leaving directory `/mingw/src/build-gcc/libiberty'
make[1]: Target `check-host' not remade because of errors.
make[1]: Nothing to be done for `check-target'.
make[1]: Leaving directory `/mingw/src/build-gcc'
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.
...
Any pointers are much appreciated!
Best Regards,
Brian Sidebotham.