AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Then I decided to debug gdb-8.1.1 with gdb-8.0.1, but the output of 'backtrace' was quite disheartening:
Code:
(top-gdb) run
Starting program: /usr/local/src/gdb-8.1.1/gdb/gdb ~projects/devel/test/timegm_test64
During symbol reading...Storage class 111 not recognized during scan...
[New Thread 1]
GNU gdb (GDB) 8.1.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix6.1.9.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/projects/devel/test/timegm_test64...done.
[Switching to Thread 1]
Thread 2 hit Breakpoint 3, _ZL20insert_symbol_hashedP10dictionaryP6symbol (dict=0x1104e0188, sym=0x1104dfcd8) at dictionary.c:709
709 );
(top-gdb) bt
#0 _ZL20insert_symbol_hashedP10dictionaryP6symbol (dict=0x1104e0188, sym=0x1104dfcd8) at dictionary.c:709
#1 0x0000000100309cbc in _Z18dict_create_hashedP7obstack8languagePK7pending (obstack=0x11044c690, language=language_unknown,
symbol_list=0x1104c35f0) at dictionary.c:382
During symbol reading, Method has bad physname _ZNKSt17integral_constantIbLb0EEcvbEv
.
During symbol reading, struct/union type gets multiply defined: struct initializer_list.
During symbol reading, inner block not inside outer block in _ZN20scoped_free_pendingsD2Ev.
#2 0x00000001005d6fcc in _ZL21finish_block_internalP6symbolPP7pendingP13pending_blockPK12dynamic_propmmii (symbol=0x0,
listhead=0x1100b69a8 <file_symbols>, old_blocks=0x0, static_link=0x0, start=268436576, end=268439000, is_global=0, expandable=0)
at buildsym.c:368
#3 0x00000001005d9950 in _Z27end_symtab_get_static_blockmii (end_addr=268439000, expandable=0, required=0) at buildsym.c:1301
#4 0x00000001005da430 in _Z10end_symtabmi (end_addr=268439000, section=0) at buildsym.c:1540
#5 0x00000001005ce85c in _ZL17read_xcoff_symtabP7objfileP14partial_symtab (objfile=0x11044c630, pst=0x110486320) at xcoffread.c:1528
#6 0x00000001005cfa38 in _ZL25xcoff_psymtab_to_symtab_1P7objfileP14partial_symtab (objfile=0x11044c630, pst=0x110486320)
at xcoffread.c:1879
#7 0x00000001005cfbd0 in _ZL17xcoff_read_symtabP14partial_symtabP7objfile (self=0x110486320, objfile=0x11044c630) at xcoffread.c:1912
#8 0x0000000100743268 in _ZL17psymtab_to_symtabP7objfileP14partial_symtab (objfile=0x11044c630, pst=0x110486320) at psymtab.c:792
#9 0x00000001007421e0 in _ZL18psym_lookup_symbolP7objfileiPKc15domain_enum_tag (objfile=0x11044c630, block_index=0,
name=0x1103caf30 "main", domain=VAR_DOMAIN) at psymtab.c:522
#10 0x0000000100315948 in _ZL27lookup_symbol_via_quick_fnsP7objfileiPKc15domain_enum_tag (objfile=0x11044c630, block_index=0,
name=0x1103caf30 "main", domain=VAR_DOMAIN) at symtab.c:2384
#11 0x0000000100316088 in _ZL24lookup_symbol_in_objfileP7objfileiPKc15domain_enum_tag (objfile=0x11044c630, block_index=0,
name=0x1103caf30 "main", domain=VAR_DOMAIN) at symtab.c:2559
#12 0x000000010031646c in _ZL32lookup_symbol_global_iterator_cbP7objfilePv (objfile=0x11044c630, cb_data=0xfffffffffffea20)
at symtab.c:2642
#13 0x0000000100157050 in _Z45default_iterate_over_objfiles_in_search_orderP7gdbarchPFiP7objfilePvES3_S2_ (gdbarch=0x1104656a0,
cb=@0x110179470: 0x1003163c4 <_ZL32lookup_symbol_global_iterator_cbP7objfilePv>, cb_data=0xfffffffffffea20, current_objfile=0x0)
at objfiles.c:1549
#14 0x0000000100142db4 in _Z45gdbarch_iterate_over_objfiles_in_search_orderP7gdbarchPFiP7objfilePvES3_S2_ (gdbarch=0x1104656a0,
cb=@0x110179470: 0x1003163c4 <_ZL32lookup_symbol_global_iterator_cbP7objfilePv>, cb_data=0xfffffffffffea20, current_objfile=0x0)
at gdbarch.c:4825
#15 0x00000001003166ac in _Z20lookup_global_symbolPKcPK5block15domain_enum_tag (name=0x1103caf30 "main", block=0x0, domain=VAR_DOMAIN)
at symtab.c:2688
#16 0x0000000100315c74 in _Z28basic_lookup_symbol_nonlocalPK13language_defnPKcPK5block15domain_enum_tag (
langdef=0x110099c80 <c_language_defn>, name=0x1103caf30 "main", block=0x0, domain=VAR_DOMAIN) at symtab.c:2482
#17 0x0000000100314974 in _ZL17lookup_symbol_auxPKc22symbol_name_match_typePK5block15domain_enum_tag8languageP20field_of_this_result (
name=0x1103caf30 "main", match_type=FULL, block=0x0, domain=VAR_DOMAIN, language=language_c, is_a_field_of_this=0x0)
at symtab.c:2092
So it's C++ now... I cannot say I am a big fan of C++; in my experience, C++ always has been the problem, never the solution.
enum language
{
language_unknown, /* Language not known */
language_auto, /* Placeholder for automatic setting */
language_c, /* C */
language_objc, /* Objective-C */
language_cplus, /* C++ */
...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.