This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: mainline problems?
On Tue, 2006-05-16 at 10:20 -0700, H. J. Lu wrote:
> On Tue, May 16, 2006 at 12:49:13PM -0400, Andrew MacLeod wrote:
> > On Tue, 2006-05-16 at 11:50 -0400, Andrew MacLeod wrote:
> > > I *just* checked out mainline, and it is failing to build like so:
> > >
> > > (x86 with checking enabled)
> >
> Does this work on your platform?
>
> [hjl@gnu-16 tmp]$ cat x.c
> int x = 1;
> [hjl@gnu-16 tmp]$ gcc -c x.c
> [hjl@gnu-16 tmp]$ cat y.c
> int x;
> [hjl@gnu-16 tmp]$ gcc -c y.c
> [hjl@gnu-16 tmp]$ ld -r x.o y.o
> [hjl@gnu-16 tmp]$ ld -r y.o x.o
>
Sure. The platform is FC5 x86 linux, so i686-pc-linux-gnu
Andrew