[MacPorts] #15635: Ruby 1.8.7 dumps core on 10.5 ppc

MacPorts noreply at macports.org
Mon Jun 16 07:40:30 PDT 2008


#15635: Ruby 1.8.7 dumps core on 10.5 ppc
--------------------------------+-------------------------------------------
 Reporter:  blair at macports.org  |       Owner:  pguyot at kallisys.net
     Type:  defect              |      Status:  new                
 Priority:  Normal              |   Milestone:  Port Bugs          
Component:  ports               |     Version:  1.6.0              
 Keywords:                      |  
--------------------------------+-------------------------------------------
 I can compile and test ruby 1.8.7 fine on 10.5.3 i386, but it dumps core
 on 10.5.3 ppc:

 {{{
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c string.c
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c struct.c
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c time.c
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c util.c
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c
 variable.c
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c version.c
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c
 ./missing/alloca.c
 ./missing/alloca.c:144: warning: conflicting types for built-in function
 'alloca'
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c dmyext.c
 ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o
 enum.o enumerator.o error.o eval.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 prec.o
 random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o
 struct.o time.o util.o variable.o version.o alloca.o dmyext.o
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c main.c
 /usr/bin/gcc-4.0 -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -I.
 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -c dmydln.c
 /usr/bin/gcc-4.0  -O2  -fno-common -pipe -fno-common    -DRUBY_EXPORT  -L.
 -L/opt/local/lib  main.o dmydln.o libruby-static.a -lpthread -ldl -lobjc
 -o miniruby
 ./ext/purelib.rb:5: [BUG] Segmentation fault
 ruby 1.8.7 (2008-05-31 patchlevel 0) [powerpc-darwin9.3.0]

 make: *** [.rbconfig.time] Abort trap (core dumped)

 Warning: the following items did not execute (for ruby):
 org.macports.build
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/15635>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list