bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23425] unresolved symbol diagnostic ends up calling find_abstrac


From: rguenth at gcc dot gnu.org
Subject: [Bug ld/23425] unresolved symbol diagnostic ends up calling find_abstract_instance with relocations applied causing spurious 'DWARF error: invalid abstract instance DIE ref'
Date: Wed, 18 Jul 2018 07:30:01 +0000

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 11143
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11143&action=edit
testcase

To reproduce do

> ./ld-new -o a.out ccELcIbzdebugobjtem cccLlhS9debugobjtem 
> ccqD9BbN.ltrans0.ltrans.o
./ld-new: warning: cannot find entry symbol _start; defaulting to
0000000000401000
./ld-new: ./ld-new: DWARF error: invalid abstract instance DIE ref
ccqD9BbN.ltrans0.ltrans.o: in function `strerrno(int)':
<artificial>:(.text+0x23): undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::basic_string()'
./ld-new: <artificial>:(.text+0x3b): undefined reference to `strerrno_s(char*,
unsigned long, int)'
./ld-new: <artificial>:(.text+0x55): undefined reference to
`std::string::operator=(char const*)'
./ld-new: <artificial>:(.text+0x68): undefined reference to
`std::string::operator+=(char const*)'
./ld-new: <artificial>:(.text+0x7d): undefined reference to
`std::string::operator=(char const*)'
./ld-new: <artificial>:(.text+0x8e): undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string()'
./ld-new: <artificial>:(.text+0x99): undefined reference to `_Unwind_Resume'
./ld-new: ccqD9BbN.ltrans0.ltrans.o:(.eh_frame+0x4b): undefined reference to
`__gcc_personality_v0'

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]