| 1 Dec 2025 |
Randy Eckenrode | And just use LLVM bintools. | 16:14:22 |
Randy Eckenrode | There are only three we use from cctools right now:
ranlib (for CLI compatibility, but LLVM’s seems good enough now);
install_name_tool (LLVM’s doesn’t support reexports, which are rare but uses by, e.g., libiconv); and
lipo (LLVM’s doesn’t support static archives, which breaks Meson’s tests).
| 16:16:37 |
Randy Eckenrode | For your situation, LLVM is probably good enough. | 16:16:56 |
Randy Eckenrode | I plan to try to switch those over to LLVM for 26.05. | 16:17:15 |
Randy Eckenrode | If we could actually get away with using LLD by default, I’d be willing to consider it, but it had problems on x86_64-darwin building the bootstrap. (Admittedly, that was LLD 16, and we’re on 21 now.) | 16:19:26 |
bake.monorail |
If you do need to go the cctools-port route
Another problem I have with cctools is that it requires swift-corelibs-libdispatch, which currently fails to build on Linux
setting the platform to non-Darwin
What do you mean by that?
For your situation, LLVM is probably good enough.
Specifically, I need to cross-build mostly LLVM, Python, node, boost and QEMU.
If we could actually get away with using LLD by default
| 16:21:22 |
bake.monorail | *
If you do need to go the cctools-port route
Another problem I have with cctools is that it requires swift-corelibs-libdispatch, which currently fails to build on Linux
setting the platform to non-Darwin
What do you mean by that?
For your situation, LLVM is probably good enough.
Specifically, I need to cross-build mostly LLVM, Python, node, boost and QEMU.
If we could actually get away with using LLD by default
I gave it a shot but failed, I'll give it another try.
| 16:22:11 |
bake.monorail |  Download asd.png | 16:23:10 |
bake.monorail | These are the things I'm trying to get to build right now. I still need to figure out the role of libresolv, libsbuf and libutil. Also, apple-sdk. | 16:23:59 |
Randy Eckenrode | apple-sdk provides the stubs and headers used to build packages for Darwin. Some libraries are built from source. libresolv and libutil are some of them. | 16:26:39 |