Bug #775

trunk build fails on Mac OS X 10.5.5

Added by Stephen Bannasch about 3 years ago. Updated 10 months ago.

[ruby-core:20040]
Status:Closed Start date:11/23/2008
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:1.9.1 Release Candidate
ruby -v:

Description

I have trunk r20317  checked out on a Mac OS X 10.5.5 Intel Core 2 Duo system and have the following error compiling:

[matzruby.git (trunk)]$ autoconf && ./configure --prefix=/Users/stephen/dev/ruby/builds/mri/trunk
[matzruby.git (trunk)]$ make clean && make && make install

...
gcc -O2 -g -Wall -Wno-parentheses -pipe -fno-common  -L.    main.o dmydln.o dmyencoding.o miniprelude.o array.o bignum.o class.o compar.o complex.o dir.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o version.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o lgamma_r.o  dmyext.o  -lpthread -ldl -lobjc   -o miniruby
[BUG] register_sigaltstack. error

ruby 1.9.0 (2008-11-22) [i386-darwin9.5.0]

-- control frame ----------
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP   
---------------------------
-- backtrace of native function call (Use addr2line) --
0x115146
0x2b1cc
0x2b20b
0xbb2d3
0xbbe12
0x45fc7
0x305c5
0x1785
0x1706
-------------------------------------------------------
make: *** [.rbconfig.time] Abort trap

Associated revisions

Revision 20331
Added by Yuki Sonoda about 3 years ago

* signal.c (ALT_STACK_SIZE): 4KB is not enough on Mac OS X. Uses SIGSTKSZ. this fixes [ruby-core:20040].

History

Updated by Roger Pack about 3 years ago

you can get by this temporarily by commenting out the calls to register_sigalstack in signal.c
GL
-=R

Updated by Yuki Sonoda about 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
Applied in changeset r20331.

Also available in: Atom PDF