[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#915333: git-annex: Illegal Instruction on armel (Fujitsu Q700 like QNAP TS-21x/TS-22x)

On Mon, Mar 11, 2019 at 12:05PM, Adrian Bunk wrote:
> On Thu, Jan 31, 2019 at 08:12:17PM +0100, Bernhard Übelacker wrote:
> > See attached file with several debugging attempts.
> Looking at the code, the bug seems to be in
> https://sources.debian.org/src/ghc/8.4.4+dfsg1-2/debian/patches/llvm-arm-unknown-linux-gnueabi.patch/

Hey all,

Thank you Bernhard and Adrian for debugging this. I have opened an unblock
request for ghc to see if RT will allow us to fix this for buster.

[#928882] https://bugs.debian.org/928882

Running the `utils/llvm-targets/gen-data-layout.sh` script[1], outputs
the following triplet for arm-unknown-linux-gnueabi:

  ("arm-unknown-linux-gnueabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "arm7tdmi", "+soft-float -fp-only-sp -d16 -vfp2 -vfp3 -fp16 -vfp4 -fp-armv8 -neon -crypto +strict-align"))

The ARM7TDMI processor core implements the ARM architecture v4T, so it
looks like the correct value for armel, but it would be great if someone
from the debian-arm team could verify that the rest of the flags are OK.

Hopefully, we can fix this for buster.

[1] https://sources.debian.org/src/ghc/8.4.4+dfsg1-2/utils/llvm-targets/gen-data-layout.sh


Reply to: