On Fri, Apr 18, 2025 at 01:53:25PM +0200, Rainer Orth wrote: > Unless this can be figured out quickly, I suspect the safest solution > for now would be to replace the (not filename-related) NAME_MAX by it's > Linux <limits.h> definition of 255. Something like this would be > required to unbreak Solaris/amd64 --enable-languages=all bootstrap.
I'd think if Solaris/amd64 --enable-languages=all doesn't work out of the box, the safest thing for GCC 15 would be to ensure it doesn't include cobol in that case (and we can surely change that for 15.2 and definitely should for 16). So completely untested: --- configure.ac 2025-04-08 14:08:47.450334780 +0200 +++ configure.ac 2025-04-18 16:49:48.469756364 +0200 @@ -801,7 +801,7 @@ case ,${enable_languages}, in ;; *) case "${target}" in - *-*-darwin*) + *-*-darwin*|*-*-solaris*) unsupported_languages="$unsupported_languages cobol" ;; x86_64-*-*|aarch64-*-*) @@ -811,6 +811,9 @@ case ,${enable_languages}, in ;; esac case "${host}" in + *-*-solaris*) + unsupported_languages="$unsupported_languages cobol" + ;; x86_64-*-*|aarch64-*-*) ;; *-*-*) Jakub