[Bug 281233] games/shaaft: Fails to build with GCC 14: configure: error: installation or configuration problem: C compiler cannot create executables.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Sep 2024 13:09:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281233

            Bug ID: 281233
           Summary: games/shaaft: Fails to build with GCC 14: configure:
                    error: installation or configuration problem: C
                    compiler cannot create executables.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d
                    efault-foo/2024-08-29_19h57m48s/logs/errors/shaaft-0.5
                    .0_27.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 281091

Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14.

checking whether the C compiler (gcc14 -O2 -pipe  -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc14 -fno-strict-aliasing   -L/usr/local/lib
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc14 -L/usr/local/lib/gcc14
) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
===>  Script "configure" failed unexpectedly.

Full log:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29_19h57m48s/logs/errors/shaaft-0.5.0_27.log

Useful link: https://gcc.gnu.org/gcc-14/porting_to.html


Referenced Bugs:

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