How to call the compiler as if it were the linker

Ryan Schmidt ryandesign at macports.org
Thu Oct 2 12:38:39 PDT 2014


On Oct 2, 2014, at 10:27 AM, Lawrence Velázquez wrote:

> On Oct 2, 2014, at 2:11 AM, Ryan Schmidt wrote:
> 
>> I thought I would be clever and just replace "ld" with ${configure.cc} and that would work, and it did on Yosemite beta. On every previous system however it caused clang to experience an assertion failure, so I must not be doing this right.
> 
> Re: https://trac.macports.org/ticket/41653#comment:9
> 
Yes I saw similar messages on the buildbot.

> Looks like ld64 is doing the asserting, not Clang.

Ok. Does that mean I'm doing it right, and there really is a bug in the linker on 10.9 and earlier?



More information about the macports-dev mailing list