Bug#862360: llvm-toolchain-3.8: Fix R_AARCH64_MOVW_UABS_G3 relocation
Edmund Grimley Evans
edmund.grimley.evans at gmail.com
Thu May 11 18:37:01 UTC 2017
Source: llvm-toolchain-3.8
Version: 1:3.8.1-23
Please apply this upstream bug fix to Debian's llvm-toolchain-3.8
before the release:
https://reviews.llvm.org/D27609?id=80860
See line 360 of RuntimeDyldELF.cpp.
The bug prevents julia from running on some arm64 systems and may
have other bad consequences:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861484
You could just change that one line:
- *TargetPtr |= Result >> (48 - 5);
+ *TargetPtr |= (Result & 0xffff000000000000ULL) >> (48 - 5);
(Is there some way of searching for all such simple upstream bug fixes
that should perhaps be applied to Debian's llvm-toolchain-3.8?)
More information about the Pkg-llvm-team
mailing list