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
Try removing gc-stub.o and running make again. sent from my iPhone On Mar 29, 2008, at 14:33, "Pierce T. Wetter III" <pierce@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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macruby-devel
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@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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macruby-devel
On Mar 29, 2008, at 1:02 PM, Laurent Sansonetti wrote:
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?
Removing gc-stub.o make that part work, I get a different error now with the rdoc part after removing .ext/rdoc, but if its known to be broken, that's fine. Pierce
On Mar 30, 2008, at 12:57, Pierce T. Wetter III wrote:
On Mar 29, 2008, at 1:02 PM, Laurent Sansonetti wrote:
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?
Removing gc-stub.o make that part work, I get a different error now with the rdoc part after removing .ext/rdoc, but if its known to be broken, that's fine.
Pierce
I am going to guess (because it was the problem I was having before) that you had most likely built with one set of architectures, then did a clean, and then tried to build with a different set of architectures. The problem was that the Makefile system wasn't removing gc-stub.o when cleaning. It should be fixed on trunk so the next time that trunk gets moved to testing it should be fixed.
On Mar 30, 2008, at 5:36 PM, Jordan Breeding wrote:
On Mar 30, 2008, at 12:57, Pierce T. Wetter III wrote:
On Mar 29, 2008, at 1:02 PM, Laurent Sansonetti wrote:
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?
Removing gc-stub.o make that part work, I get a different error now with the rdoc part after removing .ext/rdoc, but if its known to be broken, that's fine.
Pierce
I am going to guess (because it was the problem I was having before) that you had most likely built with one set of architectures, then did a clean, and then tried to build with a different set of architectures. The problem was that the Makefile system wasn't removing gc-stub.o when cleaning. It should be fixed on trunk so the next time that trunk gets moved to testing it should be fixed.
Yeah, I think the problem was that I did the configure wrong, then read the correct line in the read me and started over after a make clean. Pierce
participants (3)
-
Jordan Breeding
-
Laurent Sansonetti
-
Pierce T. Wetter III