Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 09:59:28 -0500
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        Pedro Giffuni <pfg@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, gerald@freebsd.org
Subject:   Re: r288669 breaks ports building with USE_GCC=yes
Message-ID:  <CAHSQbTDQnmDDABBHR-KFFM80-CvqknU4M1rk=MvXmLm7mTbg2g@mail.gmail.com>
In-Reply-To: <561D129C.9040604@FreeBSD.org>
References:  <CAHSQbTC1ReVYiwcd6HxbteOyDeOxt1_ydz3zcFR3_Loc_X748A@mail.gmail.com> <561C1523.7080200@FreeBSD.org> <561C17F2.2030206@FreeBSD.org> <CAHSQbTC=SW8MOD63C=Gv8wqAWqyRrbpBeifo9HUfW98Sx8UJnA@mail.gmail.com> <561C4F10.7060206@FreeBSD.org> <DDAFD5A6-C049-4041-BF36-0D12DBC08F3A@alumni.cwru.edu> <561D129C.9040604@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Pedro,

On Tue, Oct 13, 2015 at 9:18 AM, Pedro Giffuni <pfg@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTDQnmDDABBHR-KFFM80-CvqknU4M1rk=MvXmLm7mTbg2g>