Skip to content

Build failure #854

Open
Open
@StratusFearMe21

Description

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

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