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 Doug,

and I'm getting build failures.

peigen.c: In function 'abs_finder':
peigen.c:215:3: error: left shift count >= width of type [-Werror]
    return (sec->vma <= abs_val) && ((sec->vma + (1L << 32)) > abs_val);
    ^
peigen.c: In function '_bfd_pei_swap_sym_out':
peigen.c:239:7: error: left shift count >= width of type [-Werror]
        && in->n_value > ((1L << 32) - 1)
        ^
peigen.c:239:22: error: comparison between signed and unsigned integer
expressions [-Werror=sign-compare]
        && in->n_value > ((1L << 32) - 1)


Nick, can you fix?

Should be fixed now.

Cheers
  Nick



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