Code Monkey home page Code Monkey logo

klee-install's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

klee-install's Issues

Compilation error on Annotations.cpp

When using klee22 (branch sonar) compilation of KLEE throws an error with Annotations.cpp.

I was able to easily fix this by adding the following flags to klee/configure --

CXXFLAGS="-g -O2 -std=c++11" CPPFLAGS="-g -O2 -std=c++11"

Compile LLVM with commands frome step-by-step guide

Hi, I followed the guide and got the following error:

  ^
/usr/include/stdlib.h:837:12: note: conflicting declaration
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
           ^
1 error generated.
Makefile:267: recipe for target '/root/munch/llvm/tools/clang/runtime/compiler-rt/clang_linux/asan-x86_64/x86_64/SubDir.lib__sanitizer_common/sanitizer_stoptheworld_linux_libcdep.o' failed
make[5]: *** [/root/munch/llvm/tools/clang/runtime/compiler-rt/clang_linux/asan-x86_64/x86_64/SubDir.lib__sanitizer_common/sanitizer_stoptheworld_linux_libcdep.o] Error 1
3 errors generated.
Makefile:267: recipe for target '/root/munch/llvm/tools/clang/runtime/compiler-rt/clang_linux/asan-x86_64/x86_64/SubDir.lib__asan/asan_posix.o' failed
make[5]: *** [/root/munch/llvm/tools/clang/runtime/compiler-rt/clang_linux/asan-x86_64/x86_64/SubDir.lib__asan/asan_posix.o] Error 1
make[5]: Leaving directory '/root/munch/llvm/projects/compiler-rt'
Makefile:163: recipe for target 'BuildRuntimeLibraries' failed
make[4]: *** [BuildRuntimeLibraries] Error 2
rm /root/munch/llvm/Release/lib/clang/3.4.2/lib/linux/.dir
make[4]: Leaving directory '/root/munch/llvm/tools/clang/runtime/compiler-rt'
/root/munch/llvm/Makefile.rules:900: recipe for target 'compiler-rt/.makeall' failed
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory '/root/munch/llvm/tools/clang/runtime'
/root/munch/llvm/Makefile.rules:851: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/root/munch/llvm/tools/clang'
/root/munch/llvm/Makefile.rules:900: recipe for target 'clang/.makeall' failed
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory '/root/munch/llvm/tools'
/root/munch/llvm/Makefile.rules:851: recipe for target 'all' failed
make: *** [all] Error 1

I tried to change my gcc version downward to gcc-5 but it didn't work.

Environment:

root@a0d709d639d5:~/munch/llvm# uname -a
Linux a0d709d639d5 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
root@a0d709d639d5:~/munch/llvm# gcc --version
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.