From owner-freebsd-current@freebsd.org Mon Oct 12 20:33:02 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 A965FA11AC9 for ; Mon, 12 Oct 2015 20:33:02 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 77E12BC; Mon, 12 Oct 2015 20:33:02 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by iodv82 with SMTP id v82so574150iod.0; Mon, 12 Oct 2015 13:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=by4ICo99bftjCCKLbnW3tv4Ywedx7kc6hnXZQ8dKLvs=; b=GIO0M/2vN7N1Q5KXHsb6SIYAFeDKfoaLIxf+Ld+P1bi7MdPVWXCJxouhrt2kdJK8sO CztHA1UE0Dc7tjmjVeSXrBlYYFtjOeftTvAMETN6TgW1OFbN4stGXAlf8poKArNly8X+ pTFF1qMryahtbxnLWky+WnvsWmdQzUWwvuy3Ezf4P2tAZZ7XlOyU517QsPtWAgGSv8xB acFFg7LN/MTp1UpsY52tmtfZdTS9SxpkB+SB3/tS0dNhQdtBTNIr/+vk3kwqZmjUGDid hpnIW/xZqzZiCT3IiXvRetpd3YgacZ4RBJ1SatZzaPR4HIyQeIbF1ZXzFhp5vybGKT4+ 2Xgg== MIME-Version: 1.0 X-Received: by 10.107.36.72 with SMTP id k69mr28014374iok.157.1444681981971; Mon, 12 Oct 2015 13:33:01 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.41.138 with HTTP; Mon, 12 Oct 2015 13:33:01 -0700 (PDT) In-Reply-To: <561C17F2.2030206@FreeBSD.org> References: <561C1523.7080200@FreeBSD.org> <561C17F2.2030206@FreeBSD.org> Date: Mon, 12 Oct 2015 15:33:01 -0500 X-Google-Sender-Auth: Ms0UznsDeCs4U9OQy0tKSG5vRro Message-ID: Subject: Re: r288669 breaks ports building with USE_GCC=yes From: Justin Hibbits To: Pedro Giffuni Cc: FreeBSD Current Content-Type: text/plain; charset=UTF-8 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:33:02 -0000 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). - Justin