This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generic thunk code fails for method ...


llewelly@xmission.com writes:

> Igor Alekseev <alekseev@bnl.gov> writes:
> 
> > 	Dear c++ experts,
> > could you help me in finding information about gcc error messages ?
> > I have a code which was successfully compiled with gcc 2.96 under
> > RedHat 7.0, but under RedHat 9.0 with gcc 3.2.3 it fails with the
> > message:
> > 
> > ServerHandler.cc:96: generic thunk code fails for method `virtual int
> >     ServerHandler::outputError(int, const char*, const char*, ...)'
> > which uses
> >     `...'
> > 
> > Could you explain for me what this message means and what shell I do
> > with it ?
> 
> You didn't provide a short-but-complete example of the code sufficient
>     to produce the error message, so I can only guess, but you may
>     have encountered this bug:
>     http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7618
>     which is fixed in the soon-to-be-released gcc 3.4 .
> 
> Until 3.4 is released you must find some alternative way to write your
>     code. 

But note that PR 7618 is target specific--the PR notes that the
problem is fixed for i686 in 3.3.3 and probably also in 3.2.3.  My
inspection of the source code suggests that it ought to work for i386
in 3.2.3, although I haven't tested it.

In 3.4 the bug is fixed for all popular targets, but it still remains
for a number of minor targets.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]