[Top][All Lists]

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

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

From: Frank Rehwinkel
Subject: Re: FreeBSD 9.1 missing libcxxrt - is it needed for objc2?
Date: Wed, 12 Jun 2013 20:25:14 -0400

This thread is about the same problem with FreeBSD 9.1 back in March.

The solution seems to be to build libcxxrt.

But how?  When I try to follow this instruction

I've put MK_LIBCPLUSPLUS = yes in /etc/make.conf now.

and cd to /usr/src/lib/libcxxrt/ but then make fails with

address@hidden:/usr/src/lib/libcxxrt # make
"/usr/share/mk/", line 478: MK_LIBCPLUSPLUS can't be set by a user.

So I just don't know how to get this library built.  Not as simple as getting a port compiled I guess.

On Wed, Jun 12, 2013 at 7:07 PM, Frank Rehwinkel <address@hidden> wrote:
libsupc++.a does have symbols in it.
nm -g reports no symbols on

On Wed, Jun 12, 2013 at 6:52 PM, Maxthon Chan <address@hidden> wrote:
Oh it just hit me - maybe you want libsupc++.a instead of .so, which (may) ask for libc++ to build.

I used to simply force linking libobjc2 against libc++ but that tend to make app load a little slower and consume some more memory (and then defeat this performance penalty by enforcing link-time optimization in Base and GUI).

在 2013-6-13,上午6:48,Frank Rehwinkel <address@hidden> 写道:

I've checked the libsupc++ libraries are the same on the host as in the jail.  Same sizes, same symbolic links.

On Wed, Jun 12, 2013 at 6:39 PM, David Chisnall <address@hidden> wrote:

On 12 Jun 2013, at 23:35, Frank Rehwinkel <address@hidden> wrote:

> -- Using /usr/lib/ as the C++ runtime library

Hmm, this should work.  The C++ runtime symbols are missing from this library?


-- Sent from my Apple II

reply via email to

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