Closed Bug 1885749 Opened 6 months ago Closed 6 months ago

nss-3.90.2 fails to compile on aarch64 with: missing references to faad

Categories

(NSS :: Build, defect)

3.90
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1836781

People

(Reporter: herrtimson, Unassigned)

Details

Attachments

(1 file)

20.20 KB, application/gzip
Details
Attached file build.log.gz

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

I tried to compile nss-3.90.2 on arm64, using gcc

Actual results:

the build fails to link Hacl_Curve25519_64.o with missing references to faad.

this is an example, the errors are very verbose, please check the full build log:

Hacl_Curve25519_64.c:(.text.point_double+0x34): undefined reference to fadd' /usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: Hacl_Curve25519_64.c:(.text.point_double+0x48): undefined reference tofsub'
/usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: Hacl_Curve25519_64.c:(.text.point_double+0x58): undefined reference to fsqr2' /usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: Hacl_Curve25519_64.c:(.text.point_double+0x8c): undefined reference tofsub'
/usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: Hacl_Curve25519_64.c:(.text.point_double+0xa0): undefined reference to fmul_scalar' /usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: Hacl_Curve25519_64.c:(.text.point_double+0xb0): undefined reference tofadd'
/usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: Hacl_Curve25519_64.c:(.text.point_double+0xd4): undefined reference to fmul2' /usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: Linux4.19_aarch64_aarch64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/Hacl_Curve25519_64.o: in functionpoint_add_and_double':

Expected results:

I expect to get some nice nss binaries and libs

This only affects the nss-3.90.x branch, anything having a higher number (>=3.91) is not affected.

This is a dupe of bug 1836781, which was indeed fixed in NSS 3.91. Probably wouldn't be unreasonable to ask for a backport to the 3.90 branch for the next release shipped from there, but you can apply the patch locally in the mean time at least.

Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Duplicate of bug: 1836781
Resolution: --- → DUPLICATE

where and how can I ask for a backport, please? I'm not very good at this bugzilla magic :)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: