#52091: cctools, ld64: circular dependencies ----------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: leopard Port: cctools, ld64 | ----------------------------+------------------------ Comment (by mojca@…): Replying to [comment:2 jeremyhu@…]:
Yeah, there's not really a way to do that short of rolling up a bootstrap package which lays down a toolchain in /opt/macports-bootstrap- toolchain or something similar. Of course, base would need to be updated to know how to use that toolchain (and make it part of the default toolchains, perhaps as macports-bootstrap-gcc and macports-bootstrap- clang). I'm not opposed to doing that and have considered doing so myself in the past. If that seems like it would be worthwhile, I'll see what I can do to come up with such a package.
We started discussing using an external compiler for `libc++` builds in the past, but Ryan warned against that idea because some compilers might leave traces (we could end up with a library linking against `/opt /macports-bootstrap-toolchain/lib/libsomething.dylib` or any other weird situation). The problem we'll have on the `libc++` build slaves will be that `clang-3.x` and all of its dependencies will have to be activated and deactivated over and over again. -- Ticket URL: <https://trac.macports.org/ticket/52091#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X