From owner-freebsd-toolchain@FreeBSD.ORG Tue Feb 22 21:44:02 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94AF610656B7 for ; Tue, 22 Feb 2011 21:44:02 +0000 (UTC) (envelope-from giffunip@tutopia.com) Received: from nm24-vm0.bullet.mail.sp2.yahoo.com (nm24-vm0.bullet.mail.sp2.yahoo.com [98.139.91.226]) by mx1.freebsd.org (Postfix) with SMTP id 711C18FC16 for ; Tue, 22 Feb 2011 21:44:02 +0000 (UTC) Received: from [98.139.91.69] by nm24.bullet.mail.sp2.yahoo.com with NNFMP; 22 Feb 2011 21:44:02 -0000 Received: from [98.139.91.36] by tm9.bullet.mail.sp2.yahoo.com with NNFMP; 22 Feb 2011 21:44:02 -0000 Received: from [127.0.0.1] by omp1036.mail.sp2.yahoo.com with NNFMP; 22 Feb 2011 21:44:02 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 237350.8405.bm@omp1036.mail.sp2.yahoo.com Received: (qmail 25167 invoked by uid 60001); 22 Feb 2011 21:44:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298411041; bh=yTaDZA6jqNArnamKXLZC2vpPmbxGD2P084PDOCfwpN0=; h=Message-ID:X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=YLBQx5qp3gei16wGdtSegS7n22hwjIjfyhqZIjpx/GLHO0oxItPhkQFxGtvqUT3V51dw0dib6X79LuNfB6d9ueLBmrScWGdO5tBSbWAASEwsfvFz+mxfiSg5K67JUx8ZWsqtPtZ7K31N6R/f/w0XXHOAcLvt2eenf2vdscVW9L8= Message-ID: <729674.24938.qm@web113508.mail.gq1.yahoo.com> X-YMail-OSG: UdyL5L0VM1lTioi8_RN0jKIemiVvs1IXiAPt_Mw.KUqbX5b 5yIKgxFLVwRoM45myUoXTQy1nzF.AyZCYsI0oC_1c6DNgmEp8l0byv_50lR0 y5VI_.xCq6IU0GXJwalUlcsEJfl7ScE3sSvz6UeoNPEZnf8dWT0ATjelOS35 g6VJZFuxzIpDcO2zgtNML5leER_An7vs.CSaluY0saJpN_uM8MIoITSpgQhC NduCUX2UYGjY.nh7XJ5OFuSXbrmodzSr5vYukNRCRzSCA.9zqrUnmeXK1NLK HDO6M3E9EF9yGuz7I8vlmmV_B3QZBcvnUeS2LdDExgdtfDpvKh.eDD58Iohg jqctSjb9yMoBTQNFK6Ud4blA2hMvkQWtXWfIAlrsTDhHWpCVrHnmP9qYdRO6 kTAQqn1oxoGOlMQ-- Received: from [190.157.140.248] by web113508.mail.gq1.yahoo.com via HTTP; Tue, 22 Feb 2011 13:44:01 PST X-RocketYMMF: giffunip X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Tue, 22 Feb 2011 13:44:01 -0800 (PST) From: "Pedro F. Giffuni" To: freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: BSD format-extensions break the gcc testsuite X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: giffunip@tutopia.com List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 21:44:02 -0000 Hello; I have been trying to build kernels with llvm-gcc4 so I took the code to add -fformat-extensions from our system gcc and I added it to llvm-gcc4. Unfortunately, even when format-extensions are not set, it seems to alter gcc's behaviour. The llvm committer reported this issue: _______ ... I applied the three patches in PR9097, and ran the LLVM test suite and the GCC test suite. The news is generally positive, but this test case: .../llvmgcc42.test/gcc/testsuite/gcc.dg/format/attr-3.c now segfaults on this declaration: extern void fe0 (const char *, ...) __attribute__((format(12345, 1, 2))); Both the patched and unpatched compiler generate lots of diagnostics for this test case, but the unpatched compiler doesn't segfault. ... _____ Anyone that can help? I suspect this issue may also be causing trouble in our base compiler. cheers, Pedro.