Set CC to clang++

Steven Smith steve.t.smith at gmail.com
Fri Nov 22 02:09:07 UTC 2019


I’m trying to build jsonnet <https://github.com/google/jsonnet> (dependency of a larger project).

jsonnet fails to build on macOS with the exact same error others observe, e.g. <https://github.com/anguslees/rust-jsonnet/issues/2>.

> Undefined symbols for architecture x86_64:
>             "_jsonnet_destroy", referenced from:
…

If the CC=clang++ hack thing doesn’t work, I’l just commit the whole project and show the error in the build bot.


> On Nov 21, 2019, at 20:49, Joshua Root <jmr at macports.org> wrote:
> 
> On 2019-11-22 12:18 , Steven Smith wrote:
>> Thanks. I’m just trying to hack around the error:
>>> |Undefinedsymbols forarchitecture x86_64|
> 
> The important thing is which symbols are missing and why. Seeing the
> exact link command would be useful. Can you share a build log?

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


More information about the macports-dev mailing list