Can't build lang/gcc port on i386: segmentation fault

Tijl Coosemans tijl at FreeBSD.org
Fri Sep 12 14:23:51 UTC 2014


On Fri, 12 Sep 2014 17:26:24 +0400 Andrey Chernov <ache at freebsd.org> wrote:
> On 12.09.2014 17:06, Andrey Chernov wrote:
>> On 12.09.2014 16:42, Gerald Pfeifer wrote:
>>> On Fri, 12 Sep 2014, Andrey Chernov wrote:
>>>>> As I just found, it builds with BOOTSTRAP nice, so apparently clang
>>>>> makes some damage. You can see CFLAGS in the log. Swap is 4GB I think it
>>>>> is large enough. Nothing special otherwise.
>>>> BTW, previous 4.7* as lang/gcc build fine even without BOOTSTRAP.
>>>
>>> I am curious, what happens when you try lang/gcc48?
>>>
>>> My expectation would be both lang/gcc and lang/gcc48 to behave
>>> the same, since it's a very similar codebase, gcc48 just a bit
>>> newer on the same branch.
>>>
>>> We could make BOOTSTRAP the default for lang/gcc, though not 
>>> doing that and thus building a lot faster has been one of the 
>>> features of lang/gcc. -- Since it does not reproduce for me,
>>> do others see the same failure?
>> 
>> Segfault is exact the same but comes from strange place - in the middle
>> of configure check. I will try with MAKE_JOBS_UNSAFE=yes
>
> With MAKE_JOBS_UNSAFE error finally shown in proper place, but remains 
> (it was misplaces in original lang/gcc report too, different file compiled 
> in the log, not O2g.gch):

Can you try with NO_CPU_CFLAGS=yes


More information about the freebsd-ports mailing list