From owner-freebsd-current@FreeBSD.ORG Wed Nov 27 18:43:13 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95B4C73C; Wed, 27 Nov 2013 18:43:13 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 57D1E20C6; Wed, 27 Nov 2013 18:43:13 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.7/8.14.7) with ESMTP id rARIh2V4015040; Wed, 27 Nov 2013 10:43:02 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.7/8.14.7/Submit) id rARIh2LX015039; Wed, 27 Nov 2013 10:43:02 -0800 (PST) (envelope-from sgk) Date: Wed, 27 Nov 2013 10:43:02 -0800 From: Steve Kargl To: Jan Henrik Sylvester Subject: Re: Re: libc++ vs. libstdc++ usage in the ports tree Message-ID: <20131127184302.GA15006@troutmask.apl.washington.edu> References: <20131112175556.GA3319@troutmask.apl.washington.edu> <20131112201922.GA4330@troutmask.apl.washington.edu> <20131113173143.Horde.a-9M7JQ_vHo3tpDIMsGK6g1@webmail.df.eu> <5283CA3C.3080201@FreeBSD.org> <352D9465-9840-43F0-A3A9-327DC12B0967@FreeBSD.org> <20131114144555.GA22093@troutmask.apl.washington.edu> <52963A90.4000201@janh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52963A90.4000201@janh.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Dimitry Andric , David Chisnall , Andriy Gapon , Maho Nakata , FreeBSD Current , Ryan Stone X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2013 18:43:13 -0000 On Wed, Nov 27, 2013 at 07:31:44PM +0100, Jan Henrik Sylvester wrote: > On 11/14/2013 15:45, Steve Kargl wrote: > > > > And in practice, it is broken. > > > > http://lists.freebsd.org/pipermail/freebsd-current/2013-November/046565.html > > > > QED > > Trying to migrate to 10, I would like to keep octave. Have you found > anything new? Having build the port and all dependencies with standard > options, octave is segfaulting for me, too. Anyhow, I can run octave with: > > env LD_PRELOAD=/usr/lib/libc++.so.1 octave > Unfortunately, you need to add "USE_GCC=any" to math/octave/Makefile, and rebuild it. You theni need to run "ldd -a | more" and search for shared libraries that are linked against both libc++ and libstdc++. Then, add "USE_GCC=any" to those ports' Makefile and recompile. I recall at least 4 that needed to be rebuilt, but only remember fltk and libgraphite2. -- Steve