Date: Thu, 6 Jun 2002 10:02:07 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: "David O'Brien" <obrien@FreeBSD.org> Cc: Robert Watson <rwatson@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src UPDATING Message-ID: <20020606095727.T9454-100000@gamplex.bde.org> In-Reply-To: <20020605164841.C51253@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 5 Jun 2002, David O'Brien wrote:
> On Thu, Jun 06, 2002 at 09:11:26AM +1000, Bruce Evans wrote:
> > -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
>
> I don't see "-gstabs+" in your `cc' invocation.
Oops. The above failed despite not having -gstabs because I had already
built cat.o using -gstabs+. Here is a complete version:
%%%
Script started on Thu Jun 6 09:56:22 2002
ttyp0:bde@besplex:/usr/src/bin/cat> make clean
rm -f cat cat.o cat.1.gz cat.1.cat.gz
ttyp0:bde@besplex:/usr/src/bin/cat> make CC='cc -gstabs+'
Warning: Using /usr/src/bin/cat/obj as object directory instead of canonical /usr/obj/usr/src/bin/cat
cc -gstabs+ -O -pipe -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -c /usr/src/bin/cat/cat.c
{standard input}: Assembler messages:
{standard input}:1342: Warning: rest of line ignored; first ignored character is `-'
cc -gstabs+ -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:56:32 2002
%%%
Compiling an empty file with -gstabs gives a reference to `nantext', and
I don't have anything to satisfy it.
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?20020606095727.T9454-100000>
