This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/21187] New: Static linking of libstdc++ and libgcc with GDB leads to broken exception handling on AIX platform
- From: "mishra.nitish.88 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 20 Feb 2017 11:07:06 +0000
- Subject: [Bug build/21187] New: Static linking of libstdc++ and libgcc with GDB leads to broken exception handling on AIX platform
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21187
Bug ID: 21187
Summary: Static linking of libstdc++ and libgcc with GDB leads
to broken exception handling on AIX platform
Product: gdb
Version: 7.12.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: mishra.nitish.88 at gmail dot com
Target Milestone: ---
Created attachment 9841
--> https://sourceware.org/bugzilla/attachment.cgi?id=9841&action=edit
Issue with gdb built and linked statically with gcc-6.2
I tried building GDB, version= 7.12.50.20170106, with gcc-6.1 and 6.2 on AIX
7.2 platform. The static linking of GDB with libstdc++ and libgcc library leads
to an issue of broken exception handling. Specifically, running invalid
commands leads to core dump.
Test_result:
# ./gdb
GNU gdb (GDB) 7.12.50.20170106-git
Copyright (C) 2017 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 "powerpc64-ibm-aix7.2.0.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".
(gdb) kill
terminate called after throwing an instance of
'gdb_exception_RETURN_MASK_ERROR'
IOT/Abort trap (core dumped)
The test result and backtrace output is attached with the bug.
--
You are receiving this mail because:
You are on the CC list for the bug.