This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Aug 2017 11:54:31 +0000
- Subject: [Bug ada/81878] --disable-bootstrap --enable-languages=ada fails
- Auto-submitted: auto-generated
- References: <bug-81878-4@http.gcc.gnu.org/bugzilla/>
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.