[MacPorts] #53726: libgcc / gcc fails to build against SDK (i.e. without system headers installed)
MacPorts
noreply at macports.org
Mon Mar 6 02:29:35 UTC 2017
#53726: libgcc / gcc fails to build against SDK (i.e. without system headers
installed)
-----------------------+----------------------
Reporter: jeremyhu | Owner: jeremyhu
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libgcc |
-----------------------+----------------------
Comment (by jeremyhu):
I suspected that this should work if I pass --with-build-sysroot=... to
configure, but I still hit the same issue. I think that's likely an issue
that upstream needs to fix, since it should be looking in the sysroot for
/usr/include.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79885
Looking at gcc-4.2, I think this should work if I add
SYSTEM_HEADER_DIR="${configure.sdkroot}/usr/include" to build.args, so
giving that a try next...
--
Ticket URL: <https://trac.macports.org/ticket/53726#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list