send2vinnie / mclinker

Automatically exported from code.google.com/p/mclinker
Other
0 stars 0 forks source link

Refine undefined reference message #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, mcld simply outputs the name of undefined symbols. For example:

Error: undefined reference to `_ZTIPKc'
Error: undefined reference to `__gxx_personality_v0'
Error: undefined reference to `_ZTIPKc'

Users have no idea how to fix this problem. gold linker outputs more friendly 
message:

/tmp/tmpvEphuU: in function main:jni/test_basic_exceptions.cpp:34: error: 
undefined reference to 'typeinfo for char const*'
/tmp/tmpvEphuU:(.ARM.extab+0x0): error: undefined reference to 
'__gxx_personality_v0'
/tmp/tmpvEphuU:(.ARM.extab+0x38): error: undefined reference to 'typeinfo for 
char const*'

Is it possible that mcld could output the demangled name and the source line 
information? 

Original issue reported on code.google.com by ras46....@gmail.com on 5 Sep 2013 at 3:07

GoogleCodeExporter commented 9 years ago

Original comment by pete.c...@gmail.com on 5 Sep 2013 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by pete.c...@gmail.com on 1 Nov 2013 at 2:40

GoogleCodeExporter commented 9 years ago

Original comment by pete.c...@gmail.com on 2 Apr 2014 at 3:54

GoogleCodeExporter commented 9 years ago

Original comment by pete.c...@gmail.com on 2 Apr 2014 at 3:55