File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -171,9 +171,6 @@ function JSify(data, functionsOnly) {
171
171
var msg = 'undefined symbol: ' + ident ;
172
172
if ( ERROR_ON_UNDEFINED_SYMBOLS ) {
173
173
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
- }
177
174
warnOnce ( 'To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`' )
178
175
warnOnce ( finalName + ' may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library' )
179
176
} else if ( VERBOSE || WARN_ON_UNDEFINED_SYMBOLS ) {
Original file line number Diff line number Diff line change @@ -1759,6 +1759,8 @@ var USE_OFFSET_CONVERTER = 0;
1759
1759
// report undefined symbols within the binary. Without this option that linker
1760
1760
// doesn't know which symmbols might be defined JS and so reporting of undefined
1761
1761
// 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
1762
1764
// [link]
1763
1765
var LLD_REPORT_UNDEFINED = 0 ;
1764
1766
You can’t perform that action at this time.
0 commit comments