From owner-freebsd-current@FreeBSD.ORG Wed Jul 11 03:41:23 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 928DF1065672 for ; Wed, 11 Jul 2012 03:41:23 +0000 (UTC) (envelope-from pfg@freebsd.org) Received: from nm1-vm3.bullet.mail.ne1.yahoo.com (nm1-vm3.bullet.mail.ne1.yahoo.com [98.138.91.131]) by mx1.freebsd.org (Postfix) with SMTP id 4339E8FC15 for ; Wed, 11 Jul 2012 03:41:23 +0000 (UTC) Received: from [98.138.90.52] by nm1.bullet.mail.ne1.yahoo.com with NNFMP; 11 Jul 2012 03:41:16 -0000 Received: from [98.138.84.43] by tm5.bullet.mail.ne1.yahoo.com with NNFMP; 11 Jul 2012 03:41:16 -0000 Received: from [127.0.0.1] by smtp111.mail.ne1.yahoo.com with NNFMP; 11 Jul 2012 03:41:16 -0000 X-Yahoo-Newman-Id: 896110.9807.bm@smtp111.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6xAeQBUVM1k7TLGb.GiywUa6.4ZPdnmwpEdQDn02C9blPxH J8zfrHoxENGUc6RJ_9k1NIhp4LBM7O7e9a63vpCzUkpYOTe98TFT2pPHgD1e Rt829eGYqBXT1kWJKNNF6l4nOrsziWTCdAiIA_fd_VR7S7M.cxINZKvPZkL3 v7uzEJYuSnvv91qbSrom.akxswy.LSt1qVXu2DZiJdkrsM7rC_x6mdcdsRbV kGYYigcef83TNy2q9LdI0mYySxjRymx7NybdsR6V0syDqAVk95gMnU_8NdzZ nldhpChrR4LowgTrEsxKVZzJfPxbrUmRb4O8zrzuaMe2jjrCYJnZpwoxkjtN b1QktYes6G18t23uvQyM5gTp045OUTqCJnsHozNory6hUJYng4FiWayV5_HX VbzFW6EQHGNkADodvlBqvX.5pOwpNK02vyY7XsX9rZ_JikA.zuDpyJt3c0uh 8XG8.wHvrfyryohkYJ1sOjGi9o2SHyENpNNXfO3GlFv_EWEu70AeEKSxiEHY 25oCw1wd74Kqk X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.101] (pfg@200.118.157.7 with plain) by smtp111.mail.ne1.yahoo.com with SMTP; 10 Jul 2012 20:41:16 -0700 PDT Message-ID: <4FFCF5F8.6060104@FreeBSD.org> Date: Tue, 10 Jul 2012 22:41:44 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120618 Thunderbird/13.0 MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: [CFT] Add -Wbounded to gcc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 11 Jul 2012 03:41:23 -0000 Hello; I have a patch from OpenBSD that adds -Wbounded to gcc: http://people.freebsd.org/~pfg/patches/patch-gcc-bounded Unfortunately it breaks world, or at least binutils, at this time: _________ ... cc1: warnings being treated as errors peigen.c: In function '_bfd_pei_swap_aux_in': peigen.c:241: warning: array size (14) smaller than bound length (18) peigen.c:241: warning: array size (14) smaller than bound length (18) peigen.c: In function '_bfd_pei_swap_aux_out': peigen.c:314: warning: array size (14) smaller than bound length (18) peigen.c:314: warning: array size (14) smaller than bound length (18) *** Error code 1 Stop in /usr/src/gnu/usr.bin/binutils/libbfd. *** Error code 1 Stop in /usr/src/gnu/usr.bin/binutils. ___________ OpenBSD has a fix but before attempting to clean this, and whatever else would break, I can't help but ask: is it worth it? best regards, Pedro.