https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030
Bug ID: 87030
Summary: GCC fails to build with Xcode 10, attempting an
impossible multilib build
Product: gcc
Version: 8.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: fxcoudert at gcc dot gnu.org
Target Milestone: ---
Building with Xcode 10 (beta) on macOS 10.13 or 10.14 (beta), leads to a build
failure because by default, configure sets GCC up for a multilib build.
However, starting with Xcode 10, Apple has removed support for 32-bit: thus,
the builds fails when trying to link libgcc, because it does not find the
32-bit system libc.
Passing --disable-multilib fixes bootstrap. However, the default configure
should detect that 32-bit is not supported and automatically build without
32-bit multilib.