From owner-freebsd-current@freebsd.org Tue Oct 13 14:59:29 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 9C88D9D2BFB for ; Tue, 13 Oct 2015 14:59:29 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (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 7162B2C1; Tue, 13 Oct 2015 14:59:29 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by igcpe7 with SMTP id pe7so18084344igc.0; Tue, 13 Oct 2015 07:59:28 -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=/QEWSDEQAEf9fmtJfLRNeisiPaLe+wQtrPZ4Y13OZqE=; b=lIpuI7k35loFhDLnaR8ixCAyJBr8xC+curhB5Bx+rNS8Yu42QEbA5fqEfL67WlcLv1 3crZBtDp5tUQSqoUfU81DvAo//pgZc3FjvnqVx7JPynaTOlvbn7+ev+qaqplUASdRB6o 2X1a0VtCYwIKyudKxQ7h2Jr90psNugj5yzue/3FVqiqDc2WTI+DoO6LY0KG4GjVr10Y0 AVyF0uz8A8k19xa1LHyp00tX0nxsAUn1nj1qbPf9uJ3Vg1x+6kUpsSTv1aeiymoU3x6U //YNnSkkzPinMHLx76549sBhPBdjLVtt31uhBGcfBxg8/thC/c193AwnAGPnqD7wxpLS EUOA== MIME-Version: 1.0 X-Received: by 10.50.78.40 with SMTP id y8mr20175454igw.8.1444748368752; Tue, 13 Oct 2015 07:59:28 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.41.138 with HTTP; Tue, 13 Oct 2015 07:59:28 -0700 (PDT) In-Reply-To: <561D129C.9040604@FreeBSD.org> References: <561C1523.7080200@FreeBSD.org> <561C17F2.2030206@FreeBSD.org> <561C4F10.7060206@FreeBSD.org> <561D129C.9040604@FreeBSD.org> Date: Tue, 13 Oct 2015 09:59:28 -0500 X-Google-Sender-Auth: fnKCT5E_zoB3mwYcQXMwU9X_mJY Message-ID: Subject: Re: r288669 breaks ports building with USE_GCC=yes From: Justin Hibbits To: Pedro Giffuni Cc: FreeBSD Current , gerald@freebsd.org 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: Tue, 13 Oct 2015 14:59:29 -0000 Hi Pedro, On Tue, Oct 13, 2015 at 9:18 AM, Pedro Giffuni wrote: > Hi; > > On 10/12/2015 8:28 PM, Justin Hibbits wrote: >> >> Hi Pedro, >> >> ... >> This is on powerpc64. I see the patch has been there for 16 months, but >> for some reason, the /usr/local/bin/gcc48 doesn't contain the patch. I ran >> `strings` on the binary, and it has the following string: >> >> %{fstack-protector|fstack-protector-all:-lssp_nonshared} >> >> Which, if you examine files/patch-stackprotector-gcc, is the unpatched >> string. >> >> I have no idea why this is the case. >> > > I think it is important to determine if this is a problem from upstream or > a problem in the gcc48 backported patches. Please test building with gcc49 > or gcc5. > > This is just for curiosity ... I am keeping my fingers away from GCC ;). > > Pedro. > As Antoine mentioned, the problem is that lang/gcc does not have this patch. USE_GCC uses lang/gcc, not lang/gcc48. So lang/gcc needs to be updated. - Justin