From owner-freebsd-current@freebsd.org Tue Oct 13 00:29:31 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15C269D1A0F for ; Tue, 13 Oct 2015 00:29:31 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm38-vm5.bullet.mail.bf1.yahoo.com (nm38-vm5.bullet.mail.bf1.yahoo.com [72.30.239.21]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB1891A89 for ; Tue, 13 Oct 2015 00:29:30 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1444695831; bh=xNEuUV+t7xVaNuGKX3d8bjt3y4K7oYO9ROoHl1HWPj0=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=Lf2d+Yelw3CdUy7+1jROvG0HWhh5+R4h0NwLuYzhr6kmcVIsxJQVan/8rYV8JsOM+T0yy0V+G44Fk3MKDKvhW1QznJWN3IhOdCNvjRV7s5SdrRHLzmgH5NZz9503Ie200ZzSTPzlUezFasy7gFWCk3XANQD/+ztJAyAVNiuJE0GBIZbQGrpVP/369QLYmHXG+NamhRL6ZZ2vds7dokHoea4GUpGY//ewk0IU9dH0Hvq5pLvyrKIiPBA940txaXXh/24cRyKXRpo8vNACHfF/XcULnoNlfTgA/6jN6xZ67M56ZvI9GsziwRbefFydtmRw4Uc7UaGTpu6Ab1W9Dnrtfg== Received: from [98.139.170.180] by nm38.bullet.mail.bf1.yahoo.com with NNFMP; 13 Oct 2015 00:23:51 -0000 Received: from [68.142.230.77] by tm23.bullet.mail.bf1.yahoo.com with NNFMP; 13 Oct 2015 00:23:51 -0000 Received: from [127.0.0.1] by smtp234.mail.bf1.yahoo.com with NNFMP; 13 Oct 2015 00:23:51 -0000 X-Yahoo-Newman-Id: 463074.42938.bm@smtp234.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: mccfpygVM1kGiflbzoIh9Whummm87q2ZazyUBXekUyuV7M2 DtOXKyk2lMEpZy7KgGgzmsI91SyMOsnWCjCZKE4wKmuA1Abjikw986zxIOTl ouiNp7E351aApyRP.7XaHVhYKcjzkHURqd8O2_YPJtVTo6Mp8jPF4YUQ83It RSnFKdim1o5LkjGJZg9.2OnYWFJdrZ76gmA6WtQ0wPis5Qx6BJNCAcprjChM B28d.uRAn3PwInfQlec7YVCVOdbfJtWojTbYbglzjmLew.2jhhhbnxIgrmWH J1QeHlVp4eaBUNCFgb3eYJpC__HYIurDRDVSQRioJ1.ttO4tMG6s8VePgnzH r2TQ5sEjgV0rlbA6juWlVR.MlP1xMPL.wK7EzVlky.tthlXmF3hqbSfT4BjU LeY165vf.T..oberjWV7AorKuQLAEWpToeQzYZREEAP.yawZdZvw02d79HcT cloW1ozcL8wHCg49Ky6tRMRQLvGRZU2lMe8tXsqIvKBTS5zi9GR4vM_86Af6 i9wB.QuJjMihShz49TVfbUYkyD1ODqO9E X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Subject: Re: r288669 breaks ports building with USE_GCC=yes To: Justin Hibbits References: <561C1523.7080200@FreeBSD.org> <561C17F2.2030206@FreeBSD.org> Cc: FreeBSD Current , gerald@FreeBSD.org, mi@aldan.algebra.com From: Pedro Giffuni Organization: FreeBSD Project Message-ID: <561C4F10.7060206@FreeBSD.org> Date: Mon, 12 Oct 2015 19:23:44 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 13 Oct 2015 00:29:31 -0000 On 10/12/2015 3:33 PM, Justin Hibbits wrote: > Hi Pedro, > > On Mon, Oct 12, 2015 at 3:28 PM, Pedro Giffuni wrote: >> Hi again; >> >> On 12/10/2015 03:16 p.m., Pedro Giffuni wrote: >>> Hello; >>> >>> On 12/10/2015 02:56 p.m., Justin Hibbits wrote: >>>> The default ports gcc for USE_GCC is still 4.8, which does not support >>>> -fstack-protector-strong. This breaks several ports including (from >>>> my poudriere run): libfpx and qt4-sqlite3-plugin. >>>> >>>> - Justin >>> >>> r288669 only applies to base. It was tested with an exp-run and there were >>> no >>> failures so this is something wrong in your setup. >>> >> Ugh ... now that I remember, we actually used -stack-protector-all for the >> exp-run >> (which is supported in pretty much every gcc). >> >> Still, the change should only apply to the base system and not ports, and >> -stack-protector-strong appears to have been backported to gcc48 >> last year (see PR 186852). >> >> cheers, >> >> Pedro. >> > All I can say is building with USE_GCC=yes, I see the following error: > > g++48: error: unrecognized command line option '-fstack-protector-strong' > > This is using the latest gcc48 in ports (full tree updated yesterday). OK, I tested graphics/libfpx on i386-current: -stack-protector-strong indeed gets pulled in due to some non-orthodox workarounds in files/Makefile.bsd. g++48 accepts it just fine and the port compiles. Is this a platform that has GCC issues, perhaps? It looks like one of those "unfortunately series of events" that may have to be fixed in the port and/or gcc48. Pedro.