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

Ilias Tsitsimpis <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <g4tkby3wj5i3x2u3ek4gmxkfjgayq476yxdoer6pggaepb3de3@mll4q7s6lo7c>
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 according to
> > > debian/rules.
> > > 
> > > This will most likely also unbreak GHC on m68k.

Great job!

I completely missed the fact this needs to be passes to the bindist's
configure script as well.

You need to edit debian/rules here
https://sources.debian.org/src/ghc/9.4.7-5/debian/rules/#L78
and add the following line as well:

+   EXTRA_INSTALL_CONFIGURE_FLAGS += --disable-ld-override

I will include that in the next upload. Do we still have to build an
unregisterised compiler for powerpc or can we switch back to NCG
(https://bugs.debian.org/1060196)?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.