g++ serious bug in Ubuntu Lucid Lynx

Ian Lance Taylor iant@google.com
Fri Jun 4 08:21:00 GMT 2010


"David R. Doucette" <ddoucette@kldcompanies.com> writes:

> I believe all that stuff was in the tar file I sent you. I followed the
> instructions on the Web site. However, some of the stuff from the earlier
> versions (Karmic and Jaunty) might be from 32 bit systems since our 64 bit
> systems were the first to be upgraded before we hit the wall. However, the
> version numbers should be the same.

The tar file was corrupted as I received it.  Also, it did not seem to
contain any information about how gcc was configured.

However, I did see both 32-bit and 64-bit code.  The 32-bit and 64-bit
ABI are different.  If you were compiling in 32-bit mode before, and
you are compiling in 64-bit mode now, then that is your problem.
Struct layouts are not the same in those two modes.

You can probably use the -m32 option with your new compiler to
generate 32-bit code.

Ian



More information about the Gcc-help mailing list