[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870
From: |
Ken Brown |
Subject: |
bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 |
Date: |
Wed, 27 Feb 2013 06:25:15 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
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
Description: Text document