Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 09:11:26 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src UPDATING
Message-ID:  <20020606090328.L9314-100000@gamplex.bde.org>
In-Reply-To: <200206052021.g55KLeI54246@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606090328.L9314-100000>