Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 1997 21:19:54 -0600
From:      Warner Losh <imp@village.org>
To:        Nanbor Wang <nw1@cs.wustl.edu>
Cc:        hackers@freebsd.org
Subject:   Re: Any compiler guru? (Was: 2 questions about C++ support in 2.2) 
Message-ID:  <E0wKF4c-0001kZ-00@rover.village.org>
In-Reply-To: Your message of "Wed, 23 Apr 1997 14:11:43 CDT." <199704231911.OAA17121@siesta.cs.wustl.edu> 
References:  <199704231911.OAA17121@siesta.cs.wustl.edu>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199704231911.OAA17121@siesta.cs.wustl.edu> Nanbor Wang writes:
: /var/tmp/cc022478.s:16783: Warning: GOT relocation burb: `__vt$15ACE_Local_Mutex

These are "normal" and "OK".  They are warning about a condition that
is harmless.  Generally, an inlined virtual function that is trying to
be local...  A bad practice because many compilers don't handle this
legal C++ construct.  Yes, this is a bug and should be fixed, but
people who can fix it haven't found the time yet to do so.

: ACE.  After spitting out a lot of GOT warnings, the compiler finally
: spited out "Compiler internal error" and went dead.  

Hmmm, that's bad.  I don't think that is related to the above
messages.

: I have no idea at all as this problem is caused by incorrect g++
: behavior or by lame assembler (binutil?)   Is there a quick fix for
: this?  Has any one solved this problem before?  Will switching to gcc
: 2.7.2.2 help?  Or, we should get a better binutil?  

The internal compiler error won't be helped by getting new binutil.
And 2.7.2.2 won't help either, since it just add support for
Linux-alpha related stuff.  g++ also isn't the worlds best C++
compiler.  Every time I've gone to write something moderately
complicated, I've fired off a bug report to the appropriate people
:-(.

2.8.0 is just around the corner.  Maybe it will improve things.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0wKF4c-0001kZ-00>