Bug#1073159: ghc: Please include --disable-ld-override in EXTRA_INSTALL_CONFIGURE_FLAGS

2024-06-13 Thread John Paul Adrian Glaubitz
Source: ghc Version: 9.4.7-5 Severity: important Tags: patch User: debian-powerpc@lists.debian.org Usertags: powerpc X-Debbugs-Cc: debian-powerpc@lists.debian.org Hi, after debugging the segmentation faults with the unregisterised GHC on powerpc for a long time, I finally found the culprit which

Re: Bug#1057050: qt6-multimedia: Please build with EIGEN_DONT_VECTORIZE on powerpc to fix FTBFS

2024-06-13 Thread Patrick Franz
Hej, Am Sonntag, 9. Juni 2024, 18:06:09 CEST schrieb John Paul Adrian Glaubitz: [...] > > The syntax of my proposed solution was wrong. My local tests were not > performed on a clean source which is why I did not notice the > suggested syntax didn't work. > > The proper syntax is: > > ifneq (,

Re: Bug#1023649: ghc: FTBFS haskell-random powerpc (ghc Segmentation fault)

2024-06-13 Thread Ilias Tsitsimpis
Hey Adrian, On Thu, Jun 13, 2024 at 10:09AM, John Paul Adrian Glaubitz wrote: > Hi Jeff, > > On Thu, 2024-06-13 at 03:50 -0400, Jeffrey Walton wrote: > > > Now we just need to figure out how to actually set the default linker back > > > to bfd as it was actually explicitly supposed to happen acco

Re: Bug#1023649: ghc: FTBFS haskell-random powerpc (ghc Segmentation fault)

2024-06-13 Thread John Paul Adrian Glaubitz
Hi Ilias, On Thu, 2024-06-13 at 21:22 +0300, Ilias Tsitsimpis wrote: > Great job! Thanks! > I completely missed the fact this needs to be passes to the bindist's > configure script as well. It took me forever to figure this out ;-). > You need to edit debian/rules here > https://sources.debian

Re: Bug#1023649: ghc: FTBFS haskell-random powerpc (ghc Segmentation fault)

2024-06-13 Thread John Paul Adrian Glaubitz
Hi Jeff, On Thu, 2024-06-13 at 03:50 -0400, Jeffrey Walton wrote: > > Now we just need to figure out how to actually set the default linker back > > to bfd as it was actually explicitly supposed to happen according to > > debian/rules. > > > > This will most likely also unbreak GHC on m68k. > >

Re: Bug#1023649: ghc: FTBFS haskell-random powerpc (ghc Segmentation fault)

2024-06-13 Thread Jeffrey Walton
On Thu, Jun 13, 2024 at 3:41 AM John Paul Adrian Glaubitz wrote: > > I finally figured out what the problem is. > > After realizing that the two-stage build of GHC works without problems, > I realized it can be a configuration issue only and, indeed, it is. > > Looking at /usr/lib/ghc/lib/settings

Re: Bug#1023649: ghc: FTBFS haskell-random powerpc (ghc Segmentation fault)

2024-06-13 Thread John Paul Adrian Glaubitz
Hi, I finally figured out what the problem is. After realizing that the two-stage build of GHC works without problems, I realized it can be a configuration issue only and, indeed, it is. Looking at /usr/lib/ghc/lib/settings, the default linker is set to gold: "C compiler link flags", "