[Bug target/64231] [5 Regression] SIGSEGV building glibc on aarch64-linux-gnu from r217852

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 21 02:41:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64231

--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Ok, I was finally able to trace this down,  This is a 32bit vs 64bit host
compiler difference.
The problem is with:
      if (SYMBOL_REF_WEAK (x)
          || INTVAL (offset) < (HOST_WIDE_INT) -4294967263
          || INTVAL (offset) > (HOST_WIDE_INT) 4294967264)


This really should be something like:
      if (SYMBOL_REF_WEAK (x)
          || INTVAL (offset) < (HOST_WIDE_INT) -4294967263LL
          || INTVAL (offset) > (HOST_WIDE_INT) 4294967264LL)



More information about the Gcc-bugs mailing list