On Sat, 4 Jan 2025, James K. Lowden wrote:

> On Fri, 3 Jan 2025 19:46:38 +0100
> Jakub Jelinek <ja...@redhat.com> wrote:
> 
> > Again, the question is if it needs to be supported everywhere, or
> > just error out on targets which don't have _Float128
> 
> Our preference is simply to error out on targets that don't support
> _Float128.  

"error out" when?

GCC should build --enable-languages=all for all targets.  But some 
languages or libraries might get disabled if not supported for the target.  
So it shouldn't literally be failing the build of GCC, though it might be 
disabling COBOL or the COBOL runtime libraries.

Furthermore, in general whether _Float128 is supported depends on the 
multilib, which strongly indicates that this should affect the configure 
and build logic for the runtime libraries rather than the build of the 
compiler.  Specifically, look at libquadmath/configure.ac: the configure 
script is still run when __float128 isn't supported, but BUILD_LIBQUADMATH 
is disabled so that no library actually gets built when the type isn't 
supported.

I don't know how well the powerpc64*-linux-gnu --enable-targets=all 
configurations actually work in practice, but in principle they have both 
BE and LE multilibs (LE supports _Float128, BE doesn't).

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to