Skip to content

Build for Faults transform fails on Ubuntu  #11

Open
@adityaka

Description

@adityaka

kapura1@devvbox:~/src/oss/llvm-3.2/llvm-3.2.src/lib/Transforms/Faults$ make
llvm[0]: Compiling faults.cpp for Release+Asserts build (PIC)
In file included from faults.cpp:24:
In file included from /home/kapura1/src/oss/llvm-3.2/llvm-3.2.src/include/llvm/Pass.h:374:
In file included from /home/kapura1/src/oss/llvm-3.2/llvm-3.2.src/include/llvm/PassAnalysisSupport.h:23:
In file included from /home/kapura1/src/oss/llvm-3.2/llvm-3.2.src/include/llvm/ADT/SmallVector.h:17:
/home/kapura1/src/oss/llvm-3.2/llvm-3.2.src/include/llvm/Support/AlignOf.h:90:1: error: 'alignas' attribute cannot be applied to types
LLVM_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(1);
^
/home/kapura1/src/oss/llvm-3.2/llvm-3.2.src/include/llvm/Support/AlignOf.h:79:10: note: expanded from macro 'LLVM_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT'
char alignas(x) aligned;
^
/home/kapura1/src/oss/llvm-3.2/llvm-3.2.src/include/llvm/Support/AlignOf.h:91:1: error: 'alignas' attribute cannot be applied to types
LLVM_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(2);
^
/home/kapura1/src/oss/llvm-3.2/llvm-3.2.src/include/llvm/Support/AlignOf.h:79:10: note: expanded from macro 'LLVM_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT'
char alignas(x) aligned;
^
Checking the debian archives - llvm 3.2 version has been removed
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714215

Will this work with later versions of llvm ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions