Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- == The error produced by LLD
- lld-link: error: undefined symbol: _ZTIi
- >>> referenced by C:\msys64\tmp\tst-fbde9c.o:(GCC_except_table2)
- >>> referenced by C:\msys64\tmp\tst-fbde9c.o:(.refptr._ZTIi)
- lld-link: error: undefined symbol: _ZSt4cout
- >>> referenced by C:\msys64\tmp\tst-fbde9c.o:(.refptr._ZSt4cout)
- == The output of NM (the same as Dependency Walker) of a.exe linked with bfd
- NoTengoBattery@DESKTOP-M0E0M8K MINGW64 ~
- $ objdump -x a.exe | grep "DLL Name"
- DLL Name: libgcc_s_seh-1.dll
- DLL Name: libstdc++-6.dll
- DLL Name: KERNEL32.dll
- DLL Name: msvcrt.dll
- == Symbols imported from libstdc++-6.dll to a.exe linked using BFD (Dependency Walker)
- _ZNSolsEi
- _ZNSt8ios_base4InitC1Ev
- _ZNSt8ios_base4InitD1Ev
- _ZSt4cout <-- LLD complains about this!
- _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
- _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c
- _ZTIi <-- LLD complains about this!
- __cxa_allocate_exception
- __cxa_begin_catch
- __cxa_end_catch
- __cxa_throw
- __gxx_personality_seh0
- == The output of NM (the same as Dependency Walker) of a.exe linked with bfd
- NoTengoBattery@DESKTOP-M0E0M8K MINGW64 ~
- $ objdump -x a.exe | grep "DLL Name"
- DLL Name: libstdc++-6.dll
- DLL Name: libgcc_s_seh-1.dll
- == Symbols imported from libstdc++-6.dll to a.exe linked using LLD (Dependency Walker)
- == Observation: Dependency Walker does not list any symbol nor any used DLL
- https://imgur.com/a/lZ0SYzb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement