[MacPorts] #72421: gcc12 does not build on MacOS 15.4.1 with updated macports 2.10.5 on Apple M1 Pro
MacPorts
noreply at macports.org
Tue Apr 29 15:26:13 UTC 2025
#72421: gcc12 does not build on MacOS 15.4.1 with updated macports 2.10.5 on Apple
M1 Pro
---------------------------+--------------------
Reporter: markblackman | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gcc12 |
---------------------------+--------------------
Description changed by ryandesign:
Old description:
> error seen in log is
>
> {{{
> configure:3792: checking for suffix of object files
> configure:3814:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/gcc12/work/build/./gcc/xgcc
> -B/opt/local/var/macports/build/_opt_local_var_macpo
> rts_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/gcc12/work/build/./gcc/
> -B/opt/local/aarch64-apple-darwin24/bin/ -B/opt/local/aarch64-apple-
> darwin24/lib/ -isystem /opt/local/aarch64-apple-darwin
> 24/include -isystem /opt/local/aarch64-apple-darwin24/sys-include -fno-
> checking -c -g -O2 -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
> conftest.c >&5
> clang: error: no input files
> configure:3818: $? = 2
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "GNU C Runtime Library"
> | #define PACKAGE_TARNAME "libgcc"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:3832: error: in
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/gcc12/work/build/aarch64
> -apple-darwin24/libgcc':
> configure:3834: error: cannot compute suffix of object files: cannot
> compile
>
> }}}
>
> This looks like the problem seen in gcc14 and fixed in gcc14 here
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 and referenced here
> https://trac.macports.org/ticket/70866
>
> Does this imply we have to wait for a gcc12 update from the gcc
> maintainers?
New description:
error seen in log is
{{{
configure:3792: checking for suffix of object files
configure:3814:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/gcc12/work/build/./gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macpo
rts_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/gcc12/work/build/./gcc/
-B/opt/local/aarch64-apple-darwin24/bin/ -B/opt/local/aarch64-apple-
darwin24/lib/ -isystem /opt/local/aarch64-apple-darwin
24/include -isystem /opt/local/aarch64-apple-darwin24/sys-include -fno-
checking -c -g -O2 -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk conftest.c
>&5
clang: error: no input files
configure:3818: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3832: error: in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/gcc12/work/build/aarch64
-apple-darwin24/libgcc':
configure:3834: error: cannot compute suffix of object files: cannot
compile
}}}
This looks like the problem seen in gcc14 and fixed in gcc14 here
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 and referenced here
#70866
Does this imply we have to wait for a gcc12 update from the gcc
maintainers?
--
--
Ticket URL: <https://trac.macports.org/ticket/72421#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list