uwsampa / accept

an approximate compiler
http://accept.rocks
MIT License
37 stars 14 forks source link

Make Setup Error Generated #55

Open HasanBank opened 4 years ago

HasanBank commented 4 years ago

Hi, After command make setup, running is stopped because of an error. When I command ./configure --version in llvm folder of the project, LLVM configure 3.2svn returns so I think LLVM version is the correct version.

/ACCEPT/llvm/lib/Transforms/IPO/PruneEH.cpp:252:28: error: no matching constructor for initialization of 'std::vector<BasicBlock *>'
  std::vector<BasicBlock*> Succs(succ_begin(BB), succ_end(BB));

That's the starting point of the error. What should I do? I use mac Mojave 10.14.5. When I command clang --version, I get Apple LLVM version 10.0.1 (clang-1001.0.46.4)

There are some environmental problems trigger this error in my opinion.

sampsyo commented 4 years ago

Hmm, I'm confused—is this while building LLVM or while building ACCEPT? It looks like it's coming from the LLVM source code. If so, I'm not sure how I can help… maybe you can try to divine why there would be no std::vector available?