#49552: problem for install libgcc on El capitan 10.11.1 --------------------------------+-------------------- Reporter: wanghaotian2280@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: duplicate | Keywords: Port: libgcc | --------------------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: El Capitan introduces a new feature called System Integrity Protection which prevents you from modifying the contents of /usr and other system directories, even as root. The El Capitan installer should have removed foreign items from protected locations, but apparently it missed /usr/include/malloc.h. I'll file a bug report with Apple about this. You'll have to boot to the recovery partition, disable SIP, remove /usr/include/malloc.h (and if you've previously made any other changes in system directories, now would be a good opportunity to undo them, if they're still there), then re-enable SIP. -- Ticket URL: <https://trac.macports.org/ticket/49552#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X