This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ctore_copy_dtor (was Re: string find)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]