[MacRuby-devel] ld warning? (testing branch)

Laurent Sansonetti laurent.sansonetti at gmail.com
Sat Mar 29 13:02:03 PDT 2008


Hi Pierce,

The RDoc generation is a little bit broken in the testing branch, due
to missing write barriers in the string class. This will be fixed in
0.2, and might already be fixed in trunk (though I didn't test it
yet).

Now the error you get doesn't seem to be a GC problem, but related to
something else. Could you remove .ext/rdoc or checkout a clean testing
snapshot (or trunk) and see if you reproduce the same error message
again?

Laurent

On Sat, Mar 29, 2008 at 12:33 PM, Pierce T. Wetter III
<pierce at twinforces.com> wrote:
>
>
>   making macruby
>  gcc -g -O2 -I/usr/include/libxml2 -g -O2  -arch ppc -arch i386  -fno-
>  common -pipe -fno-common   -arch ppc -arch i386 -L.    main.o  -
>  lmacruby -lpthread -ldl -lxml2 -lobjc -framework Foundation -lffi -
>  lauto   -o macruby gc-stub.o
>  ld warning: in gc-stub.o, file is not of required architecture
>
>   While make install-nodoc works, make install gives me an error:
>
>  sierramadre:MacRuby pierce$ sudo make install
>  ./miniruby -I./lib  ./instruby.rb --make="make" --dest-dir="" --
>  extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-
>  mode=0755 --installed-list .installed.list --mantype="doc"
>  installing binary commands
>  installing command scripts
>  installing library scripts
>  installing headers
>  installing manpages
>  installing extension objects
>  installing extension scripts
>  installing Xcode templates
>  installing samples
>  installing framework
>  Generating RDoc documentation
>  ./miniruby -I./lib  ./runruby.rb --extout=.ext  -- "./bin/rdoc" --all
>  --ri --op ".ext/rdoc" "."
>  ./runruby.rb:71:in `exec': Operation not supported (Errno::E045)
>         from ./runruby.rb:71:in `<main>'
>  <dummy toplevel>: [BUG] Bus Error
>  MacRuby version 0.1 (ruby 1.9.0 2008-03-01) [universal-darwin9.0]
>
>  -- control frame ----------
>  c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP
>  ---------------------------
>  -- backtrace of native function call (Use addr2line) --
>  0xe9ee6
>  0x1de7c
>  0x1debb
>  0xa047b
>  0x942cc5eb
>  0xffffffff
>  0x257f3
>  0x1e408
>  0xeb469
>  0x26d19
>  0x260f
>  0x2576
>  -------------------------------------------------------
>  make: *** [rdoc] Abort trap
>
>  _______________________________________________
>  MacRuby-devel mailing list
>  MacRuby-devel at lists.macosforge.org
>  http://lists.macosforge.org/mailman/listinfo/macruby-devel
>


More information about the MacRuby-devel mailing list