This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/64231] [5 Regression] SIGSEGV building glibc on aarch64-linux-gnu from r217852
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Jan 2015 02:40:22 +0000
- Subject: [Bug target/64231] [5 Regression] SIGSEGV building glibc on aarch64-linux-gnu from r217852
- Auto-submitted: auto-generated
- References: <bug-64231-4 at http dot gcc dot gnu dot org/bugzilla/>
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)