From owner-freebsd-ports@FreeBSD.ORG Thu Jul 1 20:12:13 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BF631065670 for ; Thu, 1 Jul 2010 20:12:11 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id D5CD38FC19 for ; Thu, 1 Jul 2010 20:12:10 +0000 (UTC) Received: by gyd8 with SMTP id 8so47008gyd.13 for ; Thu, 01 Jul 2010 13:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9LDgA05nAjcEzsRFrdiLZlBzJKQL7G1EWlGfBbpjZmY=; b=azJcnzu2oDvUhGlFvM+uM633EMZrhCh9P5l5HUB1VBrjUaUVfCL6NQ6wp611EnqYZa 0v62dQjR89nLuCeULHDWPwATEawtG22u9bZx7M4nvHuzWq0XNR/77StYMeOzPXG9hX3M HN5RuUa9FgKz5WHMjmg6OqS9DLZwbY1mcQd9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=H9MJreilD63LVNDwsk2DHLdFM9iCovCmUC7XlZsJkIAG+aorQVaaomHXUZ3YWua0bu R6MQAh7tLxt5/F7RpxcphU82dDFCAP+8mqkCp5J34VGFtKmP8yyVpdP5UffV2PbY+Ki+ i19Qwww8SrwPPDKnzVG5IxjGvzlIhSScCAh58= MIME-Version: 1.0 Received: by 10.229.214.8 with SMTP id gy8mr6630585qcb.173.1278015127181; Thu, 01 Jul 2010 13:12:07 -0700 (PDT) Received: by 10.229.221.83 with HTTP; Thu, 1 Jul 2010 13:12:06 -0700 (PDT) In-Reply-To: <86r5jn0xw8.fsf@gmail.com> References: <4C297844.2030500@acm.poly.edu> <4C29796C.7070901@acm.poly.edu> <86vd91b4xk.fsf@gmail.com> <86630z85fg.fsf@gmail.com> <867hlf2doa.fsf@gmail.com> <86r5jn0xw8.fsf@gmail.com> Date: Thu, 1 Jul 2010 13:12:06 -0700 Message-ID: From: Garrett Cooper To: Anonymous Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Eitan Adler , freebsd ports Subject: Re: Confirming a bug in clang++ (freeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 20:12:13 -0000 On Thu, Jul 1, 2010 at 1:07 PM, Anonymous wrote: > Anonymous writes: > >>>> It's better to use -lstdc++ from same version of gcc by which the >>>> program using it was compiled. >>> >>> Is it possible to determine which one? >> >> No. If there is an easy way I think strings(1) would show. > > Doh, > > =A0$ strings $LOCALBASE/lib/libLLVM* | fgrep GCC > =A0GCC: (GNU) 4.5.1 20100617 (prerelease) Oops. This is part of the reason why whenever there's a compiler upgrade in Gentoo Linux land I always built the toolchain twice ><. -Garrett