Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 1999 19:47:10 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Sakari Jalovaara <sakari@regex.fi>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/9407: "make kernel" yields buggy kernel in ceratin cases (ld bug?) 
Message-ID:  <14712.917808430@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 31 Jan 1999 10:20:01 PST." <199901311820.KAA59371@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

> Compile the following:
> 
> 	#include <stdio.h>
> 	int aa;
> 	int bb;
> 	int main (void)
> 	{
> 	    printf ("%d\n", &aa < &bb);
> 	    return 0;
> 	}
> 
> cc tst.c
> mv a.out a.out-bb
> <edit tst.c and change 'bb's to 'zz'>
> cc tst.c
> cmp -l a.out a.out-bb
> 
> -- gives more than four bytes worth of output.

Try changing "bb" to "bc" ? they're closer when sorted...

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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