Bug#862360: llvm-toolchain-3.8: Fix R_AARCH64_MOVW_UABS_G3 relocation

Adrian Bunk bunk at debian.org
Sun May 14 11:11:18 UTC 2017


Control: clone -1 -2 -3
Control: reassign -2 src:llvm-toolchain-3.7
Control: retitle -2 llvm-toolchain-3.7: Fix R_AARCH64_MOVW_UABS_G3
Control: reassign -2 src:llvm-toolchain-3.9
Control: retitle -2 llvm-toolchain-3.9: Fix R_AARCH64_MOVW_UABS_G3

On Fri, May 12, 2017 at 02:25:24PM +0200, Graham Inggs wrote:
> The one line fix on its own:
> 
> -    *TargetPtr |= Result >> (48 - 5);
> +    *TargetPtr |= (Result & 0xffff000000000000ULL) >> (48 - 5);
> 
> ...allows julia from the archive to run on my Raspberry Pi 3.
> Building julia now also succeeds.
> 
> On 11/05/2017 20:42, Edmund Grimley Evans wrote:
> > There is probably no need to rebuild julia when the LLVM bug has been fixed,
> > but you should probably check that with someone who properly understands
> > how julia works.
> 
> Julia needs to be rebuilt on arm64 for the LLVM versioned symbols transition
> (see #849098) anyway.
> 
> This line of code is still present in LLVM 3.9.1 (and 3.7 and 3.5), but
> seems to be fixed in 4.0 (thanks jcristau and bunk for checking).
>...

I'm cloing this bug to 3.7 and 3.9 since it looks as if this should 
also be fixed there.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Pkg-llvm-team mailing list