[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1017961: mozjs102: Fails to build on armel



On Tue, 23 Aug 2022 at 10:07:47 +0100, Simon McVittie wrote:
> On Mon, 22 Aug 2022 at 20:25:17 -0400, Jeremy Bicha wrote:
> > I did notice this repeatedly in the build log:
> > 
> > {standard input}: Assembler messages:
> > {standard input}: Error: selected processor does not support `dmb sy'
> > in ARM mode
> > {standard input}: Error: selected processor does not support `ldrexb
> > r0,[r1]' in ARM mode
> > {standard input}: Error: selected processor does not support `strexb
> > r3,r2,[r1]' in ARM mode
> 
> I think the answer might be to switch to the fallback atomics
> implementation on armel. I'm testing a patch on amdahl, but it's going
> to take a while to get a result.

I tried the attached patch and the build gets a lot further, but then
the final link fails for the same reason that I described in #1017979
(which is not a regression in mozjs102, mozjs91 has the same failure).

As a result of the final link failing, I don't know whether tests will
pass with this patch.

The next thing I'm going to try is using gcc 11 on armel as a workaround
for #1017979.

    smcv


Reply to: