Displaying 2 results from an estimated 2 matches for "j3compiler".
Did you mean:
lj3compiler
2010 Jul 14
0
[LLVMdev] How to cope with 'undefined reference' errors taken the example of building VMkit x86_64 version
....
Linker somehow looks for that symbol only in A library, where it is
undefined, U-symbol, in terms of nm(1).
Solution is to add in USEDLIBS line name of B library immediately after name
of A, for every such A for which linker gets so confused.
***
Example for VMkit:
USEDLIBS = J3.a Classpath.a J3Compiler.a Allocator.a \
Mvm.a MvmCompiler.a $(GCLIB).a CommonThread.a
make output:
<<<
make[1]: Leaving directory `/home/mn/tests/VMkit/vmkit/lib'
make[1]: Entering directory `/home/mn/tests/VMkit/vmkit/tools/vmjc'
llvm[1]: Compiling vmjc.cpp for Debug build
llvm[1]: L...
2010 Jun 29
1
[LLVMdev] problems building vmkit
...ectory `/home/zoewolk/RESEARCH/vmkit/tools/vmkit'
make[1]: *** [vmkit/.makeall] Error 2
make[1]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/tools'
make: *** [all] Error 1
> ls Release/lib/
Allocator.bc J3.bc MMTKAlloc.bc MMTKRuntime.bc
StaticGCPass.so
Classpath.bc J3Compiler.bc MMTk.bc Mvm.bc
CommonThread.bc JITGCPass.so MMTKMagic.so MvmCompiler.bc
3) For
./configure --with-llvmsrc=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--with-llvmobj=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--with-gnu-classpath-glibj=/home/zoewolk/RESEARCH/classpath-0.97.2/lib
--with-gnu-cl...