Closed Bug 1847845 Opened 9 months ago Closed 8 months ago

[ppc64] sha512-p8.o: ABI version 2 is not compatible with ABI version 1 output

Categories

(NSS :: Build, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

Building Firefox for ppc64 (big-endian) fails with:

[task 2023-08-04T06:48:39.482Z] 06:48:39     INFO -  /builds/worker/fetches/binutils/bin/ld.bfd: /builds/worker/workspace/obj-build/security/nss/lib/freebl/freebl_freeblpriv3/../freebl_gcm-aes-ppc_c_lib/sha512-p8.o: ABI version 2 is not compatible with ABI version 1 output
[task 2023-08-04T06:48:39.482Z] 06:48:39     INFO -  /builds/worker/fetches/binutils/bin/ld.bfd: failed to merge target specific data of file /builds/worker/workspace/obj-build/security/nss/lib/freebl/freebl_freeblpriv3/../freebl_gcm-aes-ppc_c_lib/sha512-p8.o

This is because the gyp config doesn't check anything about the ABI in use, contrary to the equivalent Makefile:
https://searchfox.org/nss/rev/a9928ea43c27da7a25476c07a60fe4779b44f81a/lib/freebl/Makefile#307-309
vs.
https://searchfox.org/nss/rev/a9928ea43c27da7a25476c07a60fe4779b44f81a/lib/freebl/freebl.gyp#290-294

Assignee: nobody → mh+mozilla
Status: NEW → RESOLVED
Closed: 8 months ago
Flags: needinfo?(mt)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: