Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for Faults transform fails on Ubuntu #11

Open
adityaka opened this issue Nov 7, 2019 · 1 comment
Open

Build for Faults transform fails on Ubuntu #11

adityaka opened this issue Nov 7, 2019 · 1 comment

Comments

@adityaka
Copy link

adityaka commented Nov 7, 2019

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 ?

@quadpixels
Copy link
Contributor

It may work with later versions of LLVM with some modifications (some header file paths may have changed between versions, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants