From owner-freebsd-ports@FreeBSD.ORG Tue Jun 29 02:57:51 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 6F6D1106564A for ; Tue, 29 Jun 2010 02:57:51 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4667B8FC0A for ; Tue, 29 Jun 2010 02:57:50 +0000 (UTC) Received: by iwn9 with SMTP id 9so301815iwn.13 for ; Mon, 28 Jun 2010 19:57:50 -0700 (PDT) Received: by 10.231.150.16 with SMTP id w16mr6052639ibv.42.1277780270234; Mon, 28 Jun 2010 19:57:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.194.147 with HTTP; Mon, 28 Jun 2010 19:57:30 -0700 (PDT) From: Eitan Adler Date: Mon, 28 Jun 2010 22:57:30 -0400 Message-ID: To: freebsd ports Content-Type: text/plain; charset=UTF-8 Subject: 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: Tue, 29 Jun 2010 02:57:51 -0000 Can anyone with FreeBSD 8.1-RC1 i386 or FreeBSD 8.1-RC2 i386 confirm that the following code compiles and fails with the version of clang++ from ports? This works with g++ and fails with clang++ for me. Here is the original code #include int main() { std::cout << 1; return 1; } My bug report is here: http://llvm.org/bugs/show_bug.cgi?id=7489 I want to know if this is my problem or a clang++ problem or a bug somewhere else. -- Eitan Adler