Thought I'd toss this out there for folks interested (or that might be
able to help me).

John Rose has been maintaining (or at least has pointers to) a Hotspot
disassembler plugin here:

http://wikis.sun.com/display/HotSpotInternals/PrintAssembly

I've used it in the past, and although it's pretty raw it's the only
way to see the actual final assembly Hotspot is generating. You need
to turn on a few other flags to interlace enough information to know
what's what. If you're not comfortable with raw assembly, stick to
+PrintOptoAssembly (only in fastdebug/debug builds...emits
pseudo-assembly and some fictional instructions that are eventually
composited into appropriate sequences for the host platform).

Now that you know about that, here's my build problem. Seems to be a
bad libtool version, but I have no idea how to correct it. Whenever I
have to debug an autotool-based build, a kitten dies somewhere:

~/projects/base-hsdis/sandbox ➔ make
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make  all-recursive
Making all in libdisasm
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..     -g -O2 -Wall -ggdb -MT ia32_implicit.lo -MD -MP -MF
.deps/ia32_implicit.Tpo -c -o ia32_implicit.lo ia32_implicit.c
../libtool: line 818: X--tag=CC: command not found
../libtool: line 851: libtool: ignoring unknown tag : command not found
../libtool: line 818: X--mode=compile: command not found
../libtool: line 985: *** Warning: inferring the mode of operation is
deprecated.: command not found
../libtool: line 986: *** Future versions of Libtool will require
--mode=MODE be specified.: command not found
../libtool: line 1129: Xgcc: command not found
../libtool: line 1129: X-DHAVE_CONFIG_H: command not found
../libtool: line 1129: X-I.: command not found
../libtool: line 1129: X-I..: command not found
../libtool: line 1129: X-g: command not found
../libtool: line 1129: X-O2: command not found
../libtool: line 1129: X-Wall: command not found
../libtool: line 1129: X-ggdb: command not found
../libtool: line 1129: X-MT: command not found
../libtool: line 1129: Xia32_implicit.lo: command not found
../libtool: line 1129: X-MD: command not found
../libtool: line 1129: X-MP: command not found
../libtool: line 1129: X-MF: command not found
../libtool: line 1129: X.deps/ia32_implicit.Tpo: No such file or directory
../libtool: line 1129: X-c: command not found
../libtool: line 1181: Xia32_implicit.lo: command not found
../libtool: line 1186: libtool: compile: cannot determine name of
library object from `': command not found
make[2]: *** [ia32_implicit.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

- Charlie

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.

Reply via email to