[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Oct 5 08:51:00 GMT 2005



------- Comment #6 from pcarlini at suse dot de  2005-10-05 08:50 -------
(In reply to comment #5)
> Paolo, I guess it is obvious to anyone around that _S_empty_rep_storage is
> there to speed up things. What is not obvious to Cygwin users is that this
> optimization actually makes their programs crash. And let me assure you that
> the crash is not easy to track down unless you want to step trough assembler
> code.

I believe you, but I'm definitely not sure that giving away by default this
important optimization for the sake of the few people playing with dlls is
the way to go for Cygwin. Maybe the fact that in so many years nobody
reported problems before should tell you something...

Anyway, you are probably right, you should first discuss the issue in the
Cygwin community and weight the various options. Then, if a change to the
configury localized to Cygwin will be in order rest assured that will be
very quickly approved. Thanks.


-- 


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



More information about the Gcc-bugs mailing list