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-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils