clang-3.8 crashes dsymutil with -gdwarf-4 on 10.9

Jeremy Huddleston Sequoia jeremyhu at macports.org
Thu Mar 2 20:16:48 UTC 2017


> On Mar 2, 2017, at 01:58, Mihai Moldovan <ionic at macports.org> wrote:
> 
> On 02.03.2017 06:51 AM, Jeremy Huddleston Sequoia wrote:
>> Out of curiosity, do you have the issue with clang-3.7 -gdwarf-4 and your dsymutil from dwarfutils-119?
> 
> Yes, triggers an assertion as well. I currently don't have 3.6 installed, so
> didn't test with that.
> 
> 
>> MacPorts for me, so we can at least get a fix in on our side.
> 
> https://trac.macports.org/ticket/53673
> 
> 
>> It might be worth an upstream bug as well.  I'd like to follow it, so please point me to that one as well.
> 
> I put you on CC on the upstream ticket.
> https://bugs.llvm.org//show_bug.cgi?id=32116
> 

Thanks,

I've got an easy workaround for the 3.8+ case and the upstream fix seems simple as well.

3.7 and earlier might be a bit tricky.  As a workaround, I suggest you try this to see if it causes the 3.7 driver to use llvm-3.9's dsymutil:

   sudo ln -s /opt/local/bin/llvm-dsymutil-mp-3.9 /usr/local/bin/dsymutil

--Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20170302/c8707ea8/attachment.bin>


More information about the macports-dev mailing list