Building on Windows XPSP2, NTFS file system using MSYS 1.0.10. If I don't specify --with-as to configure, the compilers (all) build well until stage3. Only when the stage3 compiler starts building the Ada run time system, it cannot find 'as' anymore: rm -f ../stamp-gnatlib touch ../stamp-gnatlib1 make -C rts \ CC="`echo \"./xgcc -B./ \" \ | sed -e 's,^\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'`" \ INCLUDES="-I. -I.. -I../.. -I/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada -I/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada/../config -I/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada/../../include -I/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada/.. -I./../.." \ CFLAGS="-g -O2 -fexceptions -DIN_RTS" \ srcdir=/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada \ -f ../Makefile adaint.o argv.o cio.o cstreams.o ctrl_c.o errno.o exit.o raise.o sysdep.o aux-io.o init.o initialize.o seh_init.o cal.o final.o tracebak.o expect.o mkdir.o socket.o raise-gcc.o make[7]: Entering directory `/d/Data/Development/gcc-cvs/build_4.1.0/gcc/ada/rts' ../../xgcc -B../../ -c -DIN_GCC `echo -g -O2 -fexceptions -DIN_RTS |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` -I. -I.. -I../.. -I/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada -I/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada/../config -I/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada/../../include -I/d/Data/Development/gcc-cvs/gcc-4.1.0/gcc/ada/.. -I./../.. adaint.c \ -o adaint.o ..\..\as: ..\..\as: No such file or directory make[7]: *** [adaint.o] Error 1 make[7]: Leaving directory `/d/Data/Development/gcc-cvs/build_4.1.0/gcc/ada/rts' make[6]: *** [gnatlib] Error 2 make[6]: Leaving directory `/d/Data/Development/gcc-cvs/build_4.1.0/gcc/ada' make[5]: *** [gnatlib-shared-win32] Error 2 make[5]: Leaving directory `/d/Data/Development/gcc-cvs/build_4.1.0/gcc/ada' make[4]: *** [gnatlib-shared] Error 2 make[4]: Leaving directory `/d/Data/Development/gcc-cvs/build_4.1.0/gcc/ada' make[3]: *** [gnatlib-shared] Error 2 make[3]: Leaving directory `/d/Data/Development/gcc-cvs/build_4.1.0/mingw32/libada' make[2]: *** [all-target-libada] Error 2 make[2]: Leaving directory `/d/Data/Development/gcc-cvs/build_4.1.0' make[1]: *** [all] Error 2 make[1]: Leaving directory `/d/Data/Development/gcc-cvs/build_4.1.0' make: *** [bootstrap] Error 2 The MinGW/MSYS maintainers suggested a bug report here rather than in MinGW bug-db. Rolf
Same kind of thing happens for ld, see PR24382.
Hmm, I assume this issue is already fixed for newer versions. I know that for more recent version native Ada builds were done successful in msys. Therefore closing it