[MacPorts] #57155: clang-3.4 seg fault building ld64-127
MacPorts
noreply at macports.org
Fri Oct 5 21:35:59 UTC 2018
#57155: clang-3.4 seg fault building ld64-127
---------------------------------+----------------------
Reporter: cheongi | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords:
Port: clang-3.4 ld64-127 |
---------------------------------+----------------------
Comment (by kencu):
I just went through the LibcxxOnOlderSystems instructions from the start
on a pristine 10.6.8 VM running the current MacPorts. It worked
successfully, and I have a complete libcxx system with clang-3.7, a
current cctools, a current ld64-latest, and all the supporting software.
I noticed a couple of things that might not be obvious from the
instructions.
In Step 5, you are to update variants.conf with some new entries. The bit
as written can't be copy-pasted
{{{
-llvm34
+llvm39 # You may need to update this to +llvm40 and higher in the future
}}}
You need this instead, as the comment doesn't work here:
{{{
-llvm34
+llvm39
}}}
You will be asked a number of time if you want to rebuild your installed
ports because of mismatches between libstdc++ and libc++ . This is a new
feature of MacPorts that didn't exist when the LibcxxOnOlderSystems
instructions were written. I would suggest you do NOT do this along the
way. Instead, do the following:
Step 8 (update variants.conf again)
Step 12 (uninstall llvm-3.4 and clang-3.4)
Then run `sudo port -v rev-upgrade` and let it rebuild the smaller ports
it wants to rebuild.
Then do steps 9, 10, and 11.
At this point, I would uninstall all your ports on macports, and most
likely it would be best to start completely clean, by do a complete
uninstall to make sure you have a stock setup:
<https://guide.macports.org/chunked/installing.macports.uninstalling.html>
Then install from the 10.6.8 Installer package
<https://github.com/macports/macports-
base/releases/download/v2.5.4/MacPorts-2.5.4-10.6-SnowLeopard.pkg>, and
then run through as I specified.
Please report back any issues or concerns.
--
Ticket URL: <https://trac.macports.org/ticket/57155#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list