[LLVMdev] cannot build 3.3, problems with alternate architectures

edA-qa mort-ora-y eda-qa at disemia.com
Sat Sep 28 19:41:21 PDT 2013

I'm having some troubles building LLVM 3.3 (previously I was using 3.2).
I'm getting a lot of errors in the various architecture support:

In file included from PPCFrameLowering.h:17:0,
                 from PPCTargetMachine.h:17,
                 from PPCSelectionDAGInfo.cpp:15:
PPCSubtarget.h:60:49: error: expected class-name before ‘{’ token
PPCSubtarget.h:196:30: error: ‘RegClassVector’ has not been declared

In file included from AArch64Subtarget.cpp:14:0:
AArch64Subtarget.h:29:57: error: expected class-name before ‘{’ token

PPCFrameLowering.h: In member function ‘virtual const
llvm::PPCFrameLowering::getCalleeSavedSpillSlots(unsigned int&) const’:
PPCFrameLowering.h:138:51: error: ‘X31’ is not a member of ‘llvm::PPC’

I'm using the same configure I did for 3.2 (well, I didn't explicitly
set gcc before):

export REQUIRES_EH=1
export CC=gcc
export CXX=g++
./configure --prefix=/opt/llvm/install --enable-optimized
--enable-shared --enable-libffi --enable-assertions --enable-doxygen

Then I just run:


edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130929/3c0739e1/attachment.sig>

More information about the llvm-dev mailing list