Re: guile-3.0: FTBFS on hppa - segmentation faults

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.68k,gmane.linux.debian.ports.hppa,gmane.linux.debian.ports.powerpc
Message-ID <[email protected]>
Control: retitle -1 guile-3.0: Please include patch to fix FTBFS on 32-bit BE systems
Control: tags -1 +patch

Hello!

The attached patch fixes the problem for me. It was suggested by Efraim Flashner
in the corresponding upstream bug report [1].

It simply adds "-Oresolve-primitives -Ocps" to GUILE_OPTIMIZATIONS in bootstrap/
Makefile.am. I have tried coming up a with a solution to add these flags on hppa,
m68k and powerpc only but I couldn't find any suitable solution.

However, I would assume that passing these flags to the bootstrap build won't hurt
as the second stage is built with -O2 anyway and the above flags are not being used
in this case.

Could you include this patch or a possible better version in the next guile-3.0 upload?

Adrian

> [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45214
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.