From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DE21A13838B for ; Tue, 23 Sep 2014 09:42:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02BF0E0B54; Tue, 23 Sep 2014 09:42:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00C19E0965 for ; Tue, 23 Sep 2014 09:42:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 504A434025F for ; Tue, 23 Sep 2014 09:42:19 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: 0.185 X-Spam-Level: X-Spam-Status: No, score=0.185 tagged_above=-999 required=5.5 tests=[AWL=-0.312, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=-0.703, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id czGwEUrhwwMf for ; Tue, 23 Sep 2014 09:42:13 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DCAF3401BB for ; Tue, 23 Sep 2014 09:42:13 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XWMbo-0001sa-Nx for gentoo-user@gentoo.org; Tue, 23 Sep 2014 11:42:08 +0200 Received: from athedsl-32314.home.otenet.gr ([87.202.127.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 11:42:08 +0200 Received: from realnc by athedsl-32314.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 11:42:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: "stack-protector-strong" option results in gcc error Date: Tue, 23 Sep 2014 12:41:50 +0300 Organization: Lucas Barks Message-ID: References: <20140923024941.GA2848@waltdnes.org> <20140923085403.GA4540@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-32314.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 In-Reply-To: <20140923085403.GA4540@waltdnes.org> X-Archives-Salt: 2d2676b3-4d37-479d-81d4-9bea151a9694 X-Archives-Hash: a09f62e24a327cb8bca77692464394ee On 23/09/14 11:54, Walter Dnes wrote: > On Tue, Sep 23, 2014 at 09:16:42AM +0300, Alexander Kapshuk wrote >> >> Looks like support for '-fstack-protector-strong' was implemented in >> more recent versions of gcc. The the URL below for details: >> >> https://securityblog.redhat.com/tag/stack-protector/ > > Thanks for the explanation. The blog says... > >> GCC 4.8.1 and the GCC version in Fedora 19 added another mode, >> -fstack-protector-strong, bringing the number of stack protector >> modes up to three. > > Gentoo stable appears to be gcc-4.7.3-r1. ebuilds up to gcc-4.9.1 are > present in the tree. Upgrading gcc is painful, so I appreciate the > maintainers not forcing a rebuild with every version bump. You don't need to upgrade. You can just install it in parallel with your current GCC, and use the newer one just to build the kernel.