edA-qa mort-ora-y
2013-Sep-29 02:41 UTC
[LLVMdev] cannot build 3.3, problems with alternate architectures
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::TargetFrameLowering::SpillSlot*
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_RTTI=1
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:
make
--
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>
edA-qa mort-ora-y
2013-Sep-29 02:49 UTC
[LLVMdev] cannot build 3.3, problems with alternate architectures
Strange, I just ran "make clean" and then "make" and now it works. I'll attribute it to random ghosts and hope they don't come back. On 29/09/13 04:41, edA-qa mort-ora-y wrote:> 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::TargetFrameLowering::SpillSlot* > 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_RTTI=1 > 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: > > make >-- 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/e77a1d67/attachment.sig>