nss-3.90.2 fails to compile on aarch64 with: missing references to faad
Categories
(NSS :: Build, defect)
Tracking
(Not tracked)
People
(Reporter: herrtimson, Unassigned)
Details
Attachments
(1 file)
20.20 KB,
application/gzip
|
Details |
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 to
fsub'
/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 to
fsub'
/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 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+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 function
point_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.
Comment 1•6 months ago
|
||
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.
where and how can I ask for a backport, please? I'm not very good at this bugzilla magic :)
Description
•