[LLVMbugs] [Bug 14485] New: LLVM svn release_32 branch fails to compile with CentOS 5.8 x86

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 3 05:21:53 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14485

             Bug #: 14485
           Summary: LLVM svn release_32 branch fails to compile with
                    CentOS 5.8 x86
           Product: new-bugs
           Version: 3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: otto.esko at tut.fi
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Compiling LLVM release_32 fails with CentOS 5.8:

llvm[2]: Linking Release+Asserts unit test Analysis (without symbols)
/media/extrahdd/extension/llvm-svn/llvm/unittests/Analysis/Release+Asserts/ScalarEvolutionTest.o:
In function `llvm::(anonymous
namespace)::ScalarEvolutionsTest_SCEVMultiplyAddRecs_Test::TestBody()':
ScalarEvolutionTest.cpp:(.text+0xfba): undefined reference to
`llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()'
ScalarEvolutionTest.cpp:(.text+0x15cc): undefined reference to
`llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()'
collect2: ld returned 1 exit status
make[2]: *** [Release+Asserts/AnalysisTests] Error 1
make[2]: Leaving directory
`/media/extrahdd/extension/llvm-svn/llvm/unittests/Analysis'
make[1]: *** [Analysis/.makeall] Error 2
make[1]: Leaving directory `/media/extrahdd/extension/llvm-svn/llvm/unittests'
make: *** [all] Error 1


Here's more detailed information of the system:
# System
[user at sentti clang]$ cat /etc/redhat-release
CentOS release 5.8 (Final)

[user at sentti clang]$ uname -a
Linux sentti 2.6.18-308.20.1.el5 #1 SMP Tue Nov 13 10:16:17 EST 2012 i686 i686
i386 GNU/Linux

# GCC version:
[user at sentti llvm]$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# llvm version
[user at sentti llvm]$ svn info
Path: .
URL: http://llvm.org/svn/llvm-project/llvm/branches/release_32
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 169115
Node Kind: directory   
Schedule: normal
Last Changed Author: pawel
Last Changed Rev: 168974
Last Changed Date: 2012-11-30 05:38:58 +0200 (Fri, 30 Nov 2012)

# clang version
[user at sentti clang]$ svn info
Path: .
URL: http://llvm.org/svn/llvm-project/cfe/branches/release_32
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 169115
Node Kind: directory   
Schedule: normal
Last Changed Author: pawel
Last Changed Rev: 168917
Last Changed Date: 2012-11-29 20:50:34 +0200 (Thu, 29 Nov 2012)

# configure
./configure --enable-optimized --enable-shared --prefix=/home/user/llvm-3.2svn

# build command:
make -j2 REQUIRES_RTTI=1

Compilation failure is the same even without --enable-optimized

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list