Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2002 20:08:21 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src UPDATING
Message-ID:  <20020605200821.A55648@dragon.nuxi.com>
In-Reply-To: <20020606095727.T9454-100000@gamplex.bde.org>; from bde@zeta.org.au on Thu, Jun 06, 2002 at 10:02:07AM %2B1000
References:  <20020605164841.C51253@dragon.nuxi.com> <20020606095727.T9454-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 06, 2002 at 10:02:07AM +1000, Bruce Evans wrote:
> 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

Perhaps do to local changes?

$ cat foo.c
int main(void) { return 0; } 
$ /usr/bin/cc -gstabs+ foo.c
$ ./a.out
$ /usr/bin/cc -S -gstabs+ foo.c
$ cat foo.s
        .file   "foo.c"
..snip..
        .stabs "",100,0,0,nantext
nantext:
        .ident  "GCC: (GNU) 3.1 [FreeBSD] 20020509 (prerelease)"

$ gcc31 -gstabs+ foo.c
$ ./a.out
$ gcc31 -S -gstabs+ foo.c
$ cat foo.s
        .file   "foo.c"
..snip..
        .stabs "",100,0,0,.Letext
.Letext:
        .ident  "GCC: (GNU) 3.1.1 20020527 (prerelease) [FreeBSD]"

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?20020605200821.A55648>