GithubHelp home page GithubHelp logo

Comments (2)

trzecieu avatar trzecieu commented on September 27, 2024 1

Fixed by bumping GCC to 8. Status should be green soon!
Thank you @VirtualTim

// I've added email notification to jenkins jobs to react faster on failures :)
// It's green again!

from emscripten-docker.

trzecieu avatar trzecieu commented on September 27, 2024

Hi @VirtualTim
Looks like upstream implementation error:

emsdk_portable/binaryen/tag-1.39.4/src/wasm-type.h:133:23: error: specialization of 'template<class _Tp> struct std::hash' in different namespace [-fpermissive]
 template<> class std::hash<wasm::Signature> {
                       ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/basic_string.h:5643:0,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/stdexcept:39,
                 from /usr/include/c++/6/array:39,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/literal.h:20,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/wasm/literal.cpp:17:
/usr/include/c++/6/bits/functional_hash.h:58:12: error:   from definition of 'template<class _Tp> struct std::hash' [-fpermissive]
     struct hash;
            ^~~~
�[0m�[91mIn file included from /emsdk_portable/binaryen/tag-1.39.4/src/literal.h:26:0,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/wasm.h:34,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/wasm-traversal.h:32,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/ir/iteration.h:20,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/ir/ExpressionAnalyzer.cpp:17:
/emsdk_portable/binaryen/tag-1.39.4/src/wasm-type.h:133:23: error: specialization of 'template<class _Tp> struct std::hash' in different namespace [-fpermissive]
 template<> class std::hash<wasm::Signature> {
                       ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/basic_string.h:5643:0,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/stdexcept:39,
                 from /usr/include/c++/6/array:39,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/support/small_vector.h:25,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/wasm-traversal.h:30,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/ir/iteration.h:20,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/ir/ExpressionAnalyzer.cpp:17:
/usr/include/c++/6/bits/functional_hash.h:58:12: error:   from definition of 'template<class _Tp> struct std::hash' [-fpermissive]
     struct hash;
            ^~~~
�[0m�[91mIn file included from /emsdk_portable/binaryen/tag-1.39.4/src/literal.h:26:0,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/wasm.h:34,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/asm_v_wasm.h:22,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/asmjs/asm_v_wasm.cpp:17:
/emsdk_portable/binaryen/tag-1.39.4/src/wasm-type.h:133:23: error: specialization of 'template<class _Tp> struct std::hash' in different namespace [-fpermissive]
 template<> class std::hash<wasm::Signature> {
                       ^~~~~~~~~~~~~~~~~~~~~
�[0m�[91mIn file included from /usr/include/c++/6/bits/basic_string.h:5643:0,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/stdexcept:39,
                 from /usr/include/c++/6/array:39,
                 from /usr/include/c++/6/tuple:39,
                 from /usr/include/c++/6/functional:55,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/emscripten-optimizer/simple_ast.h:26,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/emscripten-optimizer/optimizer.h:20,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/asm_v_wasm.h:20,
                 from /emsdk_portable/binaryen/tag-1.39.4/src/asmjs/asm_v_wasm.cpp:17:
/usr/include/c++/6/bits/functional_hash.h:58:12: error:   from definition of 'template<class _Tp> struct std::hash' [-fpermissive]
     struct hash;

I use

-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0

For compilation, and GCC looks unhappy about introduced change WebAssembly/binaryen#2478
Poke @kripken

from emscripten-docker.

Related Issues (20)

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.