[llvm-bugs] [Bug 48796] New: Assertion `outputSymbolIndex == INVALID_INDEX' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 18 19:59:23 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=48796

            Bug ID: 48796
           Summary: Assertion `outputSymbolIndex == INVALID_INDEX' failed.
           Product: libraries
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: tianfenhua123 at gmail.com
                CC: llvm-bugs at lists.llvm.org

wasm-ld:
/b/s/w/ir/cache/builder/emscripten-releases/llvm-project/lld/wasm/Symbols.cpp:151:
void lld::wasm::Symbol::setOutputSymbolIndex(uint32_t): Assertion
`outputSymbolIndex == INVALID_INDEX' failed.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.      Program arguments: /home/emsdk/upstream/bin/wasm-ld -o
/app/SuiteSparse/lib/libcholmod.so.3.0.14 -L/app/SuiteSparse/lib
-L/home/emsdk/upstream/emscripten/system/lib
-L/home/emsdk/upstream/emscripten/cache/wasm cholmod_aat.o cholmod_add.o
cholmod_band.o cholmod_change_factor.o cholmod_common.o cholmod_complex.o
cholmod_copy.o cholmod_dense.o cholmod_error.o cholmod_factor.o
cholmod_memory.o cholmod_sparse.o cholmod_transpose.o cholmod_triplet.o
cholmod_version.o cholmod_check.o cholmod_read.o cholmod_write.o cholmod_amd.o
cholmod_analyze.o cholmod_colamd.o cholmod_etree.o cholmod_factorize.o
cholmod_postorder.o cholmod_rcond.o cholmod_resymbol.o cholmod_rowcolcounts.o
cholmod_rowfac.o cholmod_solve.o cholmod_spsolve.o cholmod_drop.o
cholmod_horzcat.o cholmod_norm.o cholmod_scale.o cholmod_sdmult.o
cholmod_ssmult.o cholmod_submatrix.o cholmod_vertcat.o cholmod_symmetry.o
cholmod_rowadd.o cholmod_rowdel.o cholmod_updown.o cholmod_super_numeric.o
cholmod_super_solve.o cholmod_super_symbolic.o cholmod_ccolamd.o
cholmod_csymamd.o cholmod_metis.o cholmod_nesdis.o cholmod_camd.o
cholmod_l_aat.o cholmod_l_add.o cholmod_l_band.o cholmod_l_change_factor.o
cholmod_l_common.o cholmod_l_complex.o cholmod_l_copy.o cholmod_l_dense.o
cholmod_l_error.o cholmod_l_factor.o cholmod_l_memory.o cholmod_l_sparse.o
cholmod_l_transpose.o cholmod_l_triplet.o cholmod_l_version.o cholmod_l_check.o
cholmod_l_read.o cholmod_l_write.o cholmod_l_amd.o cholmod_l_analyze.o
cholmod_l_colamd.o cholmod_l_etree.o cholmod_l_factorize.o
cholmod_l_postorder.o cholmod_l_rcond.o cholmod_l_resymbol.o
cholmod_l_rowcolcounts.o cholmod_l_rowfac.o cholmod_l_solve.o
cholmod_l_spsolve.o cholmod_l_drop.o cholmod_l_horzcat.o cholmod_l_norm.o
cholmod_l_scale.o cholmod_l_sdmult.o cholmod_l_ssmult.o cholmod_l_submatrix.o
cholmod_l_vertcat.o cholmod_l_symmetry.o cholmod_l_rowadd.o cholmod_l_rowdel.o
cholmod_l_updown.o cholmod_l_super_numeric.o cholmod_l_super_solve.o
cholmod_l_super_symbolic.o cholmod_l_ccolamd.o cholmod_l_csymamd.o
cholmod_l_metis.o cholmod_l_nesdis.o cholmod_l_camd.o
/app/SuiteSparse/AMD/Lib/libamd.a /app/SuiteSparse/COLAMD/Lib/libcolamd.a
/app/SuiteSparse/SuiteSparse_config/libsuitesparseconfig.a /app/lib/liblapack.a
/app/lib/librefblas.a /app/SuiteSparse/CAMD/Lib/libcamd.a
/app/SuiteSparse/CCOLAMD/Lib/libccolamd.a --relocatable -mllvm
-combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm
-disable-lsr 
 #0 0x00007fe8b88fb3d4 PrintStackTraceSignalHandler(void*)
(/home/emsdk/upstream/bin/../lib/libLLVM-11git.so+0x7e83d4)
 #1 0x00007fe8b88f8fce llvm::sys::RunSignalHandlers()
(/home/emsdk/upstream/bin/../lib/libLLVM-11git.so+0x7e5fce)
 #2 0x00007fe8b88fb595 SignalHandler(int)
(/home/emsdk/upstream/bin/../lib/libLLVM-11git.so+0x7e8595)
 #3 0x00007fe8bbd493c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
 #4 0x00007fe8b7dfd18b raise (/lib/x86_64-linux-gnu/libc.so.6+0x4618b)
 #5 0x00007fe8b7ddc859 abort (/lib/x86_64-linux-gnu/libc.so.6+0x25859)
 #6 0x00007fe8b7ddc729 (/lib/x86_64-linux-gnu/libc.so.6+0x25729)
 #7 0x00007fe8b7dedf36 (/lib/x86_64-linux-gnu/libc.so.6+0x36f36)
 #8 0x00000000007712d3 (/home/emsdk/upstream/bin/wasm-ld+0x7712d3)
 #9 0x000000000078ecdb
lld::wasm::LinkingSection::addToSymtab(lld::wasm::Symbol*)
(/home/emsdk/upstream/bin/wasm-ld+0x78ecdb)
#10 0x0000000000778e3c lld::wasm::(anonymous namespace)::Writer::run()
(/home/emsdk/upstream/bin/wasm-ld+0x778e3c)
#11 0x0000000000772ba1 lld::wasm::writeResult()
(/home/emsdk/upstream/bin/wasm-ld+0x772ba1)
#12 0x0000000000756ae0 lld::wasm::(anonymous
namespace)::LinkerDriver::link(llvm::ArrayRef<char const*>)
(/home/emsdk/upstream/bin/wasm-ld+0x756ae0)
#13 0x0000000000751007 lld::wasm::link(llvm::ArrayRef<char const*>, bool,
llvm::raw_ostream&, llvm::raw_ostream&)
(/home/emsdk/upstream/bin/wasm-ld+0x751007)
#14 0x0000000000486f41 main (/home/emsdk/upstream/bin/wasm-ld+0x486f41)
#15 0x00007fe8b7dde0b3 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x270b3)
#16 0x00000000004869ca _start (/home/emsdk/upstream/bin/wasm-ld+0x4869ca)
em++: error: '/home/emsdk/upstream/bin/wasm-ld -o
/app/SuiteSparse/lib/libcholmod.so.3.0.14 -L/app/SuiteSparse/lib
-L/home/emsdk/upstream/emscripten/system/lib
-L/home/emsdk/upstream/emscripten/cache/wasm cholmod_aat.o cholmod_add.o
cholmod_band.o cholmod_change_factor.o cholmod_common.o cholmod_complex.o
cholmod_copy.o cholmod_dense.o cholmod_error.o cholmod_factor.o
cholmod_memory.o cholmod_sparse.o cholmod_transpose.o cholmod_triplet.o
cholmod_version.o cholmod_check.o cholmod_read.o cholmod_write.o cholmod_amd.o
cholmod_analyze.o cholmod_colamd.o cholmod_etree.o cholmod_factorize.o
cholmod_postorder.o cholmod_rcond.o cholmod_resymbol.o cholmod_rowcolcounts.o
cholmod_rowfac.o cholmod_solve.o cholmod_spsolve.o cholmod_drop.o
cholmod_horzcat.o cholmod_norm.o cholmod_scale.o cholmod_sdmult.o
cholmod_ssmult.o cholmod_submatrix.o cholmod_vertcat.o cholmod_symmetry.o
cholmod_rowadd.o cholmod_rowdel.o cholmod_updown.o cholmod_super_numeric.o
cholmod_super_solve.o cholmod_super_symbolic.o cholmod_ccolamd.o
cholmod_csymamd.o cholmod_metis.o cholmod_nesdis.o cholmod_camd.o
cholmod_l_aat.o cholmod_l_add.o cholmod_l_band.o cholmod_l_change_factor.o
cholmod_l_common.o cholmod_l_complex.o cholmod_l_copy.o cholmod_l_dense.o
cholmod_l_error.o cholmod_l_factor.o cholmod_l_memory.o cholmod_l_sparse.o
cholmod_l_transpose.o cholmod_l_triplet.o cholmod_l_version.o cholmod_l_check.o
cholmod_l_read.o cholmod_l_write.o cholmod_l_amd.o cholmod_l_analyze.o
cholmod_l_colamd.o cholmod_l_etree.o cholmod_l_factorize.o
cholmod_l_postorder.o cholmod_l_rcond.o cholmod_l_resymbol.o
cholmod_l_rowcolcounts.o cholmod_l_rowfac.o cholmod_l_solve.o
cholmod_l_spsolve.o cholmod_l_drop.o cholmod_l_horzcat.o cholmod_l_norm.o
cholmod_l_scale.o cholmod_l_sdmult.o cholmod_l_ssmult.o cholmod_l_submatrix.o
cholmod_l_vertcat.o cholmod_l_symmetry.o cholmod_l_rowadd.o cholmod_l_rowdel.o
cholmod_l_updown.o cholmod_l_super_numeric.o cholmod_l_super_solve.o
cholmod_l_super_symbolic.o cholmod_l_ccolamd.o cholmod_l_csymamd.o
cholmod_l_metis.o cholmod_l_nesdis.o cholmod_l_camd.o
/app/SuiteSparse/AMD/Lib/libamd.a /app/SuiteSparse/COLAMD/Lib/libcolamd.a
/app/SuiteSparse/SuiteSparse_config/libsuitesparseconfig.a /app/lib/liblapack.a
/app/lib/librefblas.a /app/SuiteSparse/CAMD/Lib/libcamd.a
/app/SuiteSparse/CCOLAMD/Lib/libccolamd.a --relocatable -mllvm
-combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm
-disable-lsr' failed (-6)
make: *** [Makefile:549: /app/SuiteSparse/lib/libcholmod.so.3.0.14] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210119/d41de40e/attachment.html>


More information about the llvm-bugs mailing list