ctore_copy_dtor (was Re: string find)

Benjamin Kosnik bkoz@redhat.com
Mon Jun 26 13:09:00 GMT 2000


> >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


More information about the Libstdc++ mailing list