Re: Bug#915333: git-annex: Illegal Instruction on armel (Fujitsu Q700 like QNAP TS-21x/TS-22x)
- To: 915333@bugs.debian.org
- Cc: Bernhard Übelacker <bernhardu@mailbox.org>, Adrian Bunk <bunk@debian.org>, debian-haskell@lists.debian.org, debian-arm@lists.debian.org, Julian Calaby <julian.calaby@gmail.com>, Lukas Straub <lukasstraub2@web.de>
- Subject: Re: Bug#915333: git-annex: Illegal Instruction on armel (Fujitsu Q700 like QNAP TS-21x/TS-22x)
- From: Ilias Tsitsimpis <iliastsi@debian.org>
- Date: Sun, 12 May 2019 15:16:10 +0300
- Message-id: <[🔎] 20190512121610.oamfyieltyvztcph@iliastsi.net>
- Mail-followup-to: 915333@bugs.debian.org, Bernhard Übelacker <bernhardu@mailbox.org>, Adrian Bunk <bunk@debian.org>, debian-haskell@lists.debian.org, debian-arm@lists.debian.org, Julian Calaby <julian.calaby@gmail.com>, Lukas Straub <lukasstraub2@web.de>
- In-reply-to: <20190311100555.GA19167@localhost>
- References: <154863091180.13285.4572535621369020200.reportbug@localhost6.localdomain6> <154863091180.13285.4572535621369020200.reportbug@localhost6.localdomain6> <154378324633.10148.15600874587708604033.reportbug@Lukas-Pcduino.fritz.box> <8bf46026-0456-c8c8-03ce-ca40790673ad@mailbox.org> <154378324633.10148.15600874587708604033.reportbug@Lukas-Pcduino.fritz.box> <20190311100555.GA19167@localhost>
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
--
Ilias
Reply to: