[LLVMdev] Building LLVM on PPC

Joe Abbey jabbey at arxan.com
Tue Oct 18 12:19:55 PDT 2011


This also seems to fail on x86_64 Darwin (in this exact way) if -DBUILD_SHARED_LIBS is true.

It would seem that's not maintained... I'm still working through some build failures.

I had to set BUILD_SHARED_LIBS for PowerPC because the linker was failing to generate jumps > 16M

Still churning away, but there seem to be issues with LLVMJIT (required CodeGen in the CMakeLists.txt)

and also seem to be issues with llvm-objdump.

File bugs against build-scripts, cmake?

Cheers,

Joe Abbey
Software Architect
Arxan Technologies, Inc.
1305 Cumberland Ave, Ste 215
West Lafayette, IN 47906
jabbey at arxan.com<mailto:jabbey at arxan.com>
www.arxan.com

On Oct 18, 2011, at 12:07 AM, Joe Abbey wrote:

Please don't be alarmed by the failed compiles on llvm-ppc-darwin.  They are likely not your fault.

I'm trying to get a PPC build bot setup (arxan_bellini), and so far it's dying here:

Linking CXX shared library ../../lib/libgtest.dylib
Undefined symbols:
 "vtable for llvm::raw_ostream", referenced from:
     __ZTVN4llvm11raw_ostreamE$non_lazy_ptr in gtest.cc.o
     __ZTVN4llvm11raw_ostreamE$non_lazy_ptr in gtest-death-test.cc.o
     __ZTVN4llvm11raw_ostreamE$non_lazy_ptr in gtest-port.cc.o
     __ZTVN4llvm11raw_ostreamE$non_lazy_ptr in gtest-typed-test.cc.o
 "llvm::raw_os_ostream::~raw_os_ostream()", referenced from:
     llvm::convertible_fwd_ostream::~convertible_fwd_ostream()in gtest.cc.o
     llvm::convertible_fwd_ostream::~convertible_fwd_ostream()in gtest.cc.o
     llvm::convertible_fwd_ostream::~convertible_fwd_ostream()in gtest-death-test.cc.o
     llvm::convertible_fwd_ostream::~convertible_fwd_ostream()in gtest-death-test.cc.o
     llvm::convertible_fwd_ostream::~convertible_fwd_ostream()in gtest-port.cc.o
     llvm::convertible_fwd_ostream::~convertible_fwd_ostream()in gtest-port.cc.o
     llvm::convertible_fwd_ostream::~convertible_fwd_ostream()in gtest-typed-test.cc.o
     llvm::convertible_fwd_ostream::~convertible_fwd_ostream()in gtest-typed-test.cc.o

Any thoughts (besides don't try to build on PowerPC)

I'm trying to build with gcc-4.2 to see if that helps...

Joe

Joe Abbey
Software Architect
Arxan Technologies, Inc.
1305 Cumberland Ave, Ste 215
West Lafayette, IN 47906
jabbey at arxan.com<mailto:jabbey at arxan.com>
www.arxan.com


_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111018/95ac394a/attachment.html>


More information about the llvm-dev mailing list