Subject: Re: bug#40462: 28.0.50; Building nativecomp branch segfaulting on FreeBSD

From: Andrea Corallo <[email-masked]>
Date: Thu, 30 Apr 2020 20:49:17 +0000

Ashish SHUKLA <[email-masked]> writes:

> Hi Andrea,
>
> Sorry for the delay.
>
> Tried 02e3ffad6d9f with again with following CFLAGS, assuming by speed 0
> you meant, -O0:
>
> -O0 -g -march=haswell -fstack-protector-strong -isystem
> /usr/local/include -fno-strict-aliasing -fstack-protector-strong
> -isystem /usr/local/include

Hi Ashish,

Thanks, sorry I wasn't clear.  You can control the speed parameter of
the native compiler during the initial build for instance as follow:

make BYTE_COMPILE_EXTRA_FLAGS='--eval "(setq comp-speed 0)"' -j2

If you could try this is an interesting test.  I suspect this could be
the same bug is seen on MacOS where is observed to be working only at
speed 0.

  Andrea

-- 
[email-masked]