This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

BFD built failures with GCC 4.5


I tried to build GDB (with --enable-targets=all) with GCC 4.5.

I got the append errors.
I looked into them a bit, but I don't know anything about COFF or the
logic in ti.h (e.g. GET_SCNHDR_FLAGS).

Tom

cc1: warnings being treated as errors
In file included from ../../src/bfd/coffcode.h:369:0,
                 from ../../src/bfd/coff-tic4x.c:79:
../../src/bfd/coffswap.h: In function âcoff_swap_scnhdr_inâ:
../../src/bfd/coffswap.h:769:25: error: array subscript is below array bounds
../../src/bfd/coffswap.h:771:25: error: array subscript is below array bounds
../../src/bfd/coffswap.h: In function âcoff_swap_scnhdr_outâ:
../../src/bfd/coffswap.h:798:3: error: array subscript is below array bounds
../../src/bfd/coffswap.h:804:5: error: array subscript is below array bounds
../../src/bfd/coffswap.h:815:7: error: array subscript is below array bounds
../../src/bfd/coffswap.h:839:3: error: array subscript is below array bounds
../../src/bfd/coffswap.h:839:3: error: array subscript is below array bounds
make[4]: *** [coff-tic4x.lo] Error 1


cc1: warnings being treated as errors
In file included from ../../src/bfd/coffcode.h:369:0,
                 from ../../src/bfd/coff-tic54x.c:367:
../../src/bfd/coffswap.h: In function âcoff_swap_scnhdr_inâ:
../../src/bfd/coffswap.h:769:25: error: array subscript is below array bounds
../../src/bfd/coffswap.h:771:25: error: array subscript is below array bounds
../../src/bfd/coffswap.h: In function âcoff_swap_scnhdr_outâ:
../../src/bfd/coffswap.h:798:3: error: array subscript is below array bounds
../../src/bfd/coffswap.h:804:5: error: array subscript is below array bounds
../../src/bfd/coffswap.h:815:7: error: array subscript is below array bounds
../../src/bfd/coffswap.h:839:3: error: array subscript is below array bounds
../../src/bfd/coffswap.h:839:3: error: array subscript is below array bounds
make[4]: *** [coff-tic54x.lo] Error 1


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