> I'm a bit late to the party, but while building a new cross for
> --target=alpha-linux (with a somewhat recent gcc), I see this
> error since this commit:
> 
> [...]
> /usr/lib/gcc-snapshot/bin/gcc -c -g -O2    -gnatpg -gnata -W -Wall -fno-PIE
> -nostdinc -I- -I. -Iada/generated -Iada
> -I/home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada -Iada/libgnat
> -I/home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada/libgnat
> -Iada/gcc-interface
> -I/home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada/gcc-interface
> /home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada/libgnat/g-cstyin.adb -o
> ada/libgnat/g-cstyin.o a-sttebu.ads:79:09: error: expected type
> "Standard.Boolean"
> a-sttebu.ads:79:09: error: found type "Ada.Tags.Cstring_Ptr"
> a-sttebu.ads:79:09: error: expected type "Standard.Boolean"
> a-sttebu.ads:79:09: error: found type "Ada.Tags.Tag_Ptr"
> a-sttebu.ads:79:09: error: expected type "Ada.Tags.Cstring_Ptr"
> a-sttebu.ads:79:09: error: found type "Standard.Boolean"
> a-sttebu.ads:79:09: error: expected type "Ada.Tags.Tag_Ptr"
> a-sttebu.ads:79:09: error: found type "Standard.Boolean"
> make[1]: ***
> [/home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada/gcc-interface/Make-lan
> g.in:164: ada/libgnat/g-cstyin.o] Error 1 make[1]: Leaving directory
> '/home/jenkins/workspace/gcc-alpha-linux/gcc-build-dir/gcc' make: ***
> [Makefile:4776: all-gcc] Error 2
> 
> That GCC is from Debian's `gcc-snapshot` package:
> gcc (Debian 20260216-1) 16.0.1 20260216 (experimental) [trunk
> r16-7529-g5388fd3a3b6]\nCopyright (C) 2026 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
>   As I don't have a clue about Ada, I don't know if it's that GCC 16
> to blame (and this patch just uncovered it), or if that's an actual
> issue with this patch.

Can you delete the previous install tree and retry the build?

-- 
Eric Botcazou


Reply via email to