https://sourceware.org/bugzilla/show_bug.cgi?id=32772

--- Comment #5 from Nelson Chu <nelsonc1225 at sourceware dot org> ---
Thanks for that reduced failure attached :-)

I get the follows after applying the fix,

$ riscv64-unknown-linux-gnu-ld lto-wrapper.o libcommon-target.a libcommon.a
libcpp.a libstdc++.a -shared
riscv64-unknown-linux-gnu-ld: libcommon-target.a(vec.o): in function
`_GLOBAL__sub_I_vec.cc':
vec.cc:(.text.startup+0x18): undefined reference to `__dso_handle'
riscv64-unknown-linux-gnu-ld: libcommon-target.a(hash-table.o): in function
`hash_table_usage()':
hash-table.cc:(.text+0x1a6): undefined reference to `__dso_handle'
riscv64-unknown-linux-gnu-ld: libcommon-target.a(riscv-common.o): in function
`_GLOBAL__sub_I_riscv_common.cc':
riscv-common.cc:(.text.startup+0xa): undefined reference to `__dso_handle'
riscv64-unknown-linux-gnu-ld: riscv-common.cc:(.text.startup+0x62): undefined
reference to `__dso_handle'
riscv64-unknown-linux-gnu-ld: libcommon.a(diagnostic-global-context.o): in
function `_GLOBAL__sub_I_diagnostic_global_context.cc':
diagnostic-global-context.cc:(.text.startup+0x1e): undefined reference to
`__dso_handle'
riscv64-unknown-linux-gnu-ld: libcpp.a(lex.o):lex.cc:(.text.startup+0x8): more
undefined references to `__dso_handle' follow

The segfault seems to be fixed, thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to