NetBSD-Bugs archive

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

Re: lib/57177: new ld.elf_so breaks C++ code



The following reply was made to PR lib/57177; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/57177: new ld.elf_so breaks C++ code
Date: Mon, 9 Jan 2023 12:59:25 +0100

 Backing out r1.63 of src/libexec/ld.elf_so/map_object.c fixes the issue,
 and now gdb works again too:
 
 Core was generated by `atf-run'.
 Program terminated with signal SIGABRT, Aborted.
 #0  0x6e67bd78 in _lwp_kill () from /usr/lib/libc.so.12
 (gdb) bt
 #0  0x6e67bd78 in _lwp_kill () from /usr/lib/libc.so.12
 #1  0x6e67a8dc in abort () at /work/src/lib/libc/stdlib/abort.c:74
 #2  0x6e818410 in __gnu_cxx::__verbose_terminate_handler ()
     at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/vterminate.cc:50
 #3  0x6e822354 in __cxxabiv1::__terminate (handler=<optimized out>)
     at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_terminate.cc:48
 #4  0x6e822400 in std::terminate ()
     at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_terminate.cc:58
 #5  0x6e82234c in __cxxabiv1::__cxa_rethrow ()
     at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_throw.cc:133
 #6  0x6e8183c8 in __gnu_cxx::__verbose_terminate_handler ()
     at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/vterminate.cc:80
 #7  0x6e822354 in __cxxabiv1::__terminate (handler=<optimized out>)
     at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_terminate.cc:48
 #8  0x6e822400 in std::terminate ()
     at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_terminate.cc:58
 #9  0x6e8222d8 in __cxxabiv1::__cxa_throw (obj=obj@entry=0x6e49c050, 
     tinfo=0xf403f24 <typeinfo for tools::not_found_error<tools::fs::path>>, 
     dest=0xf3e49c8 <tools::not_found_error<tools::fs::path>::~not_found_error()>
 ) at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_throw.cc:95
 #10 0x0f3ce438 in tools::read_atffile (filename=...)
     at /work/hosts/evbearmv7hf-eb/usr/include/g++/ext/new_allocator.h:89
 #11 0x0f3dd14c in atf_run::main (this=0x7ffb95f0)
     at /work/src/external/bsd/atf/dist/tools/atf-run.cpp:553
 #12 0x0f3d0070 in tools::application::app::run (this=this@entry=0x7ffb95f0, 
     argc=argc@entry=1, argv=argv@entry=0x7ffb968c)
     at /work/src/external/bsd/atf/dist/tools/application.cpp:282
 #13 0x0f3dd0c4 in main (argc=1, argv=0x7ffb968c)
     at /work/src/external/bsd/atf/dist/tools/atf-run.cpp:595
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index