[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2022-02-13 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #49 from Maciej W. Rozycki  ---
*** Bug 98724 has been marked as a duplicate of this bug. ***

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2022-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #48 from CVS Commits  ---
The releases/gcc-11 branch has been updated by Maciej W. Rozycki
:

https://gcc.gnu.org/g:72b0526bd4582338228ab81088b73dbf1ca565ee

commit r11-9565-g72b0526bd4582338228ab81088b73dbf1ca565ee
Author: Maciej W. Rozycki 
Date:   Sun Feb 13 22:57:21 2022 +

[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) : Use
wraplf version of Aux_Long_Long_Float.

(cherry picked from commit 4493c5a2030d9191761d159067815b5f0325a9d2)

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2022-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #47 from CVS Commits  ---
The master branch has been updated by Maciej W. Rozycki :

https://gcc.gnu.org/g:4493c5a2030d9191761d159067815b5f0325a9d2

commit r12-7220-g4493c5a2030d9191761d159067815b5f0325a9d2
Author: Maciej W. Rozycki 
Date:   Sun Feb 13 22:57:21 2022 +

[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) : Use
wraplf version of Aux_Long_Long_Float.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2021-01-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Martin Liška  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|WAITING |RESOLVED

--- Comment #46 from Martin Liška  ---
Closing then.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2021-01-14 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #45 from Matthias Klose  ---
I think this one can be closed. There's still PR98228 for s390x.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2021-01-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #44 from Martin Liška  ---
I can confirm that s390x target is fine now.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2021-01-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Richard Biener  changed:

   What|Removed |Added

 Status|REOPENED|WAITING

--- Comment #43 from Richard Biener  ---
What's the state here - which targets are still affected?

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-12-17 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

John Paul Adrian Glaubitz  changed:

   What|Removed |Added

 CC||glaubitz at physik dot 
fu-berlin.d
   ||e

--- Comment #42 from John Paul Adrian Glaubitz  ---
Ada bootstrap on m68k is broken as well.

Full buildlog in:
https://buildd.debian.org/status/fetch.php?pkg=gcc-snapshot=m68k=1%3A20201214-1=1608126919=0

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-12-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #41 from CVS Commits  ---
The master branch has been updated by Matthias Klose :

https://gcc.gnu.org/g:ad9c120a019ba4222bb062017da2db9711652dc3

commit r11-5812-gad9c120a019ba4222bb062017da2db9711652dc3
Author: Matthias Klose 
Date:   Mon Dec 7 09:40:53 2020 +0100

Fix PR ada/97504 for mips*-linux

2020-12-07  Matthias Klose  

PR ada/97504
* Makefile.rtl (LIBGNAT_TARGET_PAIRS) : Use wraplf
version of Aux_Long_Long_Float.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-12-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Eric Botcazou  changed:

   What|Removed |Added

 CC||doko at debian dot org

--- Comment #40 from Eric Botcazou  ---
*** Bug 98134 has been marked as a duplicate of this bug. ***

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-12-03 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Eric Botcazou  changed:

   What|Removed |Added

 CC||sch...@linux-m68k.org

--- Comment #39 from Eric Botcazou  ---
*** Bug 98127 has been marked as a duplicate of this bug. ***

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #38 from CVS Commits  ---
The master branch has been updated by John David Anglin :

https://gcc.gnu.org/g:4612c4d09d7d18a6c6345b57a9bb5e249b182fa4

commit r11-5519-g4612c4d09d7d18a6c6345b57a9bb5e249b182fa4
Author: John David Anglin 
Date:   Sun Nov 29 15:57:40 2020 +

Fix PR ada/97504 on hppa*-*-hpux*.

2020-11-29  John David Anglin  

gcc/ada/
PR ada/97504
* Makefile.rtl (LIBGNAT_TARGET_PAIRS) : Use wraplf
version of Aux_Long_Long_Float.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-27 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #37 from John David Anglin  ---
Created attachment 49638
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49638=edit
Fix for hppa-hpux

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #36 from Eric Botcazou  ---
> 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?

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #35 from Martin Liška  ---
(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?

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-20 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #34 from John David Anglin  ---
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

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-19 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

John David Anglin  changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu.org

--- Comment #33 from John David Anglin  ---
Also affects hppa*-*-hpux11*.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #32 from Martin Liška  ---
(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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #31 from Eric Botcazou  ---
> Unfortunately, it still fails.

OK, can you try the new one?

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Eric Botcazou  changed:

   What|Removed |Added

  Attachment #49472|0   |1
is obsolete||

--- Comment #30 from Eric Botcazou  ---
Created attachment 49510
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49510=edit
Tentative fix #2

With the missing ampersand.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #29 from Martin Liška  ---
Created attachment 49508
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49508=edit
ppc_log with patch

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #28 from Martin Liška  ---
(In reply to Eric Botcazou from comment #27)
> Created attachment 49472 [details]
> Slightly better tentative fix

Unfortunately, it still fails.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Eric Botcazou  changed:

   What|Removed |Added

  Attachment #49471|0   |1
is obsolete||

--- Comment #27 from Eric Botcazou  ---
Created attachment 49472
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49472=edit
Slightly better tentative fix

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #26 from Eric Botcazou  ---
Created attachment 49471
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49471=edit
Tentative fix for the SuSE PowerPC compiler

Martin, can you give it a try when you get a chance?

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #25 from Richard Biener  ---
(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).

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Martin Liška  changed:

   What|Removed |Added

 CC||matz at gcc dot gnu.org,
   ||rguenth at gcc dot gnu.org

--- Comment #24 from Martin Liška  ---
(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?

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-29 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #23 from Eric Botcazou  ---
> 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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #22 from Martin Liška  ---
(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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #19 from Martin Liška  ---
(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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #21 from Martin Liška  ---
Created attachment 49466
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49466=edit
Build log for ppc

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #20 from Martin Liška  ---
Created attachment 49465
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49465=edit
Build log for s390x

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #18 from CVS Commits  ---
The master branch has been updated by Alexandre Oliva :

https://gcc.gnu.org/g:31643fa3e994749bd2da7b35846f1958f8823b8d

commit r11-4472-g31643fa3e994749bd2da7b35846f1958f8823b8d
Author: Alexandre Oliva 
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> : Use wraplf
version of Aux_Long_Long_Float.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #17 from Alexandre Oliva  ---
Created attachment 49456
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49456=edit
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*.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #16 from Eric Botcazou  ---
> 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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #15 from Martin Liška  ---
Created attachment 49451
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49451=edit
Build log

It's actually a partial cross compiler (-m32), please take a look at the build
log.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #14 from seurer at gcc dot gnu.org ---
Builds fine for me on powerpc64 LE and BE.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #13 from Eric Botcazou  ---
This builds for me on powerpc64-linux, so I gather it's on powerpc64le-linux?

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #12 from Eric Botcazou  ---
> 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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org

--- Comment #11 from Martin Liška  ---
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: 

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-24 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #10 from seurer at gcc dot gnu.org ---
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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-24 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Andreas Schwab  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #9 from Andreas Schwab  ---
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

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-23 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #8 from Stefan Schulze Frielinghaus  
---
(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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-23 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Alexandre Oliva  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #7 from Alexandre Oliva  ---
Fixed

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #6 from CVS Commits  ---
The master branch has been updated by Alexandre Oliva :

https://gcc.gnu.org/g:9e3b9ddb996f18d541a3e03611d46c3a6c0c0b5f

commit r11-4314-g9e3b9ddb996f18d541a3e03611d46c3a6c0c0b5f
Author: Alexandre Oliva 
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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-23 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #5 from Alexandre Oliva  ---
Created attachment 49427
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49427=edit
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.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-23 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Alexandre Oliva  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |aoliva at gcc dot 
gnu.org
 Status|NEW |ASSIGNED

--- Comment #4 from Alexandre Oliva  ---
Mine

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Eric Botcazou  changed:

   What|Removed |Added

   Last reconfirmed||2020-10-22
 Ever confirmed|0   |1
 CC||ebotcazou at gcc dot gnu.org
 Status|UNCONFIRMED |NEW

--- Comment #3 from Eric Botcazou  ---
This occurs on Aarch64 and SPARC as well.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-21 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Stefan Schulze Frielinghaus  changed:

   What|Removed |Added

 CC||stefansf at linux dot ibm.com

--- Comment #2 from Stefan Schulze Frielinghaus  
---
For the sake of completeness, this also fails on S/390.

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |11.0
   Keywords||build
Summary|[11 regress] Ada bootstrap  |[11 Regression] Ada
   |error after r11-4029|bootstrap error after
   ||r11-4029