@
kgdb00 报的错如下:
ld: /lib64/libc.a(iofclose.o): in function `_IO_new_fclose.cold':
(.text.unlikely[.text.unlikely.group]+0x33): undefined reference to `_Unwind_Resume'
ld: /lib64/libc.a(iofclose.o):(.data.rel.local.DW.ref.__gcc_personality_v0[DW.ref.__gcc_personality_v0]+0x0): undefined reference to `__gcc_personality_v0'
ld: /lib64/libc.a(iofflush.o): in function `_IO_fflush.cold':
(.text.unlikely[.text.unlikely.group]+0x32): undefined reference to `_Unwind_Resume'
ld: /lib64/libc.a(wfileops.o): in function `_IO_wfile_underflow.cold':
(.text.unlikely[.text.unlikely.group]+0x3d): undefined reference to `_Unwind_Resume'
ld: /lib64/libc.a(fileops.o): in function `_IO_new_file_underflow.cold':
(.text.unlikely[.text.unlikely.group]+0x33): undefined reference to `_Unwind_Resume'
ld: /lib64/libc.a(printf_fp.o): in function `__printf_fp_l':
(.text+0x53f): undefined reference to `__unordtf2'
ld: (.text+0x585): undefined reference to `__unordtf2'
ld: (.text+0x5ab): undefined reference to `__letf2'
ld: /lib64/libc.a(printf_fphex.o): in function `__printf_fphex':
(.text+0xa6): undefined reference to `__unordtf2'
ld: (.text+0xd9): undefined reference to `__unordtf2'
ld: (.text+0xf6): undefined reference to `__letf2'
ld: /lib64/libc.a(iofputs.o): in function `_IO_fputs.cold':
(.text.unlikely[.text.unlikely.group]+0x32): undefined reference to `_Unwind_Resume'
ld: /lib64/libc.a(iofwrite.o): in function `_IO_fwrite.cold':
(.text.unlikely[.text.unlikely.group]+0x32): undefined reference to `_Unwind_Resume'
ld: /lib64/libc.a(iogetdelim.o): in function `__getdelim.cold':
(.text.unlikely[.text.unlikely.group]+0x32): undefined reference to `_Unwind_Resume'
ld: /lib64/libc.a(pthread_once.o): in function `__pthread_once_slow.cold':
(.text.unlikely[.text.unlikely.group]+0x25): undefined reference to `_Unwind_Resume'