[LLVMdev] problems configuring LLVM with gold plugin
Ryan M. Lefever
lefever at illinois.edu
Tue Oct 5 00:59:05 PDT 2010
When I build LLVM 2.6 after configuring it with the
--with-binutils-include option so it points to the gold plugin
src/include directory, I get the errors below. I used "cvs -z 9 -d
:pserver:anoncvs at sourceware.org:/cvs/src co src" to check out the
gold-plugin, as is documented on llvm.org.
--------------------------
make[2]: Entering directory
`/home/lefever/work/llvm/v2.6/llvm-2.6_optimized/tools/gold'
llvm[2]: Compiling gold-plugin.cpp for Release build (PIC)
In file included from gold-plugin.cpp:15:
/home/lefever/work/llvm/v2.6/llvm-2.6_optimized/../gold-plugin/binutils/src/include/plugin-api.h:37:2:
error: #error can not find uint64_t type
In file included from gold-plugin.cpp:15:
/home/lefever/work/llvm/v2.6/llvm-2.6_optimized/../gold-plugin/binutils/src/include/plugin-api.h:91:
error: ‘uint64_t’ does not name a type
gold-plugin.cpp: In function ‘ld_plugin_status claim_file_hook(const
ld_plugin_input_file*, int*)’:
gold-plugin.cpp:279: error: ‘struct ld_plugin_symbol’ has no member
named ‘size’
make[2]: ***
[/home/lefever/work/llvm/v2.6/llvm-2.6_optimized/tools/gold/Release/gold-plugin.o]
Error 1
--------------------------
Thanks,
Ryan
More information about the llvm-dev
mailing list