This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: ctore_copy_dtor (was Re: string find)
- To: Branko Čibej <branko dot cibej at hermes dot si>
- Subject: Re: ctore_copy_dtor (was Re: string find)
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Mon, 26 Jun 2000 13:09:38 -0700 (PDT)
- cc: Phil Edwards <pedwards at disaster dot jaj dot com>, anthony at anthonyw dot cjb dot net, libstdc++ at sourceware dot cygnus dot com
> >From what I've seen, they _all_ happen after an exception is thrown.
> Perhaps the unwind data are getting stripped from the static library?
> There was some discussion about that on one of the lists, IIRC.
Yeah. This is all due to the -Wl,--gc-sections stuff. You'll absolutely
need to update to binutils 2.9.10, or past this part of ld/ChangeLog
2000-06-18 Alan Modra <alan@linuxcare.com.au>
* NEWS: Update list of targets supporting --gc-sections.
* scripttempl/elf.sc: KEEP .eh_frame contents.
* scripttempl/elfd30v.sc: Same here.
when you configure, you should see:
checking for g++ that supports pragma system_header... yes
checking for g++ that supports -fdiagnostics-show-location=once... yes
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for ld that supports -Wl,--gc-sections... yes
the last is important.
-benjamin