From owner-cvs-all Wed Jun 5 16:11: 3 2002 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 7EE4937B401; Wed, 5 Jun 2002 16:10:54 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id JAA24929; Thu, 6 Jun 2002 09:10:51 +1000 Date: Thu, 6 Jun 2002 09:11:26 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Robert Watson Cc: cvs-committers@FreeBSD.org, Subject: Re: cvs commit: src UPDATING In-Reply-To: <200206052021.g55KLeI54246@freefall.freebsd.org> Message-ID: <20020606090328.L9314-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 5 Jun 2002, Robert Watson wrote: > rwatson 2002/06/05 13:21:40 PDT > > Modified files: > . UPDATING > Log: > Slightly modify the UPDATING text to indicate that -gstabs+ is a gcc > flag to replace -g. This works around slight obtuseness in the developer. > (me :-). -gstabs+ doesnt't even compile here. %%% Script started on Thu Jun 6 09:02:20 2002 ttyp0:bde@besplex:/usr/src/bin/cat> make Warning: Using /usr/src/bin/cat/obj as object directory instead of canonical /usr/obj/usr/src/bin/cat cc -O -pipe -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -static -o cat cat.o cat.o: In function `udom_open': /usr/src/bin/cat/cat.c(.stab+0x1460): undefined reference to `nantext' *** Error code 1 Stop in /usr/src/bin/cat. ttyp0:bde@besplex:/usr/src/bin/cat> exit Script done on Thu Jun 6 09:02:27 2002 %%% Perhaps my handbuilt world is a little out of date: I used the following (in userland only) to work around the brokenness of -g: 1) upgrade to the previous version of gcc (/usr/bin~/cc -B/usr/libexec~). Using upgraded versions would be easier than this if we used the normal gcc hooks for multiple versions (I just moved all of bin and libexec before the gcc downgrade). 2) gcc -gdwarf. gcc -gdwarf+ seems to work too. gcc -gdwarf-2 gives the same brokenness as gcc -g. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message