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]

Re: 32 bit host build failure from peXXigen.c


Hi Edjunior,

now I'm facing this build issue with peigen.c on x86:

peigen.c: In function â_bfd_pei_swap_sym_outâ:
peigen.c:240:7: error: comparison is always false due to limited range of data type [-Werror=type-limits]

Darn.  Which version of gcc are you using ?

I have just tried using gcc 4.8.2 on a 32-bit Fedora 20 installation and this error did not happen. (I did find and fix another 32-bit issue).

Could you try out the attached patch and let me know if it works for you ?

Cheers
  Nick


Attachment: fred
Description: Text document


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