Bug#1029167: mozjs78: Fails to build on armhf and armel

Emanuele Rocca ema at debian.org
Wed Mar 15 10:50:39 GMT 2023


Control: tags -1 + patch

Hi Simon,

On 2023-03-13 04:42, Simon McVittie wrote:
> The other possible route for fixing mozjs78's build on armhf and armel
> is to locate whatever fixes in ICU made it link successfully on armhf
> and armel, and backport those to the version of ICU that is vendored by
> mozjs78. I would expect this to be the easier route, and almost certainly
> a smaller diff to present to the release team, with a correspondingly
> smaller regression risk for mozjs78/cjs/Cinnamon.

I agree that this route seems indeed easier to follow. However, I could
not see any big difference between libicu-dev and the ICU version
vendored in mozjs78. I suspect the difference is possibly not in the
code itself but rather static vs dynamic linking.

There's this old GCC regression that looks similar to the issue we have
here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61536 

Motivated by this, I've tried to build mozjs78 with GCC 11 instead of
12, and it *did* build successfully. My proposal is thus to build
mozjs78 with GCC 11 on armhf and armel, see attached patch. Meanwhile
I'll try to write a smaller repro for the GCC regression and investigate
that separately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mozjs78.diff
Type: text/x-diff
Size: 1646 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20230315/715447b0/attachment-0001.diff>


More information about the pkg-gnome-maintainers mailing list