[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    More regarding LLVM
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2009-01-09 4:26:52
Message-ID: 4966D20C.2050405 () acm ! org
[Download RAW message or body]

So, I installed GCC-3.3.6 with the two LFS patches.

It was necessary to not optimize it for specific x86 arch:

CFLAGS=-O2
CXXFLAGS=-O2

after that change, it went well.

However, LLVM-2.4 did not build with GCC-3.3.6:

llvm[3]: Compiling X86TargetAsmInfo.cpp for Release build
In file included from X86TargetAsmInfo.cpp:14:
X86TargetAsmInfo.h: In constructor `
    llvm::X86TargetAsmInfo<BaseTAI>::X86TargetAsmInfo(const
    llvm::X86TargetMachine&)':
X86TargetAsmInfo.h:31: error: syntax error before `;' token
make[3]: *** 
[/usr/src/llvm-2.4/lib/Target/X86/Release/X86TargetAsmInfo.o] Error 1
make[3]: Leaving directory `/usr/src/llvm-2.4/lib/Target/X86'
make[2]: *** [X86/.makeall] Error 2
make[2]: Leaving directory `/usr/src/llvm-2.4/lib/Target'
make[1]: *** [Target/.makeall] Error 2
make[1]: Leaving directory `/usr/src/llvm-2.4/lib'
make: *** [all] Error 1

This may be an actual code error.

       const X86Subtarget *Subtarget = &TM.getSubtarget<X86Subtarget>();

-- 
JRT

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic