gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeBSD 9.1 missing libcxxrt - is it needed for objc2?


From: David Chisnall
Subject: Re: FreeBSD 9.1 missing libcxxrt - is it needed for objc2?
Date: Fri, 14 Jun 2013 13:07:51 +0100

On 14 Jun 2013, at 12:31, Maxthon Chan <address@hidden> wrote:

> I will give you my settings once I got home (use libsupc++.a under 64-bit 
> Ubuntu 13.04). However my settings is calling for LLVMgold.so and 
> clang+binutils LTO support.

Have you tested that this actually works?  Even if you do somehow manage to 
link in libsupc++.a, you will then have two sets of symbols for the C++ runtime 
functions in any code that links libstdc++ (which, on Ubuntu, also statically 
links libsupc++) and so you will end up with undefined behaviour when you throw 
a C++ exception.  This may or may not work in any given case, depending on 
which combination of symbols is used.

In short: there's a reason why the build system doesn't do this by default.

David

-- Sent from my STANTEC-ZEBRA




reply via email to

[Prev in Thread] Current Thread [Next in Thread]