[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] unable to compile the 202112201228 pre-release on mac os 12.3.1 (m1, monterey, xcode 13.3.1) (Issue #623)
notifications at github.com
Sat Apr 16 18:44:22 UTC 2022
Found the fix: run `ranlib` on the library or use the `-s` flag for `ar`:
diff --git a/building/macos64ARMv8/common/Makefile.plugin b/building/macos64ARMv8/common/Makefile.plugin
index bc16f9533..bc4b3849a 100644
@@ -180,7 +180,7 @@ ifeq ($(realpath $(PREREQUISITES)),$(abspath $(PREREQUISITES)))
$(PLUGINLIB): $(PLUGINREQS) $(VMDIR) $(OBJDIR) $(LIBOBJ) $(PLUGINFWKS)
- ar -rc $(PLUGINLIB) $(LIBOBJ)
+ ar -rcs $(PLUGINLIB) $(LIBOBJ)
# Either link with normal compiler/linker or with CXX compiler/linker. If
# LINK_WITH_CXX is set, use e.g. clang++
I don't know why this is necessary for me. I am on a new laptop, and while I have Homebrew installed, I don't have any other copy of llvm/ar/etc. in my path -- just Apple's command-line tools.
Reply to this email directly or view it on GitHub:
You are receiving this because you are subscribed to this thread.
Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/623/1100730164 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev