Sorry about that.  I broke this, and it also showed up a gap in our testing.

Fix is landed in https://github.com/emscripten-core/emscripten/pull/11780

cheers,
sam

On Fri, Jul 31, 2020 at 1:50 PM キャロウ マーク <[email protected]> wrote:

> When compiling my project with emcc 1.40 we get the following errors that
> did not appear with 1.39.5;
>
> > emcc --version
> emcc (Emscripten gcc/clang-like replacement) 1.40.0 
> (634dfe9c7837119d3970c4145984b8f517e3e1ca)
>
> > cmake --build build-web-release --config Release
> [54/54] Linking CXX executable libktx.js
> FAILED: libktx.js
> error: undefined symbol: _tempFixedLengthArray (referenced by 
> emscripten_glInvalidateFramebuffer__deps: ['_tempFixedLengthArray'], 
> referenced by top-level compiled C/C++ code)
> warning: Link with `-s LLD_REPORT_UNDEFINED` to get more information on 
> undefined symbols
> warning: To disable errors for undefined symbols use `-s 
> ERROR_ON_UNDEFINED_SYMBOLS=0`
> warning: __tempFixedLengthArray may need to be added to EXPORTED_FUNCTIONS if 
> it arrives from a system library
> error: undefined symbol: _heapObjectForWebGLType (referenced by 
> emscripten_glTexImage3D__deps: 
> ['_heapObjectForWebGLType','_heapAccessShiftForWebGLHeap'], referenced by 
> top-level compiled C/C++ code)
> warning: __heapObjectForWebGLType may need to be added to EXPORTED_FUNCTIONS 
> if it arrives from a system library
> error: undefined symbol: _heapAccessShiftForWebGLHeap (referenced by 
> emscripten_glTexImage3D__deps: 
> ['_heapObjectForWebGLType','_heapAccessShiftForWebGLHeap'], referenced by 
> top-level compiled C/C++ code)
> warning: __heapAccessShiftForWebGLHeap may need to be added to 
> EXPORTED_FUNCTIONS if it arrives from a system library
> Error: Aborting compilation due to previous errors
>
>
> Was something changed in the GL ES emulation?
>
> Why would it have worked before without adding these things to
> EXPORTED_FUNCTIONS?
>
> Regards
>
>     -Mark
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/4C3D2F01-76C6-4251-A837-58E854EED8EB%40callow.im
> <https://groups.google.com/d/msgid/emscripten-discuss/4C3D2F01-76C6-4251-A837-58E854EED8EB%40callow.im?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2-mJCka6608TmhxA3kuTVZ9KjS%2BsTz0H76ETOGnze4-SA%40mail.gmail.com.

Reply via email to