Linking failure with 2.0.7

210 views
Skip to first unread message

lxp...@gmail.com

unread,
Oct 15, 2020, 2:56:26 AM10/15/20
to emscripten-discuss
Hi,

we are encountering linking problems with the latest release (2.0.7). Some functions (c++17 ?) are undefined. Both on ubuntu-latest and OS X. Everything works properly with 2.0.6. Any idea what to change? Thanks

Laurent


error: undefined symbol: __cxa_pure_virtual (referenced by top-level compiled C/C++ code) warning: ___cxa_pure_virtual may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library error: undefined symbol: __dynamic_cast (referenced by top-level compiled C/C++ code) warning: ___dynamic_cast may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library Error: Aborting compilation due to previous errors emcc: error: '/home/runner/work/verovio/verovio/emsdk-cache/emsdk-master/node/12.18.1_64bit/bin/node /home/runner/work/verovio/verovio/emsdk-cache/emsdk-master/upstream/emscripten/src/compiler.js /tmp/tmpac1bbxbf.txt' failed (1) Failed.

lxp...@gmail.com

unread,
Oct 15, 2020, 3:23:17 AM10/15/20
to emscripten-discuss

Sam Clegg

unread,
Oct 15, 2020, 11:48:13 PM10/15/20
to emscripte...@googlegroups.com
Out of interest, are you linking with `-s STRICT=1`?

The intention was that (initially anyway) only users of `-s STRICT=1` would require `em++` for linking C++ programs. 

cheers,
sam

--
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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/0be8ff2d-3faa-4ecb-9509-04ed7221ad47n%40googlegroups.com.

Sam Clegg

unread,
Oct 15, 2020, 11:49:24 PM10/15/20
to emscripte...@googlegroups.com
Checking your logs it looks like you are.. so all is working as intended!
Reply all
Reply to author
Forward
0 new messages