clang makes segfaulting code with -march=core2 on i386

2014-09-12 Thread Andrey Chernov
Hi. Please look at this thread. At the end the bug trigger found, since removing -march=core2 fix the thing. tijl@ suspects that clang produce 64bit instruction on i386 in that case. https://lists.freebsd.org/pipermail/freebsd-ports/2014-September/095466.html -- http://ache.vniz.net/ ___

Re: clang makes segfaulting code with -march=core2 on i386

2014-09-12 Thread Dimitry Andric
On 12 Sep 2014, at 17:01, Andrey Chernov wrote: > > Please look at this thread. At the end the bug trigger found, since > removing -march=core2 fix the thing. tijl@ suspects that clang produce > 64bit instruction on i386 in that case. > > https://lists.freebsd.org/pipermail/freebsd-ports/2014-Se

Re: clang makes segfaulting code with -march=core2 on i386

2014-09-12 Thread Andrey Chernov
On 12.09.2014 21:20, Dimitry Andric wrote: > On 12 Sep 2014, at 17:01, Andrey Chernov wrote: >> >> Please look at this thread. At the end the bug trigger found, since >> removing -march=core2 fix the thing. tijl@ suspects that clang produce >> 64bit instruction on i386 in that case. >> >> https://

Re: clang makes segfaulting code with -march=core2 on i386

2014-09-12 Thread Andrey Chernov
On 12.09.2014 22:40, Andrey Chernov wrote: > As you see, last meaningful info say something about "locale". If system > locale assumed here, I use ru_RU.KOI8-R. I try to check this thing with > LANG=C later. Does not help. The same fault with LANG=C too. -- http://ache.vniz.net/ signature.a

Re: clang makes segfaulting code with -march=core2 on i386

2014-09-12 Thread Andrey Chernov
On 12.09.2014 21:20, Dimitry Andric wrote: > Do you also have a coredump of the crashed process? Core file bzipped: http://rghost.ru/57982669 -- http://ache.vniz.net/ signature.asc Description: OpenPGP digital signature

Re: clang makes segfaulting code with -march=core2 on i386

2014-09-12 Thread Andrey Chernov
On 12.09.2014 22:40, Andrey Chernov wrote: > I don't have -current & i386 combination, but I can try -current & x64 later > (with different -march). It works on -current, amd64, -march=core2. So it either -stable or i386-specific clang bug. -- http://ache.vniz.net/ signature.asc Description:

Re: clang makes segfaulting code with -march=core2 on i386

2014-09-12 Thread Andrey Chernov
On 13.09.2014 0:44, Andrey Chernov wrote: > On 12.09.2014 22:40, Andrey Chernov wrote: >> I don't have -current & i386 combination, but I can try -current & x64 later >> (with different -march). > > It works on -current, amd64, -march=core2. So it either -stable or > i386-specific clang bug. >