This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mainline problems?


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)
> > 
> > libbackend.a(print-rtl.o): In function `print_decl_name':
> > /src/gcc/2006-05-16/gcc/gcc/print-rtl.c:73: multiple definition of `flag_dump_unnumbered'
> > libbackend.a(options.o):(.bss+0x1ac): first defined here

I have

[hjl@gnu-68 prev-gcc]$ readelf -s print-rtl.o| grep flag_dump_unnumbered
    24: 0000000000000000     4 OBJECT  GLOBAL DEFAULT    5 flag_dump_unnumbered
[hjl@gnu-68 prev-gcc]$ readelf -s options.o| grep flag_dump_unnumbered
   181: 0000000000000004     4 OBJECT  GLOBAL DEFAULT  COM flag_dump_unnumbered

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


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]