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 failure #854

Open
StratusFearMe21 opened this issue Apr 14, 2022 · 2 comments
Open

Build failure #854

StratusFearMe21 opened this issue Apr 14, 2022 · 2 comments

Comments

@StratusFearMe21
Copy link

StratusFearMe21 commented Apr 14, 2022

I can't seem to build souper on my Linux machine. I'm not sure whether this is an LLVM problem or a cmake problem. I am but a humble Rust developer

Consolidate compiler generated dependencies of target souperCodegen
Consolidate compiler generated dependencies of target souperPassProfileAll
Consolidate compiler generated dependencies of target souperKVStore
Consolidate compiler generated dependencies of target souperInst
Consolidate compiler generated dependencies of target profileRuntime
Consolidate compiler generated dependencies of target souperPass
Consolidate compiler generated dependencies of target souperSMTLIB2
Consolidate compiler generated dependencies of target kleeExpr
[  2%] Building CXX object CMakeFiles/souperPassProfileAll.dir/third_party/klee/lib/Expr/Constraints.cpp.o
[  3%] Built target profileRuntime
[  4%] Building CXX object CMakeFiles/souperCodegen.dir/lib/Codegen/Codegen.cpp.o
[  4%] Building CXX object CMakeFiles/souperPassProfileAll.dir/third_party/klee/lib/Expr/ExprBuilder.cpp.o
[  6%] Building CXX object CMakeFiles/souperKVStore.dir/lib/KVStore/KVStore.cpp.o
[  6%] Building CXX object CMakeFiles/souperInst.dir/lib/Inst/Inst.cpp.o
[  6%] Building CXX object CMakeFiles/souperSMTLIB2.dir/lib/SMTLIB2/Solver.cpp.o
[  7%] Building CXX object CMakeFiles/souperPass.dir/third_party/klee/lib/Expr/Constraints.cpp.o
[  7%] Building CXX object CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/Constraints.cpp.o
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/include/klee/ExprBuilder.h:13,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/ExprBuilder.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/StringRef.h:12,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/SmallString.h:17,
                 from /home/isaacm/souper/lib/SMTLIB2/Solver.cpp:18:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/include/klee/Constraints.h:13,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/Constraints.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/StringRef.h:12,
                 from /home/isaacm/souper/include/souper/KVStore/KVStore.h:18,
                 from /home/isaacm/souper/lib/KVStore/KVStore.cpp:15:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
make[2]: *** [CMakeFiles/souperPassProfileAll.dir/build.make:90: CMakeFiles/souperPassProfileAll.dir/third_party/klee/lib/Expr/ExprBuilder.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[  8%] Building CXX object CMakeFiles/souperPass.dir/third_party/klee/lib/Expr/ExprBuilder.cpp.o
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/include/klee/Constraints.h:13,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/Constraints.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/include/klee/Constraints.h:13,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/Constraints.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/DenseMapInfo.h:18,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/DenseMap.h:16,
                 from /home/isaacm/souper/include/souper/Inst/Inst.h:19,
                 from /home/isaacm/souper/lib/Inst/Inst.cpp:15:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/DenseMapInfo.h:18,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/DenseMap.h:16,
                 from /home/isaacm/souper/include/souper/Inst/Inst.h:19,
                 from /home/isaacm/souper/include/souper/Codegen/Codegen.h:18,
                 from /home/isaacm/souper/lib/Codegen/Codegen.cpp:17:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
make[2]: *** [CMakeFiles/souperSMTLIB2.dir/build.make:76: CMakeFiles/souperSMTLIB2.dir/lib/SMTLIB2/Solver.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:348: CMakeFiles/souperSMTLIB2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  8%] Building CXX object CMakeFiles/souperPass.dir/third_party/klee/lib/Expr/Expr.cpp.o
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/include/klee/ExprBuilder.h:13,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/ExprBuilder.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/Expr.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
make[2]: *** [CMakeFiles/souperPass.dir/build.make:76: CMakeFiles/souperPass.dir/third_party/klee/lib/Expr/Constraints.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[  9%] Building CXX object CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/ExprBuilder.cpp.o
make[2]: *** [CMakeFiles/souperPass.dir/build.make:90: CMakeFiles/souperPass.dir/third_party/klee/lib/Expr/ExprBuilder.cpp.o] Error 1
[ 10%] Building CXX object CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/Expr.cpp.o
make[2]: *** [CMakeFiles/souperKVStore.dir/build.make:76: CMakeFiles/souperKVStore.dir/lib/KVStore/KVStore.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:240: CMakeFiles/souperKVStore.dir/all] Error 2
[ 11%] Building CXX object CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/ExprEvaluator.cpp.o
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/include/klee/ExprBuilder.h:13,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/ExprBuilder.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
make[2]: *** [CMakeFiles/souperInst.dir/build.make:76: CMakeFiles/souperInst.dir/lib/Inst/Inst.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:296: CMakeFiles/souperInst.dir/all] Error 2
[ 11%] Building CXX object CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/ExprPPrinter.cpp.o
make[2]: *** [CMakeFiles/kleeExpr.dir/build.make:76: CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/Constraints.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 11%] Building CXX object CMakeFiles/souperCodegen.dir/lib/Codegen/MachineCost.cpp.o
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/Expr.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
make[2]: *** [CMakeFiles/souperPassProfileAll.dir/build.make:76: CMakeFiles/souperPassProfileAll.dir/third_party/klee/lib/Expr/Constraints.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:458: CMakeFiles/souperPassProfileAll.dir/all] Error 2
make[2]: *** [CMakeFiles/souperPass.dir/build.make:104: CMakeFiles/souperPass.dir/third_party/klee/lib/Expr/Expr.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:432: CMakeFiles/souperPass.dir/all] Error 2
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/include/klee/util/ExprEvaluator.h:13,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/ExprEvaluator.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
make[2]: *** [CMakeFiles/kleeExpr.dir/build.make:90: CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/ExprBuilder.cpp.o] Error 1
make[2]: *** [CMakeFiles/kleeExpr.dir/build.make:118: CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/ExprEvaluator.cpp.o] Error 1
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/APFloat.h:20,
                 from /home/isaacm/souper/third_party/klee/include/klee/Expr.h:17,
                 from /home/isaacm/souper/third_party/klee/include/klee/util/PrintContext.h:4,
                 from /home/isaacm/souper/third_party/klee/lib/Expr/ExprPPrinter.cpp:10:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
In file included from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/ArrayRef.h:15,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/DenseMapInfo.h:18,
                 from /home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/DenseMap.h:16,
                 from /home/isaacm/souper/include/souper/Inst/Inst.h:19,
                 from /home/isaacm/souper/include/souper/Codegen/Codegen.h:18,
                 from /home/isaacm/souper/lib/Codegen/MachineCost.cpp:15:
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                  ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
 1823 |   result_pair<R>(const result_pair<R> &Other)
      |                 ~^~~~~
      |                  )
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                      ^~~~~
/home/isaacm/souper/third_party/llvm-Release-install/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
 1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      |                     ~^~~~~
      |                      )
make[2]: *** [CMakeFiles/kleeExpr.dir/build.make:104: CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/Expr.cpp.o] Error 1
make[2]: *** [CMakeFiles/souperCodegen.dir/build.make:76: CMakeFiles/souperCodegen.dir/lib/Codegen/Codegen.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/kleeExpr.dir/build.make:132: CMakeFiles/kleeExpr.dir/third_party/klee/lib/Expr/ExprPPrinter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:155: CMakeFiles/kleeExpr.dir/all] Error 2
make[2]: *** [CMakeFiles/souperCodegen.dir/build.make:90: CMakeFiles/souperCodegen.dir/lib/Codegen/MachineCost.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:406: CMakeFiles/souperCodegen.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

And in case you need it,
CMakeCache.txt

@StratusFearMe21
Copy link
Author

Some more info about my system

[isaacm@ACERLaptop build]$ pfetch
       /\         isaacm@ACERLaptop
      /  \        os     Arch Linux
     /\   \       host   Swift SF314-42 V1.04
    /      \      kernel 5.17.1-zen1-1-zen
   /   ,,   \     uptime 9h 32m
  /   |  |  -\    pkgs   1625
 /_-''    ''-_\   memory 1698M / 7374M

[isaacm@ACERLaptop build]$ gcc --version
gcc (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[isaacm@ACERLaptop build]$ g++ --version
g++ (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[isaacm@ACERLaptop build]$ make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
[isaacm@ACERLaptop build]$ cmake --version
cmake version 3.23.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

@regehr
Copy link
Collaborator

regehr commented Apr 14, 2022

thanks for this report. I might not be able to look into it right away but we're definitely due for some souper love and care. it's a little disturbing that the first error is in an LLVM header, if there's nothing else wrong there might not be anything to try other than you use an older GCC or we bump souper to latest LLVM. bumping souper is in the plan but it's definitely not happening before the end of spring semester a few weeks from now.

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