------- Comment #2 from lionelb dot nospam at gmail dot com  2007-06-20 15:01 
-------
(In reply to comment #1)
> And this is not a bug, you need to setup LD_LIBRARY_PATH correctly to point
> to where the latest version of libstdc++ reside which means where
> --enable-version-specific-runtime-libs puts the library.

I see; that does solve the problem (as does using -Wl,-rpath ... maybe not
recommended).

Odd that I only hit that with the -O (and not with 4.1.2 at all). I guess that
was just "lucky".

> Note -static-libgcc is wrong here too because of exceptions.

As mentioned in the report, please see:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32415
I may have a workaround for this now.

BTW what are the implications for exceptions of linking with -static-libgcc?

Cheers,
Lionel


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32425

Reply via email to