[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/23030] New: --gc-sections on ia64 removes needed unwind sections
From: |
jason.duerstock at gmail dot com |
Subject: |
[Bug ld/23030] New: --gc-sections on ia64 removes needed unwind sections |
Date: |
Wed, 04 Apr 2018 17:13:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23030
Bug ID: 23030
Summary: --gc-sections on ia64 removes needed unwind sections
Product: binutils
Version: 2.31 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: jason.duerstock at gmail dot com
Target Milestone: ---
After enabling --gc-sections on ia64, it appeared that things functioned
properly. However, after rebuilding gcc, it was clear that something broke in
libstdc++6. After rebuilding gcc with --print-gc-sections, the following
snippet appeared to clarify the situation:
/usr/bin/ia64-linux-gnu-ld: Removing unused section
'.IA_64.unwind_info.text.__cxa_throw' in file
'../libsupc++/.libs/libsupc++convenience.a(eh_throw.o)'
/usr/bin/ia64-linux-gnu-ld: Removing unused section
'.IA_64.unwind.text.__cxa_throw' in file
'../libsupc++/.libs/libsupc++convenience.a(eh_throw.o)'
Both of these sections need to be kept for functions that are not removed.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/23030] New: --gc-sections on ia64 removes needed unwind sections,
jason.duerstock at gmail dot com <=
- [Bug ld/23030] --gc-sections on ia64 removes needed unwind sections, glaubitz at physik dot fu-berlin.de, 2018/04/04
- [Bug ld/23030] --gc-sections on ia64 removes needed unwind sections, nickc at redhat dot com, 2018/04/05
- [Bug ld/23030] --gc-sections on ia64 removes needed unwind sections, jason.duerstock at gmail dot com, 2018/04/05
- [Bug ld/23030] --gc-sections on ia64 removes needed unwind sections, cvs-commit at gcc dot gnu.org, 2018/04/05
- [Bug ld/23030] --gc-sections on ia64 removes needed unwind sections, nickc at redhat dot com, 2018/04/05
- [Bug ld/23030] --gc-sections on ia64 removes needed unwind sections, jrtc27 at jrtc27 dot com, 2018/04/06
- [Bug ld/23030] --gc-sections on ia64 removes needed unwind sections, cvs-commit at gcc dot gnu.org, 2018/04/06