Tru64 non-virtual thunks multiply defined
Nathan Sidwell
nathan@codesourcery.com
Tue Jan 6 02:15:00 GMT 2009
Peter O'Gorman wrote:
>
> The problems start with r109149 - this patch:
> http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01905.html
>
> With this patch reverted we can build qt on Tru64 with gcc-4.2.4.
>
> I have not yet built trunk on this platform, when I tired bootstrap
> failed, will try again now, but I don't believe this has changed much
> from 4.2.4.
>
> Is this patch itself to blame, or does it simply expose a latent bug?
It is exposing a latent bug. There was a bug where multiple logically-distinct
thunks were emitted even though they all had the same effect, and hence the same
names.
> Will reverting this patch in the gcc that we ship cause any real
> problems?
Yes, it may cause the thunks to be placed far from the thunked-to function and
hence have jump range problems. Perhaps that's not an issue on Tru64 though
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
More information about the Gcc
mailing list