[Bug 293291] devel/xtensa-esp-elf: Fails to build with GCC 15: configure: error: could not find a working compiler, see config.log for details

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Feb 2026 12:27:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293291

            Bug ID: 293291
           Summary: devel/xtensa-esp-elf: Fails to build with GCC 15:
                    configure: error: could not find a working compiler,
                    see config.log for details
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/gohan05/data/143amd64-d
                    efault-foo/2026-01-30_10h01m25s/logs/errors/xtensa-esp
                    -elf-13.2.0.20240530_13.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: leres@freebsd.org
          Reporter: salvadore@freebsd.org
            Blocks: 292692
             Flags: maintainer-feedback?(leres@freebsd.org)
          Assignee: leres@freebsd.org

The port fails to build with GCC 15 and blocks GCC_DEFAULT update to 15. Full
log in URL field. This link might be useful:
https://gcc.gnu.org/gcc-15/porting_to.html .

[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[EXTRA]    Configuring GMP
[ERROR]    configure: error: could not find a working compiler, see config.log
for details
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing GMP for host'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@377]
[ERROR]  >>        called from:
do_gmp_backend[scripts/build/companion_libs/100-gmp.sh@128]
[ERROR]  >>        called from:
do_gmp_for_host[scripts/build/companion_libs/100-gmp.sh@58]
[ERROR]  >>        called from:
do_companion_libs_for_host[scripts/build/companion_libs.sh@36]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@699]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      https://crosstool-ng.github.io/docs/known-issues/
[ERROR]  >>
[ERROR]  >> NOTE: Your configuration includes features marked EXPERIMENTAL.
[ERROR]  >> Before submitting a bug report, try to reproduce it without
enabling
[ERROR]  >> any experimental features. Otherwise, you'll need to debug it
[ERROR]  >> and present an explanation why it is a bug in crosstool-NG - or
[ERROR]  >> preferably, a fix.
[ERROR]  >>
[ERROR]  >>  If you feel this is a bug in crosstool-NG, report it at:
[ERROR]  >>      https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR]  >>
[ERROR]  >>  Make sure your report includes all the information pertinent to
this issue.
[ERROR]  >>  Read the bug reporting guidelines here:
[ERROR]  >>      http://crosstool-ng.github.io/support/
[ERROR]  
[ERROR]  (elapsed: 189:38.15)
gmake: *** [ct-ng:261: build] Error 1


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292692
[Bug 292692] [exp-run] Update GCC_DEFAULT to 15
-- 
You are receiving this mail because:
You are the assignee for the bug.