From owner-freebsd-current@freebsd.org Mon Oct 12 20:46:22 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 C64C8A12106 for ; Mon, 12 Oct 2015 20:46:22 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm22-vm1.bullet.mail.bf1.yahoo.com (nm22-vm1.bullet.mail.bf1.yahoo.com [98.139.212.127]) (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 77A95C89 for ; Mon, 12 Oct 2015 20:46:21 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1444682774; bh=DORQpw7ynh8tb7/gyYvaP1PcM0YwUvm/hoP631rPtqo=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=csLj8FULNsJksTvw4o84lzY14qkp51NuQrrgyduDP6UPSOI/hSOtS/+Yr/vg4s1G3zE694qcGTAwWiSbf/DrELJYDyhjlA2M7NhLpM62bqA8pqOIjOmyBZ5TjPyiZQLyisGAAOtEXlRYHEii4n5hkEXj/ng4fucY2Ng3jZV7R7dmyPwTHImia7wqNwDv+MbkdR0jRFaB19rDHc6Z1CtCMcTYtb+g3/ZtorlW96Uw+7DtQJHa8xkipSHpJls3kwRXoSis9w5DrnnidcSVeriBT6wgbxm5XqwGVpkgQCF4ORuNnND+BkFzF+BJxpv8LrFkYYbLG1EXMYB+F0DUBWFZFA== Received: from [98.139.215.142] by nm22.bullet.mail.bf1.yahoo.com with NNFMP; 12 Oct 2015 20:46:14 -0000 Received: from [98.139.211.206] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 12 Oct 2015 20:46:14 -0000 Received: from [127.0.0.1] by smtp215.mail.bf1.yahoo.com with NNFMP; 12 Oct 2015 20:46:14 -0000 X-Yahoo-Newman-Id: 874471.66954.bm@smtp215.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: PQrZhcAVM1nYSySQ3Lp71e2byXBAo7pcD3uSehyfMBMGi0l hmbyELl.CnWUKrVuJt.QER2y0sInBIgwgyimyjGXHjmnotjgzlV09VGPDTIw ubwNdUBG2KmkZFgx26xjoi4jaZEdyMNNxKvy1JytzU0E.awOvD6rNeFV5AAo 2VHGx4Kc_AfmIAA7q0HeI2vxJrxAHTaTIe__G.m9QjXDfFHxJeX2voSrym7F 81cL9e9_YuiqBNtGO3PJyzxPBQJ_pH1I7yTcy4QQe94Vm9sgZu9Vn0bM69uH Fpbg3kDKJIGi9K18RigzM72Ebs80cadaKPKLl7cunKnWlPaBlULWyvceDGa7 UWMBfIaE.zUKzToNaF5SGjUDgCO7SY0qcydbSein8RJpyCcL19BVVhTx1Bi5 LmSgH3QMgNlYbKgV5MA8ovLN9WO9XgwW.YTCx9UK18_pbtLvnp4HRfa0dRDk fGvWg3s4cTLKU0qGSqOAmK.M3Bv35mJ6.cCSi1fbXxC.SlUD94E_WW_Ncwy7 A82l03iAJtv8tQVE6weOOXGBhAU1NipOD 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 From: Pedro Giffuni Organization: FreeBSD Project Message-ID: <561C1C11.9050106@FreeBSD.org> Date: Mon, 12 Oct 2015 15:46:09 -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: Mon, 12 Oct 2015 20:46:23 -0000 (CCing Gerald as this may involve a g++ bug as well.) Hello; On 12/10/2015 03:33 p.m., 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). Well ... gcc48 carries the stack-protector-strong patches: https://svnweb.freebsd.org/ports/head/lang/gcc48/files/ I will try to reproduce locally. Pedro.