Closed
Description
I find copying part of a recent Xcode libSystem.tbd
file into the Julia source code rather odd.
It also prevents MacPorts from building current Julia versions (≥ 1.8.0) on 'OS X'/macOS 10.10 - 10.14 (Yosemite - Mojave).
@quentinmit was able to get Julia to build on macOS 10.14 (Mojave)
[...] with a simple Makefile patch; I replaced
OSLIBS += $(SRCDIR)/mach_dyld_atfork.tbd
with
CLANG_LDFLAGS += -Wl,-U,__dyld_atfork_prepare -Wl,-U,__dyld_atfork_parent
and added
$(CLANG_LDFLAGS)
to the rules building libjulia-internal and libjulia-internal-debug. The latter is probably safe on every platform but the former needs a guard for older OS versions, of course.It's possible that the additional
-U
flags are unnecessary, but I didn't test that (the previous line sets a different flag that theoretically should allow unknown symbols as well).
Cross references:
Metadata
Metadata
Assignees
Labels
No labels