[LLVMdev] Error building llvm on AIX 7.1
sunilsaggar
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
2. gmake
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.
+154 LDFLAGS+=-Wl,-G,-bexpfull
+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
following error.
# pwd
/usr/llvm/llvm-3.1.src/lib/Target/PowerPC
# gmake
llvm[0]: Compiling PPCJITInfo.cpp for Release+Asserts build
Assembler:
/tmp//ccKtnq1J.s: line 5: 1252-016 The specified opcode or pseudo-op is not
valid.
Use supported instructions or pseudo-ops only.
gmake: ***
[/usr/llvm/llvm-3.1.src/lib/Target/PowerPC/Release+Asserts/PPCJITInfo.o]
Error 1
#
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 ?
Please advise.
Thanks
--
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
mailing list