public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* 32 bit host build failure from peXXigen.c
@ 2014-04-16 17:34 Doug Evans
  2014-04-17  0:14 ` asmwarrior
  2014-04-22 15:58 ` Nicholas Clifton
  0 siblings, 2 replies; 8+ messages in thread
From: Doug Evans @ 2014-04-16 17:34 UTC (permalink / raw)
  To: nick clifton, Binutils

Hi.

Commit 32ae0d80cd430150ad9536aa160f34f504e129bc has this:

        PR ld/16821
        * peXXigen.c (abs_finder): New function.
        (_bfd_XXi_swap_sym_out): For absolute symbols with values larger
        than 1^32 try to convert them into section relative values
        instead.

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?
Thanks!

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-04-25 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16 17:34 32 bit host build failure from peXXigen.c Doug Evans
2014-04-17  0:14 ` asmwarrior
2014-04-22 15:58 ` Nicholas Clifton
2014-04-23 20:18   ` Edjunior Barbosa Machado
2014-04-24 15:10     ` Nicholas Clifton
2014-04-24 16:23       ` Edjunior Barbosa Machado
2014-04-25 13:07         ` Nicholas Clifton
2014-04-25 15:17           ` Edjunior Barbosa Machado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).