General

Profile

vp (Vladimir Pavlov)

  • Login: vp
  • Registered on: 05/07/2017
  • Last sign in: 07/01/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

06/02/2017

09:43 PM Ruby Bug #13548: miniruby SEGV while building with non-default CFLAGS (caused by __builtin_setjmp)
nobu (Nobuyoshi Nakada) wrote:
> It is not assigned since r43522.
I'm sorry. What I wrote was not what I meant.
The opengroup docs say setjmp should be used as "entire controlling expression" (with slight possible modifications), ...
vp (Vladimir Pavlov)

05/08/2017

04:07 PM Ruby Bug #13548: miniruby SEGV while building with non-default CFLAGS (caused by __builtin_setjmp)
Forgot to say, the same happens too with more popular
~~~
CFLAGS="-O3 -funroll-loops -g"
~~~
And the cause of the issue (in the backtrace attached) is not rb_str_buf_cat2+0x39, but is rb_require_internal+0x6ba (or even lower).
vp (Vladimir Pavlov)
03:53 PM Ruby Bug #13548 (Closed): miniruby SEGV while building with non-default CFLAGS (caused by __builtin_setjmp)
Trying to build ruby-2.4.1 using gcc-5.4.0 I get the attached error. Just-released gcc-7.1.0 causes the similar error. Old gcc-4.8.4 builds successfully.
The build command is:
~~~
CFLAGS="-O1 -fweb -g" LDFLAGS=-g ./configure --ena...
vp (Vladimir Pavlov)

Also available in: Atom