[LLVMdev] problems configuring LLVM with gold plugin
Duncan Sands
baldrick at free.fr
Tue Oct 5 07:45:20 PDT 2010
Hi Ryan,
> 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.
this looks like a version mismatch. Unfortunately I don't know which
version of gold works with llvm-2.6.
Ciao,
Duncan.
>
> --------------------------
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list