functexcept.cc draws in everything
Phil Edwards
phil@codesourcery.com
Sun Mar 14 00:26:00 GMT 2004
On Fri, Mar 12, 2004 at 11:42:47AM -0000, P?tur Run?lfsson wrote:
> Henning Baldersheim wrote:
> > However I am still not able to get --gc-sections to do as it should. When
> > I
> > split up the functexcept.cc file it works fine. Then I only get
> > __throw_bad_alloc. I have checked that the library actually has one
> > section
> > pr. function and that is true. So I wonder what other possible errors
> > could
> > I have made.
>
> None. It's a problem in libstdc++. Basically, --gc-sections can't GC
> anything because it's all marked as used. See:
>
> http://gcc.gnu.org/ml/libstdc++/2003-09/msg00195.html
Mm, yep, I'd forgotten about sync_with_stdio and localename.cc.
> This was already fixed for 3.4:
>
> http://gcc.gnu.org/ml/libstdc++/2003-09/msg00191.html
Was this patch applied? I couldn't tell based on the followup messages.
I'm thinking perhaps functexcept.cc should be split up anyhow.
--
"What attribute do you consider most valuable to the politician?"
"To be able to raise a cause which shall produce an effect, and
then *fight the effect*."
- Captain T.W.S. Kidd and Senatorial candidate Abraham Lincoln
More information about the Libstdc++
mailing list