building from source with libc++

Ken Cunningham ken.cunningham.webuse at gmail.com
Wed Apr 19 00:29:26 UTC 2017


On 2017-04-18, at 8:54 AM, Mojca Miklavec wrote:
>> 
>> After coming across this issue one too many times for my own liking, and changing several dozen ports as you have done, I finally just patched clang to make it default to add -stdlib=lilbc++ by default on all systems, which solves this issue once and forever.
> 
> That doesn't sound too bad :)
> I wonder if we should introduce a variant of the compiler to do just that :)


I do find this helps a lot with the stdlib hiccups on older systems, and i plan to continue to use it, but I understand concerns about changing default behaviour of compilers.  Jeremy has previously indicated privately to me that he wasn't too keen on the idea due to possible unexpected consequences of changing default behaviour, and this is a respectable point coming from the honcho himself.

As a counter argument, changing one compiler default to what is the current expected behaviour seems a lot easier than updating an uncertain number out of 21,000 ports, some of which (WxWidgets, for example) turn out to be rather messy to fix properly.

It would be quite easy to make it a variant if desired - just one patchfile to optionally add. I  leave this up to the collective to decide.

> 
> You have just been nominated to fix this bug:
>    https://trac.macports.org/ticket/53634
> Thanks in advance :)

:> I'll take a look.

Ken

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170418/a1640cf1/attachment.html>


More information about the macports-users mailing list