[MacPorts] #48471: FSF gcc48 fails to compile projects on El Capitan due to OS X SDK bug in Availability.h
MacPorts
noreply at macports.org
Mon Oct 26 13:45:44 PDT 2015
#48471: FSF gcc48 fails to compile projects on El Capitan due to OS X SDK bug in
Availability.h
-----------------------+-----------------------
Reporter: jasonw@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: elcapitan
Port: gcc48 |
-----------------------+-----------------------
Changes (by ryandesign@…):
* cc: murrayeisenberg@… (added)
Comment:
Replying to [comment:48 murrayeisenberg@…]:
> Replying to [comment:41 jeremyhu@…]:
> > Yes. If you want, you can just manually edit Availability.h to
replace the '`defined(__has_feature)`' with '`defined(__has_attribute)`'
for the OSX and iOS availability macros, but you do so at your own risk
because you know what you're doing ;)
>
> Even using {{{sudo}}} with an admin account on OS X 10.11.1 did not
allow me to edit Availability.h. How did you do it (if you did)?
System Integrity Protection (SIP), a new feature as of OS X 10.11 El
Capitan, will not allow you to edit files in system locations like /usr.
SIP can be turned off, but I recommend you don't do that.
> Also, I could not even build gcc48, again apparently due to the same
issue with Availability.h.
Yes.
--
Ticket URL: <https://trac.macports.org/ticket/48471#comment:50>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list