Package: ghc
Version: 9.6.6-4+b1
Severity: normal
X-Debbugs-Cc: fanp...@loongson.cn

Dear Maintainer,

To ensure that GHC-driver builds default to mcmodel=medium, GHC needs
to pass this default parameter to CC without having to add it to the
compiled project.

The former commit does not ensure that all GHC-built object files have
a default model of medium, and will raise an R_LARCH_B26 overflow error.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 6.6.34-9.2.loongarch64 (SMP w/32 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages ghc depends on:
ii  dpkg            1.22.18
ii  gcc             4:14.2.0-1
ii  libbsd-dev      0.12.2-2
ii  libc6           2.41-6
ii  libc6-dev       2.41-6
ii  libffi-dev      3.4.7-1
ii  libffi8         3.4.7-1
ii  libgmp-dev      2:6.3.0+dfsg-3
ii  libgmp10        2:6.3.0+dfsg-3
ii  libncurses-dev  6.5+20250216-2
ii  libnuma-dev     2.0.18-1+b1
ii  libnuma1        2.0.18-1+b1
ii  libtinfo6       6.5+20250216-2
ii  llvm-18         1:18.1.8-17

Versions of packages ghc recommends:
ii  libstdc++-14-dev  14.2.0-19

Versions of packages ghc suggests:
ii  ghc-doc   9.6.6-4
ii  ghc-prof  9.6.6-4+b1
ii  perl      5.40.1-2

-- no debconf information

Attachment: 0005-Pass-the-mcmodel-medium-parameter-to-CC-via-GHC.patch
Description: application/mbox

Reply via email to