[LLVMdev] Error building llvm on AIX 7.1
sunil.saggar at gmail.com
Tue Oct 23 23:26:12 PDT 2012
AIX 7.1 & Power5
I have downloaded the llvm source and ran the following steps:
1. ./configure --enable-targets=powerpc
Apart from it, i had to make a few changes.
i. dladdr code has been commented for the time being and using the default
constructor code for that method
ii. In Makefile.config, 2 changes were done.
+153 # Linker flags.
+211 # What to pass as -rdynamic flag to g++
+212 #RDYNAMIC := -Wl,-export-dynamic
+213 RDYNAMIC := -Wl,-brtl
It helped me to proceed lot further with the compilation but i am stuck at
assembler error while compiling
/usr/llvm/llvm-3.1.src/lib/Target/PowerPC/PPCJITInfo.cpp file. It throws the
llvm: Compiling PPCJITInfo.cpp for Release+Asserts build
/tmp//ccKtnq1J.s: line 5: 1252-016 The specified opcode or pseudo-op is not
Use supported instructions or pseudo-ops only.
Also, the file mentions it as a "JIT interfaces for the 32-bit PowerPC
target" but i have a 64-bit machine . So, do i need this file? Am i missing
something while compiling ?
View this message in context: http://llvm.1065342.n5.nabble.com/Error-building-llvm-on-AIX-7-1-tp50322p50361.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev