From: "akira yamada / やまだあきら" Date: 2001-04-05T03:07:49+09:00 Subject: [ruby-dev:12771] miniruby got segv on linux/m68k Debian m68k(sid)で1.6.3がbuildできないようです. 正確にはbuildの途中でsegvをくらってしまいます. ./miniruby -Cext extmk.rbの中でくらうようです. 一応traceをとってみたのですが, これで役に立つでしょうか? #0 0xc00cb572 in realloc () from /lib/libc.so.6 #1 0x80022a12 in ruby_xrealloc (ptr=0x800e84f0, size=1355) at gc.c:137 #2 0x8005a9a0 in rb_str_cat (str=3222574984, ptr=0x800e5158 " inet4++;\n", len=17) at string.c:440 #3 0x8005aa82 in rb_str_append (str1=3222574984, str2=3222973728) at string.c:464 #4 0x8003f4a4 in here_document (term=69, indent=0) at parse.y:2751 #5 0x80040824 in rb_yylex () at parse.y:2948 #6 0x80038f88 in rb_yyparse () at /usr/share/bison/bison.simple:432 #7 0x8003bfb2 in yycompile ( f=0x800e2950 "/home/akira/deb.tmp/ruby/ruby-1.6.3/build-tree/ruby-1.6.3/ext/socket/extconf.rb", line=1) at parse.y:1982 #8 0x8003c210 in rb_compile_file ( f=0x800e2848 "/home/akira/deb.tmp/ruby/ruby-1.6.3/build-tree/ruby-1.6.3/ext/socket/extconf.rb", file=3222590664, start=1) at parse.y:2064 #9 0x80056f6a in load_file ( fname=0x800e2848 "/home/akira/deb.tmp/ruby/ruby-1.6.3/build-tree/ruby-1.6.3/ext/socket/extconf.rb", script=0) at ruby.c:829 #10 0x80056fbe in rb_load_file ( fname=0x800e2848 "/home/akira/deb.tmp/ruby/ruby-1.6.3/build-tree/ruby-1.6.3/ext/socket/extconf.rb") at ruby.c:842 #11 0x80017df6 in rb_load (fname=3222590724, wrap=0) at eval.c:5132 #12 0x800180ea in rb_f_load (argc=1, argv=0xefffca20) at eval.c:5184 #13 0x80015b2a in call_cfunc (func=0x800180a2 , recv=3222768784, len=-1, argc=1, argv=0xefffca20) at eval.c:4156 #14 0x8001606c in rb_call0 (klass=3222772884, recv=3222768784, id=8441, argc=1, argv=0xefffca20, body=0xc016cc88, nosuper=1) at eval.c:4295 #15 0x80016788 in rb_call (klass=3222772884, recv=3222768784, mid=8441, argc=1, argv=0xefffca20, scope=1) at eval.c:4494 #16 0x80011a7c in rb_eval (self=3222768784, n=0xc015ad94) at eval.c:2502 #17 0x8001043a in rb_eval (self=3222768784, n=0xc015bc6c) at eval.c:1988 #18 0x800112d0 in rb_eval (self=3222768784, n=0xc015ca7c) at eval.c:2368 #19 0x80016400 in rb_call0 (klass=3222773024, recv=3222768784, id=9705, argc=0, argv=0xefffe190, body=0xc015ca7c, nosuper=0) at eval.c:4407 #20 0x80016788 in rb_call (klass=3222773024, recv=3222768784, mid=9705, argc=1, argv=0xefffe18c, scope=1) at eval.c:4494 #21 0x80011a7c in rb_eval (self=3222768784, n=0xc0158fbc) at eval.c:2502 #22 0x8001467c in rb_yield_0 (val=3222619324, self=3222768784, klass=0, acheck=0) at eval.c:3551 #23 0x800148a6 in rb_yield (val=3222619324) at eval.c:3635 #24 0x8006650e in rb_ary_each (ary=3222619704) at array.c:629 #25 0x80015b32 in call_cfunc (func=0x800664ec , recv=3222619704, len=0, argc=0, argv=0x0) at eval.c:4159 #26 0x8001606c in rb_call0 (klass=3222744644, recv=3222619704, id=3561, argc=0, argv=0x0, body=0xc0172a70, nosuper=1) at eval.c:4295 #27 0x80016788 in rb_call (klass=3222744644, recv=3222619704, mid=3561, argc=0, argv=0x0, scope=0) at eval.c:4494 #28 0x80010df0 in rb_eval (self=3222768784, n=0xc015888c) at eval.c:2252 #29 0x8001043a in rb_eval (self=3222768784, n=0xc016bb1c) at eval.c:1988 #30 0x8000e562 in eval_node (self=3222768784, node=0xc016bb1c) at eval.c:1076 #31 0x8000e93c in ruby_run () at eval.c:1206 #32 0x8000d02e in main (argc=3, argv=0xeffffcc4, envp=0xeffffcd4) at main.c:50 #33 0xc008d400 in __libc_start_main () from /lib/libc.so.6