Deactivate __attribute__(ctor) workaround
Linking gets broken: wasm@deco:~/trydynlib$ make test-js make[1]: Цель «all» не требует выполнения команд. (cd js && node prog.js) prog! external function 'ffunc1' is missing. perhaps a side module was not linked in? if this function was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment external function 'ffunc1' is missing. perhaps a side module was not linked in? if this function was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment exception thrown: abort("external function 'ffunc1' is missing. perhaps a side module was not linked in? if this function was expected to arrive from a system library, try to build the MAIN_MODULE with EMCC_FORCE_STDLIBS=1 in the environment") at Error at jsStackTrace (/home/wasm/trydynlib/js/prog.js:1137:13) at stackTrace (/home/wasm/trydynlib/js/prog.js:1154:12) at abort (/home/wasm/trydynlib/js/prog.js:106480:44) at _ffunc1 (eval at loadDynamicLibrary (/home/wasm/trydynlib/js/prog.js:332:15), <anonymous>:58:33) at _kfunc1 (eval at loadDynamicLibrary (/home/wasm/trydynlib/js/prog.js:332:15), <anonymous>:192:2) at asm._kfunc1 (eval at loadDynamicLibrary (/home/wasm/trydynlib/js/prog.js:332:15), <anonymous>:213:23) at _kfunc1 (/home/wasm/trydynlib/js/prog.js:7566:278) at _main (/home/wasm/trydynlib/js/prog.js:30439:8) at Object.asm._main (/home/wasm/trydynlib/js/prog.js:105733:21) at Object.callMain (/home/wasm/trydynlib/js/prog.js:106310:30) make: *** [Makefile:10: test-js] Ошибка 1 wasm@deco:~/trydynlib$ make test-wasm make[1]: Цель «all» не требует выполнения команд. (cd wasm && node prog.js) prog! Assertion failed: missing linked function _ffunc1 Assertion failed: missing linked function _ffunc1 exception thrown: abort("Assertion failed: missing linked function _ffunc1") at Error at jsStackTrace (/home/wasm/trydynlib/wasm/prog.js:1281:13) at stackTrace (/home/wasm/trydynlib/wasm/prog.js:1298:12) at abort (/home/wasm/trydynlib/wasm/prog.js:30517:44) at assert (/home/wasm/trydynlib/wasm/prog.js:679:5) at env.(anonymous function) (/home/wasm/trydynlib/wasm/prog.js:446:9) at wasm-function[7]:7 at _kfunc1 (/home/wasm/trydynlib/wasm/prog.js:8010:278) at wasm-function[144]:54 at Object.Module._main (/home/wasm/trydynlib/wasm/prog.js:29885:33) at Object.callMain (/home/wasm/trydynlib/wasm/prog.js:30347:30) make: *** [Makefile:10: test-wasm] Ошибка 1
Showing
No preview for this file type
Please register or sign in to comment