[haiku-bugs] Re: [Haiku] #5321: vm_soft_fault while compiling ruby, reproducible.

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sat, 30 Jan 2010 11:53:55 -0000

#5321: vm_soft_fault while compiling ruby, reproducible.
---------------------------+------------------------------------------------
 Reporter:  kallisti5      |       Owner:  axeld    
     Type:  bug            |      Status:  new      
 Priority:  normal         |   Milestone:  R1       
Component:  System/Kernel  |     Version:  R1/alpha1
 Keywords:                 |   Blockedby:           
 Platform:  All            |    Blocking:           
---------------------------+------------------------------------------------

Comment(by kallisti5):

 Replying to [comment:13 augiedoggie]:
 > Replying to [comment:7 kallisti5]:
 > > ok.. weird but good news.  compiling ruby (same code) on R1A1 brings
 up the gdb crash window at the same step that was failing in r35267.
 >
 > Probably not related to the compile problem in this ticket, just wanted
 to point out that ruby doesn't run on R1A1 because of pthread problems
 that were fixed in r33779

 As stated this is r35267.

 > There is also a ruby package available for download at [http://www
 .haiku-ports.de/packages/dev-lang/ruby/ruby-1.9.1-x86-gcc2-2009-10-28.zip
 HaikuPorts]
 >
 > And the [http://ports.haiku-files.org/wiki/dev-lang/ruby/1.9.1/1
 portlog]

 Ha... i wish i knew about these.. several of the things in that patch I
 did myself and submitted upstream to Ruby. (they were all added)

 * changing BEOS defines to defined __HAIKU__  -- checked in http://redmine
 .ruby-lang.org/repositories/diff/ruby-19?rev=26398

 * Missing Haiku SA_SIGINFO -- fixed in mainline ruby, don't have the
 revision number off hand though.

 * The following probably still needs committed (based on the port log)

 diff -ur ruby-1.9.1-p243/configure.in ruby-1.9.1-p243-haiku/configure.in

 -                           DLDFLAGS="$DLDFLAGS -L/boot/develop/lib/x86
 -lbe -lroot"
 +                           DLDFLAGS="$DLDFLAGS -L/boot/develop/lib/x86
 -lbe -lroot -L/boot

 diff -ur ruby-1.9.1-p243/ext/nkf/nkf-utf8/nkf.h
 ruby-1.9.1-p243-haiku/ext/nkf/nkf-utf8/nkf.h

 +#elif defined(__HAIKU__)
 +# undef HAVE_LANGINFO_H
 +# ifndef HAVE_LOCALE_H
 +#  define HAVE_LOCALE_H
 +# endif

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5321#comment:14>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: