GNU bug report logs -
#13818
24.3.50; Bootstrap failed on Cygwin due to revno: 111870
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Tue, 26 Feb 2013 07:26:01 UTC
Severity: normal
Found in version 24.3.50
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On 2/27/2013 3:02 AM, Paul Eggert wrote:
> If I'm understanding things correctly, this means the
> following little test program compiles and links OK.
> Can you please check this?
>
> extern char data_start[];
> char ch;
> int
> main ()
> {
> return data_start == &ch;
> }
It compiles and links OK. But maybe Andreas explained why.
> If this compiles and links, we need to find out why
> the similar usage in vm-limit.c does not link.
>
> Can you please compile the above program
> with gcc -std=gnu99 -O2 -S and see what
> the machine code looks like?
Attached.
> Also, suppose we change this test program to the following
> instead -- does this test program compile and link?
>
> extern char data_start[];
> char ch;
> int
> main ()
> {
> return data_start < &ch;
> }
No, this gives the "undefined reference to `_data_start'" error. Making
that change in configure.ac fixes the problem.
Ken
[test.s (text/plain, attachment)]
This bug report was last modified 12 years and 89 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.