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.
control: tags -1 patch pending Hello, I committed the change on git, I don't plan to upload because I don't think we are making things better, specially with freezes and RC bugs due to other releases. If I understand correctly the patch, I also have to drop the manual mcmodel=medium passed to some packages, and I dropped such hacks. Please double check my work: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/534391ca67cb508966b850f7a0fc3c6e26b50651 haskell-zlib: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 29 minutes ago f45cfe87 haskell-splitmix: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago fb3c8993 haskell-primitive: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago 151e13e9 haskell-pandoc: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago d30d80a0 haskell-pandoc-lua-engine: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago 5fc11e23 haskell-lua: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago 4d93c4e2 haskell-isocline: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago 4365017a haskell-clash-ghc: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 31 minutes ago f86fde7b ghc: Update changelog Gianfranco Costamagna authored 35 minutes ago 6bd2da59 ghc: set Origin for the new patch Gianfranco Costamagna authored 36 minutes ago dc73a035 ghc: from Peng Fan <fanpeng@loongson.cn>: Pass the mcmodel=medium parameter to CC via GHC Gianfranco Costamagna authored 37 minutes ago thanks, Gianfranco
control: tags -1 patch pending Hello, I committed the change on git, I don't plan to upload because I don't think we are making things better, specially with freezes and RC bugs due to other releases. If I understand correctly the patch, I also have to drop the manual mcmodel=medium passed to some packages, and I dropped such hacks. Please double check my work: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/534391ca67cb508966b850f7a0fc3c6e26b50651 haskell-zlib: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 29 minutes ago f45cfe87 haskell-splitmix: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago fb3c8993 haskell-primitive: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago 151e13e9 haskell-pandoc: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago d30d80a0 haskell-pandoc-lua-engine: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago 5fc11e23 haskell-lua: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago 4d93c4e2 haskell-isocline: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 30 minutes ago 4365017a haskell-clash-ghc: drop loong64 hack, now that gcc is fixed Gianfranco Costamagna authored 31 minutes ago f86fde7b ghc: Update changelog Gianfranco Costamagna authored 35 minutes ago 6bd2da59 ghc: set Origin for the new patch Gianfranco Costamagna authored 36 minutes ago dc73a035 ghc: from Peng Fan <fanpeng@loongson.cn>: Pass the mcmodel=medium parameter to CC via GHC Gianfranco Costamagna authored 37 minutes ago thanks, Gianfranco
On Tue, 25 Mar 2025 10:20:12 +0000 (UTC) Gianfranco Costamagna wrote: Yes, We can drop the extra option to some packages. Commit 534391ca67cb508966b850f7a0fc3c6e26b50651 <https://salsa.debian.org/haskell-team/DHG_packages/-/commit/534391ca67cb508966b850f7a0fc3c6e26b50651> is fine. In fact, we plan to subsequently undo this hack operation. > control: tags -1 patch pending > > Hello, > I committed the change on git, I don't plan to upload because I don't think we are making things better, specially with > freezes and RC bugs due to other releases. > > If I understand correctly the patch, I also have to drop the manual mcmodel=medium passed to some packages, and I dropped such hacks. > > Please double check my work: > https://salsa.debian.org/haskell-team/DHG_packages/-/commit/534391ca67cb508966b850f7a0fc3c6e26b50651 > > > haskell-zlib: drop loong64 hack, now that gcc is fixed > Gianfranco Costamagna authored 29 minutes ago > f45cfe87 > haskell-splitmix: drop loong64 hack, now that gcc is fixed > Gianfranco Costamagna authored 30 minutes ago > fb3c8993 > haskell-primitive: drop loong64 hack, now that gcc is fixed > Gianfranco Costamagna authored 30 minutes ago > 151e13e9 > haskell-pandoc: drop loong64 hack, now that gcc is fixed > Gianfranco Costamagna authored 30 minutes ago > d30d80a0 > haskell-pandoc-lua-engine: drop loong64 hack, now that gcc is fixed > Gianfranco Costamagna authored 30 minutes ago > 5fc11e23 > haskell-lua: drop loong64 hack, now that gcc is fixed > Gianfranco Costamagna authored 30 minutes ago > 4d93c4e2 > haskell-isocline: drop loong64 hack, now that gcc is fixed > Gianfranco Costamagna authored 30 minutes ago > 4365017a > haskell-clash-ghc: drop loong64 hack, now that gcc is fixed > Gianfranco Costamagna authored 31 minutes ago > f86fde7b > ghc: Update changelog > Gianfranco Costamagna authored 35 minutes ago > 6bd2da59 > ghc: set Origin for the new patch > Gianfranco Costamagna authored 36 minutes ago > dc73a035 > ghc: from Peng Fan : Pass the mcmodel=medium parameter to CC via GHC > Gianfranco Costamagna authored 37 minutes ago > > > thanks, > > Gianfranco