[llvm-dev] (Thin)LTO llvm build (original) (raw)

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 16 13:54:38 PDT 2016


On Sep 16, 2016, at 1:48 PM, Carsten Mattner via llvm-dev <llvm-dev at lists.llvm.org> wrote:

On Fri, Sep 16, 2016 at 10:18 PM, Teresa Johnson <tejohnson at google.com> wrote:

Cc'ing llvm-dev again in case someone knows what is going on. That error is coming from a polly configure script, which I don't have cloned into my own tree. Not sure why polly would behave differently when configuring for ThinLTO. Does polly configure ok when configuring the same way, but for regular LTO? Yes it does, and I don't remember when I've added it, meaning it's been working when bootstrapping llvm with the host gcc toolchain, for a long time.

Can you look for the specific errors in the CMake log and error files?

CMake is very good at not presenting the real issue… Here it is trying to build very simple programs to check features availability. Like:

#include <strings.h> int main() { ffs(0); return 0; }

— Mehdi

On Fri, Sep 16, 2016 at 12:36 PM, Carsten Mattner <carstenmattner at gmail.com> wrote:

Hi Teresa, I've just attempted a THINLTO build again, and the error I ran into is as follows, and happens during cmake. I'm explicitly telling cmake to us llvm-ar and llvm-ranlib as suggested. [...] -- Performing Test COMPILERRTHASSTATICFLAG - Success -- Performing Test COMPILERRTSUPPORTSATOMICKEYWORD -- Performing Test COMPILERRTSUPPORTSATOMICKEYWORD - Success -- Builtin supported architectures: -- ISL version: isl-0.17.1-164-gcbba1b6 -- Performing Test HASATTRIBUTEWARNUNUSEDRESULT -- Performing Test HASATTRIBUTEWARNUNUSEDRESULT - Failed -- Performing Test HAVE_ATTRIBUTE_ -- Performing Test HAVE_ATTRIBUTE - Failed_ -- Performing Test HAVEDECLFFS -- Performing Test HAVEDECLFFS - Failed -- Performing Test HAVEDECL_BUILTINFFS -- Performing Test HAVEDECL_BUILTINFFS - Failed -- Performing Test HAVEDECL_BITSCANFORWARD -- Performing Test HAVEDECL_BITSCANFORWARD - Failed CMake Error at tools/polly/lib/External/CMakeLists.txt:90 (message): No ffs implementation found [...]


LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list