Implement riscv64 LLVM backend

Add support for the riscv64 architecture for the LLVM code generator.
24 jobs for master in 379 minutes and 41 seconds (queued for 5 minutes and 41 seconds)
Status Job ID Name Coverage
  Tool Lint
passed #586906
lint
lint-linters

00:01:01

failed #586909
lint allowed to fail
lint-submods

00:00:13

passed #586910
lint
lint-submods-branch

00:00:22

passed #586907
lint
lint-testsuite

00:00:17

passed #586908
lint
typecheck-testsuite

00:00:15

 
  Quick Build
passed #586911
x86_64-linux
hadrian-ghc-in-ghci

00:14:39

 
  Lint
passed #586912
lint
lint-base

00:19:25

 
  Build
passed #586913
x86_64-linux
stack-hadrian-build

00:08:31

passed #586914
x86_64-linux
validate-x86_64-linux-deb9-hadrian

01:59:15

 
  Full Build
failed #586917
aarch64-linux allowed to fail
validate-aarch64-linux-deb10

00:54:10

failed #586918
armv7-linux allowed to fail
validate-armv7-linux-deb10

02:32:49

failed #586919
x86_64-linux
validate-i386-linux-deb9

01:28:25

failed #586916
x86_64-darwin
validate-x86_64-darwin

01:08:28

passed #586920
x86_64-linux
validate-x86_64-linux-deb9-debug

01:44:08

failed #586923
x86_64-linux
validate-x86_64-linux-deb9-dwarf

01:50:19

failed #586921
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

00:51:40

manual #586922
x86_64-linux allowed to fail manual
validate-x86_64-linux-deb9-tsan
passed #586915
x86_64-linux
validate-x86_64-linux-deb9-unreg-hadrian

02:48:06

failed #586924
x86_64-linux
validate-x86_64-linux-fedora27

00:52:22

passed #586925
new-x86_64-windows test
validate-x86_64-windows-hadrian

03:45:00

 
  Packaging
passed #586926
x86_64-linux
doc-tarball

00:03:31

 
  Testing
manual #586927
x86_64-linux allowed to fail manual
hackage
skipped #586929
x86_64-linux-perf
perf
skipped #586928
x86_64-linux
perf-nofib
 
Name Stage Failure
failed
validate-i386-linux-deb9 Full Build
Uploading artifacts...
ghc-i386-deb9-linux.tar.xz: found 1 matching files and directories

junit.xml: found 1 matching files and directories

performance-metrics.tsv: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=586919 responseStatus=201 Created token=3MY1gZD6
Uploading artifacts...
junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=586919 responseStatus=201 Created token=3MY1gZD6
ERROR: Job failed: exit code 1
failed
lint-submods Tool Lint
Entering 'libraries/unix'
Entering 'libraries/xhtml'
Entering 'nofib'
Entering 'utils/haddock'
Entering 'utils/hsc2hs'
Authenticating with credentials from job payload (GitLab Registry)
$ git fetch "$CI_MERGE_REQUEST_PROJECT_URL" $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
fatal: no path specified; see 'git help pull' for valid url syntax
ERROR: Job failed: exit code 1
failed
validate-x86_64-linux-deb9-integer-simple Full Build
Running after_script
Running after script...
$ cp -Rf $HOME/.cabal cabal-cache
Uploading artifacts for failed job
Uploading artifacts...
junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=586921 responseStatus=201 Created token=wgHJC8y9
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
validate-x86_64-linux-fedora27 Full Build
ghc-x86_64-fedora27-linux.tar.xz: found 1 matching files and directories 
junit.xml: found 1 matching files and directories

performance-metrics.tsv: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=586924 responseStatus=201 Created token=FwxR7eko
Uploading artifacts...
junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=586924 responseStatus=201 Created token=FwxR7eko
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
validate-aarch64-linux-deb10 Full Build
Uploading artifacts...
WARNING: ghc-aarch64-linux-deb10.tar.xz: no matching files
WARNING: junit.xml: no matching files
WARNING: performance-metrics.tsv: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1
failed
validate-x86_64-darwin Full Build
ghc-x86_64-apple-darwin.tar.xz: found 1 matching files and directories 
junit.xml: found 1 matching files and directories

performance-metrics.tsv: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=586916 responseStatus=201 Created token=v_XYT-o8
Uploading artifacts...
Runtime platform
arch=amd64 os=darwin pid=1470 revision=6214287e version=13.1.0
junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=586916 responseStatus=201 Created token=v_XYT-o8
ERROR: Job failed: exit status 1
failed
validate-x86_64-linux-deb9-dwarf Full Build
cpe_app keepAlive#
[app TYPE: 'LiftedRep, app TYPE: ForeignPtrContents,
app TYPE: 'TupleRep '[ 'TupleRep '[], 'LiftedRep],
app TYPE: (# State# RealWorld, EpochTime #),
app src<libraries/base/GHC/ForeignPtr.hs:531:30> r_a2TJ,
app s'_a2MI,
app (\ (eta_a2UL [OS=OneShot] :: State# RealWorld) ->
src<libraries/unix/System/Posix/Files/Common.hsc:287:43-81>
src<libraries/base/Foreign/C/Types.hs:
Job's log exceeded limit of 16384000 bytes.
failed
validate-armv7-linux-deb10 Full Build
Uploading artifacts...
ghc-armv7-linux-deb10.tar.xz: found 1 matching files

junit.xml: found 1 matching files

performance-metrics.tsv: found 1 matching files

Uploading artifacts to coordinator... ok
id=586918 responseStatus=201 Created token=K5Ec11jX
Uploading artifacts...
junit.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=586918 responseStatus=201 Created token=K5Ec11jX
ERROR: Job failed: exit code 1