From owner-freebsd-hackers Wed Apr 23 20:20:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA12247 for hackers-outgoing; Wed, 23 Apr 1997 20:20:18 -0700 (PDT) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id UAA12242 for ; Wed, 23 Apr 1997 20:20:15 -0700 (PDT) Received: from rover.village.org [127.0.0.1] by rover.village.org with esmtp (Exim 1.60 #1) id 0wKF4c-0001kZ-00; Wed, 23 Apr 1997 21:19:54 -0600 To: Nanbor Wang Subject: Re: Any compiler guru? (Was: 2 questions about C++ support in 2.2) Cc: hackers@freebsd.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> Date: Wed, 23 Apr 1997 21:19:54 -0600 From: Warner Losh Message-Id: Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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