Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 12:50:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281227] devel/gcc-arm-embedded: Fails to build with GCC 14: configure: error: installation or configuration problem: C compiler cannot create executables.
Message-ID:  <bug-281227-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281227

            Bug ID: 281227
           Summary: devel/gcc-arm-embedded: 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/gcc-arm-em
                    bedded-10.3.20210921.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lev@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 281091
             Flags: maintainer-feedback?(lev@FreeBSD.org)
          Assignee: lev@FreeBSD.org

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

=3D=3D=3D=3D>  Build libelf
=3D=3D=3D=3D=3D>  Configure
loading site script /usr/ports/Templates/config.site
creating cache ./config.cache
checking whether gmake sets ${MAKE}... yes
checking for gcc... gcc14
checking whether the C compiler (gcc14 -O2 -pipe  -DLIBICONV_PLUG
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-alia=
sing=20=20
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -L/usr/local/lib=
/gcc14
) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/gcc-arm-embedded/work
*** Error code 1

Stop.

Full log:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29=
_19h57m48s/logs/errors/gcc-arm-embedded-10.3.20210921.log

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


Referenced Bugs:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281227-7788>