Bug 27043 - building Ada rts does not find 'as'
Summary: building Ada rts does not find 'as'
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.1.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on: 24382
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-05 14:00 UTC by Rolf Ebert
Modified: 2012-01-10 16:00 UTC (History)
2 users (show)

See Also:
Host: mingw32
Target: mingw32
Build: mingw32
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Ebert 2006-04-05 14:00:33 UTC
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
Comment 1 Francois-Xavier Coudert 2007-08-24 12:56:33 UTC
Same kind of thing happens for ld, see PR24382.
Comment 2 Kai Tietz 2012-01-10 16:00:33 UTC
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