Opened 5 years ago

Last modified 5 years ago

#58776 closed defect

macOS 10.15 libgcc9 fails to build with Xcode 11 — at Version 1

Reported by: vdoublie Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: catalina Cc:
Port: libgcc9

Description (last modified by vdoublie)

libgcc9 build using Xcode 11 fails to build

1- MacPorts installed from git source using Xcode 11 2- System: macOS 10.15 --- 2 errors:

1-

info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/b
uild/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/
work/build/./gcc/ -xc -nostdinc /dev/null -S -o /dev/null -fself-test=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.or
g_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.1.0/gcc/testsuite/selftests
:info:build <built-in>: internal compiler error: Segmentation fault: 11
:info:build libbacktrace could not find executable to open

2-

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/b
uild/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/
work/build/./gcc/ -B/opt/local/x86_64-apple-darwin19/bin/ -B/opt/local/x86_64-apple-darwin19/lib/ -isystem /opt/local/x86_64-apple-darwin19/include -
isystem /opt/local/x86_64-apple-darwin19/sys-include   -fno-checking -g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.s
dk -O2  -g -O2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast
-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -mmacosx-version-min=10.5 -pipe -fno-common -
g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -mmacosx-version-min=10.5 -pipe -fno-common -I. -I. -I../.././gcc -I/opt/local/var/macports/b
uild/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.1.0/libgcc -I/opt/local/var/macp
orts/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.1.0/libgcc/. -I/opt/local/
var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.1.0/libgcc/../gcc 
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.1.0/l
ibgcc/../include    -o _multc3_s.o -MT _multc3_s.o -MD -MP -MF _multc3_s.dep -DSHARED -DL_multc3 -c /opt/local/var/macports/build/_opt_local_var_macp
orts_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.1.0/libgcc/libgcc2.c
:info:build during RTL pass: expand
:info:build In file included from types:56:
:info:build types: In function '__mulxc3':
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.1.0/libgcc/libgcc2.h:256:16: internal compiler error: Segmentation fault: 11
:info:build   256 | #define __N(a) __ ## a
:info:build       |                ^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.1.0/libgcc/libgcc2.h:357:19: note: in expansion of macro '__N'
:info:build   357 | #define __mulxc3  __N(mulxc3)
:info:build       |                   ^~~
:info:build types:1937:25: note: in expansion of macro '__mulxc3'
:info:build  1937 | #define _CONCAT3(A,B,C) A##B##C
:info:build       |                         ^
:info:build types:1936:24: note: in expansion of macro '_CONCAT3'
:info:build  1967 | CONCAT3(__mul,MODE,3) (MTYPE a, MTYPE b, MTYPE c, MTYPE d)
:info:build       | ^~~~~~~
:info:build libbacktrace could not find executable to open

included: -1 main.log

it also fails under macOS 10.14 Xcode 11 but at a different place will create new tickets to 10.14

Change History (2)

Changed 5 years ago by vdoublie

Attachment: main.log.tgz added

comment:1 Changed 5 years ago by vdoublie

Description: modified (diff)
Summary: libgcc9 fails to build with Xcode 11macOS 10.15 libgcc9 fails to build with Xcode 11
Note: See TracTickets for help on using tickets.