On Jun 10 2025, Marc Poulhiès wrote:

> From: Eric Botcazou <[email protected]>
>
> The files are not compiled into libgnat.a but are nevertheless installed
> in the adainclude directory, which is unwanted.
>
> gcc/ada/ChangeLog:
>
>       * Makefile.rtl (ADA_EXCLUDE_SRCS): Add the 128-bit support files.
>
> Tested on x86_64-pc-linux-gnu, committed on master.

This breaks build for powerpc64:

make[7]: Entering directory '/daten/gcc/gcc-20250901/Build/gcc/ada/rts'
/daten/gcc/gcc-20250901/Build/./gcc/xgcc -B/daten/gcc/gcc-20250901/Build/./gcc/ 
-B/usr/powerpc64-suse-linux/bin/ -B/usr/powerpc64-suse-linux/lib/ -isystem 
/usr/powerpc64-suse-linux/include -isystem 
/usr/powerpc64-suse-linux/sys-include    -c -g -O2  -fPIC -fno-lto  -W -Wall 
-gnatpg -nostdinc   a-nbnbin.adb -o a-nbnbin.o
a-nbnbin.adb:283:60: error: run-time library configuration error
a-nbnbin.adb:283:60: error: file s-valllli.ads not found
a-nbnbin.adb:283:60: error: entity 
"System.Val_Llli.Value_Long_Long_Long_Integer" not available
compilation abandoned
make[7]: *** [../gcc-interface/Makefile:296: a-nbnbin.o] Error 1
make[7]: Leaving directory '/daten/gcc/gcc-20250901/Build/gcc/ada/rts'
make[6]: *** [gcc-interface/Makefile:646: gnatlib] Error 2
make[5]: *** [gcc-interface/Makefile:679: gnatlib-shared-default] Error 2
make[4]: *** [gcc-interface/Makefile:715: gnatlib-shared-dual] Error 2
make[3]: *** [gcc-interface/Makefile:833: gnatlib-shared] Error 2
make[2]: *** [Makefile:107: gnatlib-shared] Error 2
make[1]: *** [Makefile:26709: all-target-libada] Error 2

$ ./config.status -V
config.status
configured by ../configure, generated by GNU Autoconf 2.69,
  with options " '--prefix=/usr' '--build=powerpc64-suse-linux' 
'--enable-shared' '--with-system-zlib' 'CFLAGS=-O2 -g' 'CXXFLAGS=-O2 -g' 
'--enable-checking=release' '--with-cpu-64=power4' '--enable-secureplt' 
'--with-long-double-128' 'build_alias=powerpc64-suse-linux' 
'--enable-languages=c,ada,c++,d,fortran,go,lto,m2,objc'"

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to