[llvm-bugs] [Bug 24502] New: Polly fails to build with recent versions of LLVM 3.8 and Polly

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 19 10:22:31 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24502

            Bug ID: 24502
           Summary: Polly fails to build with recent versions of LLVM 3.8
                    and Polly
           Product: Projects
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Polly
          Assignee: polly-dev at googlegroups.com
          Reporter: Alain.Lichnewsky at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Hi,

I get the following error when making LLVM with Polly installed in
.../llvm/tools/
Thanks for looking into the issue.

make[3]: entrant dans le répertoire «
/home/alain/src/LLVM/build/tools/polly/lib »
llvm[3]: Compiling Analysis/ScopDetection.cpp for Release+Asserts build (PIC)
/home/alain/src/LLVM/llvm/tools/polly/lib/Analysis/ScopDetection.cpp:1033:21:
error: use of undeclared identifier 'ScalarEvolutionWrapperPass'
  SE = &getAnalysis<ScalarEvolutionWrapperPass>().getSE();
                    ^
/home/alain/src/LLVM/llvm/tools/polly/lib/Analysis/ScopDetection.cpp:1095:18:
error: use of undeclared identifier 'ScalarEvolutionWrapperPass'
  AU.addRequired<ScalarEvolutionWrapperPass>();
                 ^
/home/alain/src/LLVM/llvm/tools/polly/lib/Analysis/ScopDetection.cpp:1095:45:
error: expected unqualified-id
  AU.addRequired<ScalarEvolutionWrapperPass>();
                                            ^
/home/alain/src/LLVM/llvm/tools/polly/lib/Analysis/ScopDetection.cpp:1128:1:
error: use of undeclared identifier
      'initializeScalarEvolutionWrapperPassPass'; did you mean
'initializeScalarEvolutionAliasAnalysisPass'?
INITIALIZE_PASS_DEPENDENCY(ScalarEvolutionWrapperPass);
^
/home/alain/src/LLVM/llvm/include/llvm/PassSupport.h:71:5: note: expanded from
macro 'INITIALIZE_PASS_DEPENDENCY'
    initialize##depName##Pass(Registry);
    ^
<scratch space>:7:1: note: expanded from here
initializeScalarEvolutionWrapperPassPass
^
/home/alain/src/LLVM/llvm/include/llvm/InitializePasses.h:250:6: note:
'initializeScalarEvolutionAliasAnalysisPass' declared here
void initializeScalarEvolutionAliasAnalysisPass(PassRegistry&);
     ^
4 errors generated.

+++++++++++++++++++++++++++++++

Version information:

Polly: upstream    http://llvm.org/git/polly.git (fetch)
commit c392791770d5fa20e78556278a78afa20fff1af9
Author: Michael Kruse <llvm at meinersbur.de>
Date:   Tue Aug 18 21:08:41 2015 +0000
git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@245353
91177308-0d34-0410-b5e6-96231b3b80d8

now moved to: (same error)

commit 01ec6958a8ffaab62bc6f4e86677b2f07e0355e9
Author: Tobias Grosser <tobias at grosser.es>
Date:   Wed Aug 19 16:04:35 2015 +0000    
git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@245451
91177308-0d34-0410-b5e6-96231b3b80d8


LLVM: origin    http://llvm.org/git/llvm.git (fetch)
commit b0a171f7a0c2516543e88d57dd3a3ae891b7f47d
Author: Rafael Espindola <rafael.espindola at gmail.com>
Date:   Fri Aug 14 13:31:17 2015 +0000
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245047
91177308-0d34-0410-b5e6-96231b3b80d8


++++++++++++++++++++++++++

Using Linux Ubuntu
Linux version 3.13.0-62-generic (buildd at lgw01-59) (gcc version 4.8.2 (Ubuntu
4.8.2-19ubuntu1) ) #102-Ubuntu SMP Tue Aug 11 14:29:36 UTC 2015


clang -v
clang version 3.8.0 (trunk 245043) (llvm/trunk 245047)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/alain/src/LLVM/install//bin
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.6
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.6.4
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.8.4
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.9.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.6.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.1
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150819/c9659995/attachment.html>


More information about the llvm-bugs mailing list