[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 17 13:55:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81878
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> As can be seen in the result:
>
> make[3]: Entering directory '/tmp/obj/gcc/ada/tools'
> gcc -c -g -O2 -W -Wall -gnatpg -gnata -I- -I../rts -I.
> -I/tmp/trunk2/gcc/ada ../rts/s-casuti.adb -o s-casuti.o
> s-casuti.adb:32:08: warning: unrecognized pragma "Compiler_Unit_Warning"
> s-casuti.ads:40:08: warning: unrecognized pragma "Compiler_Unit_Warning"
> ../gcc-interface/Makefile:296: recipe for target 's-casuti.o' failed
> make[3]: *** [s-casuti.o] Error 1
>
> so the host ada compiler (gnat 4.8) doesn't work for this part. With
> cross-compiling we require a host compiler matching the target one, right?
Right, the tools always require a matching compiler, i.e. need a bootstrap.
More information about the Gcc-bugs
mailing list