From owner-freebsd-ports@FreeBSD.ORG Wed Jun 30 03:00:40 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 6D2001065677 for ; Wed, 30 Jun 2010 03:00:40 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 189548FC19 for ; Wed, 30 Jun 2010 03:00:39 +0000 (UTC) Received: by vws13 with SMTP id 13so535767vws.13 for ; Tue, 29 Jun 2010 20:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=dOtr5rL+q3Vq6zlMe9U3rIpwsw+Bli4kyk3il/g1Mhc=; b=UuKVqrmy2qdnS00Bu0EKnbeDmiAjOD0dn4x05w1lDZHcCT87m0A8srqTcZYe0xcneV b9Z1XMRt6GAbIdY+yyI91S8JuS8ZUrJV+cZZza9ayoP9iyoF7BoRLpXt0nOn6jlluJHD ReFPtHNcQjW5wUbnM9Xtkc4Y7OrcsRSwQ/vKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=BT3eC3jwejQKRmZaVESaeQHLZ67hG1qsdb6jgRjCoNmUjSvKKO1CTDQqol0S6/Q3yt 6W++zCQmdEbNVTTned7zM1BbpeIxfCDAruiTt3x4wFP+ghIpLuvDIdy6y/7i7vRqyeCU UeFgD4NgICVar3v+FBKsCPu5bpOQMWNh53AC4= Received: by 10.220.127.95 with SMTP id f31mr4360226vcs.163.1277866836962; Tue, 29 Jun 2010 20:00:36 -0700 (PDT) Received: from localhost (anonymizer3.torservers.net [173.244.197.211]) by mx.google.com with ESMTPS id m9sm8261607vcz.41.2010.06.29.20.00.34 (version=SSLv3 cipher=RC4-MD5); Tue, 29 Jun 2010 20:00:36 -0700 (PDT) From: Anonymous To: Eitan Adler References: <4C297844.2030500@acm.poly.edu> <4C29796C.7070901@acm.poly.edu> Date: Wed, 30 Jun 2010 07:00:23 +0400 Message-ID: <86vd91b4xk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Boris Kochergin , 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: Wed, 30 Jun 2010 03:00:40 -0000 Eitan Adler writes: >> One difference I notice between your environment and mine is that, according >> to your bug report, your program links against >> /usr/local/lib/gcc46/libstdc++.so.6, while mine links against >> /usr/lib/libstdc++.so.6. >> >> -Boris >> > I forgot about that. I use gcc46 to build ports and have > libstdc++.so.6 gcc46/libstdc++.so.6 > in /etc/libmap.conf I have clang++ (devel/llvm-devel) built by g++45 and linked against gcc45/libstdc++.so.6. It compiles your test case fine. But I'm running 9-current on amd64 so it may not be that useful. IMO, gcc46 being a development branch is prone to miscompile and have bugs. > > I guess I should close the bug.