Major bug -- Exception handling broken
Ross Smith
ross.s@ihug.co.nz
Wed May 31 15:54:00 GMT 2000
From: "Parker, Ron" <rdparker@butlermfg.com>
>
> My hunch about the specs file was wrong. There are no entries related to
> g++. However I did track this down to a problem with g++ using libm.a.
>
> [snip]
>
> gcc -v foo.cpp -o foo -lstd++ (OKAY)
> gcc -v foo.cpp -o foo -lstd++ -lm(BAD)
> gcc -v foo.cpp -o foo -lm (BAD)
>
> So the problem seems to be with libm.a.
Cygwin's libm.a is a symlink to libcygwin.a. I'll try replacing it
with a dummy stub library ... <tries it> ... nope, that made ld crash.
> I did a little more looking around and discovered that g++ should not be
> linking against -lm. So, I came up with the following patch that at least
> make g++ able to compile a working version of the trivial test listed above.
> It looks like a previous patch of Mumit's may have gotten dropped.
>
> If you cannot rebuild gcc, I can email a stripped and gzip'd version of the
> fixed g++. It is only 29,995 bytes.
That would be good. Thanks for all your help!
--
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
"So that's 2 T-1s and a newsfeed ... would you like clues with that?"
-- Peter Da Silva
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list