Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-15 Thread Andreas Schwab
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:PowerPC/gcc10/standard/ppc https://build.opensuse.org/package/live_build_log/openSUSE:Factory:PowerPC/gcc10/standard/ppc64 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF7

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-15 Thread Jakub Jelinek via Gcc-patches
On Tue, Dec 15, 2020 at 11:10:17AM +0100, Eric Botcazou wrote: > > Similarly for sparc, > > --build=sparc64-redhat-linux --target=sparc64-redhat-linux --with-cpu=v7 > > was the bi-arch compiler with 32-bit binaries that defaults to -m32, but > > also supports -m64, while > > --build=sparc64-redhat-

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-15 Thread Eric Botcazou
> Yeah, it is the same thing for Fedora/RHEL when we were supporting -m32 > for powerpc. > The bi-arch compiler with 32-bit binaries that defaults to -m32, but also > supports -m64 was configured > --build=powerpc64-redhat-linux --target=powerpc64-redhat-linux > --with-cpu=default32 while the bi-ar

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-15 Thread Jakub Jelinek via Gcc-patches
On Tue, Dec 15, 2020 at 10:54:47AM +0100, Andreas Schwab wrote: > On Dez 15 2020, Eric Botcazou wrote: > > > The two assertions cannot possibly be true at the time. > > But they are. Yeah, it is the same thing for Fedora/RHEL when we were supporting -m32 for powerpc. The bi-arch compiler with 32

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-15 Thread Andreas Schwab
On Dez 15 2020, Eric Botcazou wrote: > The two assertions cannot possibly be true at the time. But they are. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-15 Thread Eric Botcazou
> Are you saying that ADA doesn't support multilibs and you can only > have/use the default lib? It's Ada (the first name of Lady Lovelace), not ADA (an acronym for various organizations), see e.g https://en.wikipedia.org/wiki/Ada_Lovelace > A --target=powerpc64-linux compiler can either default

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-11 Thread Peter Bergner via Gcc-patches
> On Dez 03 2020, Eric Botcazou wrote: >> I'm afraid we cannot support both given the current setup, so you'll have to >> make a choice for the powerpc64-suse-linux compiler. Are you saying that ADA doesn't support multilibs and you can only have/use the default lib? On 12/3/20 1:00 PM, Andrea

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-03 Thread Andreas Schwab
On Dez 03 2020, Eric Botcazou wrote: > I'm afraid we cannot support both given the current setup, so you'll have to > make a choice for the powerpc64-suse-linux compiler. I'm using the same configuration as the system compiler. There is no choice to make. Andreas. -- Andreas Schwab, sch...@l

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-03 Thread Eric Botcazou
> Nope. The default is 64-bit. That's not what Richard said under PR ada/97504 though: "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 w

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-03 Thread Andreas Schwab
On Dez 03 2020, Eric Botcazou wrote: >> This breaks build of libada, it is missing all of $(GNATRTL_128BIT_OBJS). > > In the default multilib? Yes, that's the point, since it's 32-bit apparently. Nope. The default is 64-bit. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerpri

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-03 Thread Eric Botcazou
> This breaks build of libada, it is missing all of $(GNATRTL_128BIT_OBJS). In the default multilib? Yes, that's the point, since it's 32-bit apparently. -- Eric Botcazou

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-03 Thread Andreas Schwab
On Nov 07 2020, Eric Botcazou via Gcc-cvs wrote: > https://gcc.gnu.org/g:df784801daf0185a1e22ebf03d48363530717882 > > commit r11-4816-gdf784801daf0185a1e22ebf03d48363530717882 > Author: Eric Botcazou > Date: Sat Nov 7 11:07:11 2020 +0100 > > Fix Ada build failure for the SuSE PowerPC64/Linu