Skip to content

Instantly share code, notes, and snippets.

@protoben
Created March 10, 2017 23:06
Show Gist options
  • Save protoben/551f44ad4a13ea5cf7b99e80a88341dc to your computer and use it in GitHub Desktop.
Save protoben/551f44ad4a13ea5cf7b99e80a88341dc to your computer and use it in GitHub Desktop.
s2e qemu build failure with GCC 5.4.0 on Xenial
CXX i386-s2e-softmmu/tcg/tcg-llvm.o
In file included from /home/hamlinb/netrecon/s2e/s2e/qemu/tcg/tcg-llvm.cpp:72:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/DerivedTypes.h:21:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/Type.h:18:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/Support/Casting.h:18:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/Support/type_traits.h:20:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-release/include/llvm/Support/DataTypes.h:37:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/cmath:40:
/usr/include/bits/c++config.h:218:10: error: expected unqualified-id
inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
^
/usr/include/bits/c++config.h:222:10: error: expected unqualified-id
inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
^
In file included from /home/hamlinb/netrecon/s2e/s2e/qemu/tcg/tcg-llvm.cpp:73:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/ExecutionEngine/ExecutionEngine.h:19:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/ADT/SmallVector.h:20:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/algorithm:61:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:60:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/algorithmfwd.h:532:10: error: expected unqualified-id
inline namespace _V2
^
In file included from /home/hamlinb/netrecon/s2e/s2e/qemu/tcg/tcg-llvm.cpp:73:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/ExecutionEngine/ExecutionEngine.h:19:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/ADT/SmallVector.h:20:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/algorithm:61:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:1240:10: error: expected unqualified-id
inline namespace _V2
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:1601:12: error: no member named 'rotate' in namespace 'std'
std::rotate(__left_split, __middle, __right_split);
~~~~~^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:2417:9: error: no member named 'rotate' in namespace 'std'
std::rotate(__first, __middle, __last);
~~~~~^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:2527:12: error: no member named 'rotate' in namespace 'std'
std::rotate(__first_cut, __middle, __second_cut);
~~~~~^
In file included from /home/hamlinb/netrecon/s2e/s2e/qemu/tcg/tcg-llvm.cpp:73:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/ExecutionEngine/ExecutionEngine.h:19:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/ADT/SmallVector.h:25:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iterator:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/ostream:37:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/ios:37:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:146:11: error: no template named 'basic_stringbuf'; did you mean '__cxx11::basic_stringbuf'?
typedef basic_stringbuf<char> stringbuf;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:95:11: note: '__cxx11::basic_stringbuf' declared here
class basic_stringbuf;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:149:11: error: no template named 'basic_istringstream'; did you mean '__cxx11::basic_istringstream'?
typedef basic_istringstream<char> istringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:99:11: note: '__cxx11::basic_istringstream' declared here
class basic_istringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:152:11: error: no template named 'basic_ostringstream'; did you mean '__cxx11::basic_ostringstream'?
typedef basic_ostringstream<char> ostringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:103:11: note: '__cxx11::basic_ostringstream' declared here
class basic_ostringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:155:11: error: no template named 'basic_stringstream'; did you mean '__cxx11::basic_stringstream'?
typedef basic_stringstream<char> stringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:107:11: note: '__cxx11::basic_stringstream' declared here
class basic_stringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:186:11: error: no template named 'basic_stringbuf'; did you mean '__cxx11::basic_stringbuf'?
typedef basic_stringbuf<wchar_t> wstringbuf;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:95:11: note: '__cxx11::basic_stringbuf' declared here
class basic_stringbuf;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:189:11: error: no template named 'basic_istringstream'; did you mean '__cxx11::basic_istringstream'?
typedef basic_istringstream<wchar_t> wistringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:99:11: note: '__cxx11::basic_istringstream' declared here
class basic_istringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:192:11: error: no template named 'basic_ostringstream'; did you mean '__cxx11::basic_ostringstream'?
typedef basic_ostringstream<wchar_t> wostringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:103:11: note: '__cxx11::basic_ostringstream' declared here
class basic_ostringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:195:11: error: no template named 'basic_stringstream'; did you mean '__cxx11::basic_stringstream'?
typedef basic_stringstream<wchar_t> wstringstream;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iosfwd:107:11: note: '__cxx11::basic_stringstream' declared here
class basic_stringstream;
^
In file included from /home/hamlinb/netrecon/s2e/s2e/qemu/tcg/tcg-llvm.cpp:73:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/ExecutionEngine/ExecutionEngine.h:19:
In file included from /home/hamlinb/netrecon/s2e/build/llvm-3.2.src/include/llvm/ADT/SmallVector.h:25:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/iterator:63:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/ostream:37:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/ios:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/ios_base.h:40:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/locale_classes.h:39:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/string:51:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/basic_string.h:4781:5: error: no template named 'basic_string'; did you mean '__cxx11::basic_string'?
basic_string<_CharT, _Traits, _Alloc>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/basic_string.h:70:11: note: '__cxx11::basic_string' declared here
class basic_string
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/basic_string.h:4782:21: error: no template named 'basic_string'; did you mean '__cxx11::basic_string'?
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/basic_string.h:70:11: note: '__cxx11::basic_string' declared here
class basic_string
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/basic_string.h:4783:14: error: no template named 'basic_string'; did you mean '__cxx11::basic_string'?
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/basic_string.h:70:11: note: '__cxx11::basic_string' declared here
class basic_string
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/basic_string.h:4785:7: error: no template named 'basic_string'; did you mean '__cxx11::basic_string'?
basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/basic_string.h:70:11: note: '__cxx11::basic_string' declared here
class basic_string
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
/home/hamlinb/netrecon/s2e/s2e/qemu/rules.mak:23: recipe for target 'tcg/tcg-llvm.o' failed
make[2]: *** [tcg/tcg-llvm.o] Error 1
Makefile:95: recipe for target 'subdir-i386-s2e-softmmu' failed
make[1]: *** [subdir-i386-s2e-softmmu] Error 2
make[1]: Leaving directory '/home/hamlinb/netrecon/s2e/build/qemu-release'
../s2e/Makefile:96: recipe for target 'stamps/qemu-release-make' failed
make: *** [stamps/qemu-release-make] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment