Skip to content

Commit c697e11

Browse files
committed
Merge remote-tracking branch 'origin/master' into license
2 parents 044c6a1 + e3d09bf commit c697e11

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/jsifier.js

-3
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@ function JSify(data, functionsOnly) {
171171
var msg = 'undefined symbol: ' + ident;
172172
if (ERROR_ON_UNDEFINED_SYMBOLS) {
173173
error(msg);
174-
if (WASM_BACKEND && !LLD_REPORT_UNDEFINED) {
175-
warnOnce('Link with `-s LLD_REPORT_UNDEFINED` to get more information on undefined symbols');
176-
}
177174
warnOnce('To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`')
178175
warnOnce(finalName + ' may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library')
179176
} else if (VERBOSE || WARN_ON_UNDEFINED_SYMBOLS) {

src/settings.js

+2
Original file line numberDiff line numberDiff line change
@@ -1759,6 +1759,8 @@ var USE_OFFSET_CONVERTER = 0;
17591759
// report undefined symbols within the binary. Without this option that linker
17601760
// doesn't know which symmbols might be defined JS and so reporting of undefined
17611761
// symbols is deleyed until the JS compiler is run.
1762+
// There are some known issues with this flag. e.g. EM_JS function:
1763+
// https://github.com/emscripten-core/emscripten/issues/10779
17621764
// [link]
17631765
var LLD_REPORT_UNDEFINED = 0;
17641766

0 commit comments

Comments
 (0)