From owner-freebsd-hackers Sat Apr 11 09:58:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28669 for freebsd-hackers-outgoing; Sat, 11 Apr 1998 09:58:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28656 for ; Sat, 11 Apr 1998 09:58:01 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id JAA04001; Sat, 11 Apr 1998 09:57:55 -0700 (PDT) (envelope-from jdp) Message-Id: <199804111657.JAA04001@austin.polstra.com> To: jmz@cabri.obs-besancon.fr Subject: Re: Cryptic ld message (gcc bug?) In-Reply-To: <9804090037.AA28700@cabri.obs-besancon.fr> References: <9804090037.AA28700@cabri.obs-besancon.fr> Organization: Polstra & Co., Seattle, WA Cc: hackers@FreeBSD.ORG Date: Sat, 11 Apr 1998 09:57:55 -0700 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <9804090037.AA28700@cabri.obs-besancon.fr>, Jean-Marc Zucconi wrote: > This happens when I compile with "c++ -g -O", but not with only "c++ -g" or > only "c++ -O". What do this means ? > > ld: /tmp/ccLf96521.o: unexpected multiple definitions of symbol `this:V25', type 0x27 > Ì:484352: Definition of symbol `this:V25' (multiply defined) > ld: /tmp/ccLf96521.o: unexpected multiple definitions of symbol `this:V25', type 0x27 > Ì:484352: Definition of symbol `this:V25' (multiply defined) > > Here is the source program (the error disapear if you remove the last > 3 lines!): Yes, this seems to be a bug in ld's handling of .stabs symbols. Could you please use send-pr to file a bug report containing the error messages and your test program? That will ensure that we can find the information we need to fix it when time permits. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message