g:1e70b1a358b6ce3b894f284d88fbb90518d45cc0, r11-4029 /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/./gcc/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/sys-include -c -g -O2 -fPIC -W -Wall -gnatpg -nostdinc a-nallfl.ads -o a-nallfl.o a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it binds a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:51:13: warning: profile of "Cos" doesn't match the builtin it binds a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:54:13: warning: profile of "Tan" doesn't match the builtin it binds a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:57:13: warning: profile of "Exp" doesn't match the builtin it binds a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:60:13: warning: profile of "Sqrt" doesn't match the builtin it binds a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:63:13: warning: profile of "Log" doesn't match the builtin it binds a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:66:13: warning: profile of "Acos" doesn't match the builtin it binds a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:69:13: warning: profile of "Asin" doesn't match the builtin it binds a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:72:13: warning: profile of "Atan" doesn't match the builtin it binds a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:75:13: warning: profile of "Sinh" doesn't match the builtin it binds a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:78:13: warning: profile of "Cosh" doesn't match the builtin it binds a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:81:13: warning: profile of "Tanh" doesn't match the builtin it binds a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:84:13: warning: profile of "Pow" doesn't match the builtin it binds ../gcc-interface/Makefile:302: recipe for target 'a-nallfl.o' failed make[7]: *** [a-nallfl.o] Error 1 commit 1e70b1a358b6ce3b894f284d88fbb90518d45cc0 (HEAD) Author: Alexandre Oliva <oliva@adacore.com> Date: Sun Oct 18 17:19:53 2020 -0300
https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556477.html
For the sake of completeness, this also fails on S/390.
This occurs on Aarch64 and SPARC as well.
Mine
Created attachment 49427 [details] patch that should fix the remaining s390 problem So, the issue is already fixed on aarch64-*, powerpc*-*, and sparc*-sun-solaris*. Stefan, could you possibly confirm that this patch fixes it on s390? I've put in the fix for sparc*-linux-gnu as well, for good measure.
The master branch has been updated by Alexandre Oliva <aoliva@gcc.gnu.org>: https://gcc.gnu.org/g:9e3b9ddb996f18d541a3e03611d46c3a6c0c0b5f commit r11-4314-g9e3b9ddb996f18d541a3e03611d46c3a6c0c0b5f Author: Alexandre Oliva <oliva@adacore.com> Date: Fri Oct 23 06:37:07 2020 -0300 more wraplf for aux long long float: s390, sparc and powerpc The wraplf version of Ada.Numerics.Aux_Long_Long_Float is needed on s390* as well. Also add it to sparc*-linux-gnu and powerpc-darwin, that were missed when adding it for sparc and ppc targets. for gcc/ada/ChangeLog PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS): Select wraplf version of Aux_Long_Long_Float for s390 and remaining sparc and powerpc targets.
Fixed
(In reply to Alexandre Oliva from comment #5) > Created attachment 49427 [details] > patch that should fix the remaining s390 problem > > So, the issue is already fixed on aarch64-*, powerpc*-*, and > sparc*-sun-solaris*. > > Stefan, could you possibly confirm that this patch fixes it on s390? Build is successful on s390. Testsuite still running.
Still broken. /daten/riscv64/gcc/gcc-20201024/Build/./gcc/xgcc -B/daten/riscv64/gcc/gcc-20201024/Build/./gcc/ -B/usr/riscv64-suse-linux/bin/ -B/usr/riscv64-suse-linux/lib/ -isystem /usr/riscv64-suse-linux/include -isystem /usr/riscv64-suse-linux/sys-include -c -g -O2 -fPIC -W -Wall -gnatpg -nostdinc a-nallfl.ads -o a-nallfl.o a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it binds
I tried it on powerpc64 yesterday and it built on the systems where it had failed previously although there were some new Ada test case failures. I'll give it another run to see if it is still OK or not.
It still fails for me with g:2118438f49f0c193abe3fa3def350a8129045746 CommitDate: Mon Oct 26 19:05:53 2020 +0100 s390x: [11466s] +===========================GNAT BUG DETECTED==============================+ [11466s] | 11.0.0 20201026 (experimental) [revision 2118438f49f0c193abe3fa3def350a8129045746] (s390x-suse-linux) | [11466s] | Storage_Error stack overflow or erroneous memory access | [11466s] | Error detected at a-btgbso.adb:68:25 | [11466s] | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | [11466s] | Use a subject line meaningful to you and us to track the bug. | [11466s] | Include the entire contents of this bug box in the report. | [11466s] | Include the exact command that you entered. | [11466s] | Also include sources listed below. | [11466s] +==========================================================================+ riscv64: [ 8509s] /home/abuild/rpmbuild/BUILD/gcc-11.0.0+git180542/obj-riscv64-suse-linux/./gcc/xgcc -B/home/abuild/rpmbuild/BUILD/gcc-11.0.0+git180542/obj-riscv64-suse-linux/./gcc/ -B/usr/riscv64-suse-linux/bin/ -B/usr/riscv64-suse-linux/lib/ -isystem /usr/riscv64-suse-linux/include -isystem /usr/riscv64-suse-linux/sys-include -c -g -O2 -fPIC -W -Wall -gnatpg -nostdinc a-nuaufl.ads -o a-nuaufl.o [ 8509s] a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:51:13: warning: profile of "Cos" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:54:13: warning: profile of "Tan" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:57:13: warning: profile of "Exp" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:60:13: warning: profile of "Sqrt" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:63:13: warning: profile of "Log" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:66:13: warning: profile of "Acos" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:69:13: warning: profile of "Asin" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:72:13: warning: profile of "Atan" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:75:13: warning: profile of "Sinh" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:78:13: warning: profile of "Cosh" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:81:13: warning: profile of "Tanh" doesn't match the builtin it binds [ 8509s] a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on return value [ 8509s] a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on argument 1 [ 8509s] a-nallfl.ads:84:13: warning: profile of "Pow" doesn't match the builtin it binds [ 8509s] make[7]: *** [../gcc-interface/Makefile:302: a-nallfl.o] Error 1 ppc: [ 5103s] /bin/sh ./libtool --tag=CC --mode=compile /home/abuild/rpmbuild/BUILD/gcc-11.0.0+git180542/obj-powerpc64-suse-linux/./gcc/xgcc -B/home/abuild/rpmbuild/BUILD/gcc-11.0.0+git180542/obj-powerpc64-suse-linux/./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 -DHAVE_CONFIG_H -I../../../../libatomic/config/powerpc -I../../../../libatomic/config/posix -I../../../../libatomic -I. -Wall -Werror -pthread -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -U_FORTIFY_SOURCE -m64 -MT gcas.lo -MD -MP -MF .deps/gcas.Tpo -c -o gcas.lo ../../../../libatomic/gcas.c [ 5103s] i-cexten.ads:278:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:281:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:284:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:287:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:290:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:293:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:296:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:299:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:302:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:305:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:308:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:311:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:314:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:317:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:320:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:323:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:326:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:329:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:332:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:335:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:338:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:341:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:344:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:347:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:350:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:353:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:356:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:359:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:362:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:365:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:368:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:371:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:374:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:377:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:380:28: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:383:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:386:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:389:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:392:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:395:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:398:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:401:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:404:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:407:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:410:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:413:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:416:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:419:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:422:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:425:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:428:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:431:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:434:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:437:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:440:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:443:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:446:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:449:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:452:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:455:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:458:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:461:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:464:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:467:29: modulus exceeds limit (2 ** 64) [ 5103s] i-cexten.ads:659:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:662:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:665:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:668:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:671:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:674:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:677:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:680:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:683:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:686:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:689:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:692:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:695:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:698:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:701:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:704:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:707:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:710:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:713:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:716:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:719:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:722:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:725:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:728:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:731:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:734:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:737:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:740:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:743:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:746:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:749:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:752:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:755:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:758:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:761:22: integer type definition bounds out of range [ 5103s] i-cexten.ads:764:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:767:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:770:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:773:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:776:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:779:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:782:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:785:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:788:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:791:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:794:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:797:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:800:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:803:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:806:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:809:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:812:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:815:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:818:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:821:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:824:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:827:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:830:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:833:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:836:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:839:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:842:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:845:23: integer type definition bounds out of range [ 5103s] i-cexten.ads:848:23: integer type definition bounds out of range [ 5103s] make[7]: *** [../gcc-interface/Makefile:299: g-calend.o] Error 1 [ 5103s] make[7]: *** Waiting for unfinished jobs....
> It still fails for me with g:2118438f49f0c193abe3fa3def350a8129045746 > Commit Date: Mon Oct 26 19:05:53 2020 +0100 The PowerPC64 issue is different, let me have a quick look at it.
This builds for me on powerpc64-linux, so I gather it's on powerpc64le-linux?
Builds fine for me on powerpc64 LE and BE.
Created attachment 49451 [details] Build log It's actually a partial cross compiler (-m32), please take a look at the build log.
> It's actually a partial cross compiler (-m32), please take a look at the > build log. What's this beast exactly? I'm afraid the build log is useless here, it would be better to post the configure line and the CC or CXX variables if any.
Created attachment 49456 [details] fix for riscv targets > Still broken Sorry, it's the first I hear of this problem on riscv. The fix is target-specific. Here's one for riscv*.
The master branch has been updated by Alexandre Oliva <aoliva@gcc.gnu.org>: https://gcc.gnu.org/g:31643fa3e994749bd2da7b35846f1958f8823b8d commit r11-4472-g31643fa3e994749bd2da7b35846f1958f8823b8d Author: Alexandre Oliva <oliva@adacore.com> Date: Wed Oct 28 07:54:33 2020 -0300 [PR97504] riscv needs wraplf for aux_long_long_float too riscv is another platform on which GNAT maps Long_Long_Float to double rather than long double, so we have to explicitly avoid the long double intrinsics. for gcc/ada/ChangeLog PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS> <riscv*-*-*>: Use wraplf version of Aux_Long_Long_Float.
(In reply to Eric Botcazou from comment #16) > > It's actually a partial cross compiler (-m32), please take a look at the > > build log. > > What's this beast exactly? I'm afraid the build log is useless here, it > would be better to post the configure line and the CC or CXX variables if > any. It's a build log from OpenSUSE OBS, so it contains all that you requested.
Created attachment 49465 [details] Build log for s390x
Created attachment 49466 [details] Build log for ppc
(In reply to Alexandre Oliva from comment #17) > Created attachment 49456 [details] > fix for riscv targets > > > Still broken > > Sorry, it's the first I hear of this problem on riscv. > The fix is target-specific. Here's one for riscv*. I can confirm riscv* is fixed now. Thanks.
> It's a build log from OpenSUSE OBS, so it contains all that you requested. AFAICS this log is for a native compiler: [ 131s] checking build system type... powerpc64-suse-linux-gnu [ 131s] checking host system type... powerpc64-suse-linux-gnu [ 131s] checking target system type... powerpc64-suse-linux-gnu but I gather that --with-cpu=default32 somehow forces it to default to 32-bit, making it really powerpc-suse-linux-gnu under the hood? Again this Debian-like abomination if you ask me, which probably fools the logic in Makefile.rtl.
(In reply to Eric Botcazou from comment #23) > > It's a build log from OpenSUSE OBS, so it contains all that you requested. > > AFAICS this log is for a native compiler: > > [ 131s] checking build system type... powerpc64-suse-linux-gnu > [ 131s] checking host system type... powerpc64-suse-linux-gnu > [ 131s] checking target system type... powerpc64-suse-linux-gnu > > but I gather that --with-cpu=default32 somehow forces it to default to > 32-bit, making it really powerpc-suse-linux-gnu under the hood? Again this > Debian-like abomination if you ask me, which probably fools the logic in > Makefile.rtl. @Richi, Michael: Can you please comment about what we precisely build?
(In reply to Eric Botcazou from comment #23) > > It's a build log from OpenSUSE OBS, so it contains all that you requested. > > AFAICS this log is for a native compiler: > > [ 131s] checking build system type... powerpc64-suse-linux-gnu > [ 131s] checking host system type... powerpc64-suse-linux-gnu > [ 131s] checking target system type... powerpc64-suse-linux-gnu > > but I gather that --with-cpu=default32 somehow forces it to default to > 32-bit, making it really powerpc-suse-linux-gnu under the hood? Again this > Debian-like abomination if you ask me, which probably fools the logic in > Makefile.rtl. Yes, we're building a 64bit compiler defaulting to -m32. Our "ppc" target was never a true 32bit system but a 64bit system with a 32bit "default" runtime and 64bit multilibs, so most binaries in the system were 32bit binaries but select ones could be 64bit. Note the GCC binaries themselves become 32bit binaries as well (the way we use it the host compiler is the very same, powerpc64-linux compiler defaulting to 32bit code generation). For "ppc64" this infrastructure is also used to build 32bit runtimes for packages that do not multilib themselves (so we cannot really abandone it completely).
Created attachment 49471 [details] Tentative fix for the SuSE PowerPC compiler Martin, can you give it a try when you get a chance?
Created attachment 49472 [details] Slightly better tentative fix
(In reply to Eric Botcazou from comment #27) > Created attachment 49472 [details] > Slightly better tentative fix Unfortunately, it still fails.
Created attachment 49508 [details] ppc_log with patch
Created attachment 49510 [details] Tentative fix #2 With the missing ampersand.
> Unfortunately, it still fails. OK, can you try the new one?
(In reply to Eric Botcazou from comment #31) > > Unfortunately, it still fails. > > OK, can you try the new one? This one works, thanks for it.
Also affects hppa*-*-hpux11*.
Still fails on hppa2.0-hp-hpux11.11: /test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/ -B/opt/gnu/gcc/gcc -11/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-11/hppa2.0w-hp-hpux11.11/lib/ -isystem /opt/gnu/gcc/gcc-11/hppa2.0w-hp-hpux11.11/include -isystem /opt/gnu/gcc /gcc-11/hppa2.0w-hp-hpux11.11/sys-include -fchecking=1 -c -g -O2 -fPIC -W -W all -gnatpg -nostdinc a-nallfl.ads -o a-nallfl.o a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it binds a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:51:13: warning: profile of "Cos" doesn't match the builtin it binds a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:54:13: warning: profile of "Tan" doesn't match the builtin it binds a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:57:13: warning: profile of "Exp" doesn't match the builtin it binds a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:60:13: warning: profile of "Sqrt" doesn't match the builtin it binds a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:63:13: warning: profile of "Log" doesn't match the builtin it binds a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:66:13: warning: profile of "Acos" doesn't match the builtin it binds a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:69:13: warning: profile of "Asin" doesn't match the builtin it binds a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:72:13: warning: profile of "Atan" doesn't match the builtin it binds a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:75:13: warning: profile of "Sinh" doesn't match the builtin it binds a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:78:13: warning: profile of "Cosh" doesn't match the builtin it binds a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:81:13: warning: profile of "Tanh" doesn't match the builtin it binds a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:84:13: warning: profile of "Pow" doesn't match the builtin it binds make[7]: *** [../gcc-interface/Makefile:302: a-nallfl.o] Error 1
(In reply to Martin Liška from comment #20) > Created attachment 49465 [details] > Build log for s390x Hello. The s390x build failure is still preset. Can you please take a look?
> The s390x build failure is still preset. Can you please take a look? This one looks unrelated to r11-4029 or other Ada changes. Do you know which revision has introduced it?
Created attachment 49638 [details] Fix for hppa-hpux
The master branch has been updated by John David Anglin <danglin@gcc.gnu.org>: https://gcc.gnu.org/g:4612c4d09d7d18a6c6345b57a9bb5e249b182fa4 commit r11-5519-g4612c4d09d7d18a6c6345b57a9bb5e249b182fa4 Author: John David Anglin <danglin@gcc.gnu.org> Date: Sun Nov 29 15:57:40 2020 +0000 Fix PR ada/97504 on hppa*-*-hpux*. 2020-11-29 John David Anglin <danglin@gcc.gnu.org> gcc/ada/ PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS) <hppa*-*-hpux*>: Use wraplf version of Aux_Long_Long_Float.
*** Bug 98127 has been marked as a duplicate of this bug. ***
*** Bug 98134 has been marked as a duplicate of this bug. ***
The master branch has been updated by Matthias Klose <doko@gcc.gnu.org>: https://gcc.gnu.org/g:ad9c120a019ba4222bb062017da2db9711652dc3 commit r11-5812-gad9c120a019ba4222bb062017da2db9711652dc3 Author: Matthias Klose <doko@ubuntu.com> Date: Mon Dec 7 09:40:53 2020 +0100 Fix PR ada/97504 for mips*-linux 2020-12-07 Matthias Klose <doko@ubuntu.com> PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS) <mips*-*-linux*>: Use wraplf version of Aux_Long_Long_Float.
Ada bootstrap on m68k is broken as well. Full buildlog in: https://buildd.debian.org/status/fetch.php?pkg=gcc-snapshot&arch=m68k&ver=1%3A20201214-1&stamp=1608126919&raw=0
What's the state here - which targets are still affected?
I can confirm that s390x target is fine now.
I think this one can be closed. There's still PR98228 for s390x.
Closing then.
The master branch has been updated by Maciej W. Rozycki <macro@gcc.gnu.org>: https://gcc.gnu.org/g:4493c5a2030d9191761d159067815b5f0325a9d2 commit r12-7220-g4493c5a2030d9191761d159067815b5f0325a9d2 Author: Maciej W. Rozycki <macro@orcam.me.uk> Date: Sun Feb 13 22:57:21 2022 +0000 [Ada] PR ada/98724: Alpha/Linux/libada: Use wraplf for Aux_Long_Long_Float Use the Long Long Float wrapper in terms of Long Float for Alpha/Linux targets as well, fixing gnatlib compilation errors: a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on result [enabledby default] a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on parameter 1 [enabled by default] a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it binds [enabled by default] etc. with the `alpha-linux-gnu' target. gcc/ada/ PR ada/98724 PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS) <alpha*-*-linux*>: Use wraplf version of Aux_Long_Long_Float.
The releases/gcc-11 branch has been updated by Maciej W. Rozycki <macro@gcc.gnu.org>: https://gcc.gnu.org/g:72b0526bd4582338228ab81088b73dbf1ca565ee commit r11-9565-g72b0526bd4582338228ab81088b73dbf1ca565ee Author: Maciej W. Rozycki <macro@orcam.me.uk> Date: Sun Feb 13 22:57:21 2022 +0000 [Ada] PR ada/98724: Alpha/Linux/libada: Use wraplf for Aux_Long_Long_Float Use the Long Long Float wrapper in terms of Long Float for Alpha/Linux targets as well, fixing gnatlib compilation errors: a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on result [enabledby default] a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on parameter 1 [enabled by default] a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it binds [enabled by default] etc. with the `alpha-linux-gnu' target. gcc/ada/ PR ada/98724 PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS) <alpha*-*-linux*>: Use wraplf version of Aux_Long_Long_Float. (cherry picked from commit 4493c5a2030d9191761d159067815b5f0325a9d2)
*** Bug 98724 has been marked as a duplicate of this bug. ***