From owner-freebsd-hackers Sat Mar 15 22:13:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA10192 for hackers-outgoing; Sat, 15 Mar 1997 22:13:12 -0800 (PST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA10187 for ; Sat, 15 Mar 1997 22:13:07 -0800 (PST) Received: from rover.village.org (localhost [127.0.0.1]) by rover.village.org (8.8.5/8.6.6) with ESMTP id XAA13150 for ; Sat, 15 Mar 1997 23:12:56 -0700 (MST) Message-Id: <199703160612.XAA13150@rover.village.org> To: hackers@freebsd.org Subject: Barb problem, FOUND Date: Sat, 15 Mar 1997 23:12:56 -0700 From: Warner Losh Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk {standard input}: Assembler messages: {standard input}:1147: Warning: GOT relocation burb: `__vt$5TNode' should be global OK. The problem here is trivial to reproduce. All of the members of TNode are virtual. Even the dtor, and it is specifically inline (which is a major no-no for virtual dtors (and virtual functions in general) because most compiler give multiple copies). This message should really read "TNode::~TNode is an inline virtual function, and I don't know how to cope, so fix the dubious construct in the code, OK" In the case of tvision 0.3, I see it for each of the classes that have virtual inline functions, but it reports the wrong function name. Comments? Warner