Open Bug 1724629 Opened 3 years ago Updated 2 years ago

fix sha256-armv8 build failure on Aarch64 Big Endian

Categories

(NSS :: Build, defect, P5)

3.68

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: giulio.benetti, Unassigned)

Details

(Whiteboard: [nss-nofx])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Steps to reproduce:

Build for Aarch64 Big Endian.

Actual results:

http://autobuild.buildroot.net/results/6c78efd8af401cd19635ea91f20e33cdf55691b7/build-end.log

Also, is it correct that sha256 acceleration on armv8 is valid only for LITTLE_ENDIAN? Or is it valid for BIG_ENDIAN too?
I can test it since I don't have a target for it. Can you please clarify?

Thanks a lot

Unfortunately this is not happening on a supported architecture and we have no hardware to reproduce, we would gladly accept a patch if you can work on this. About the acceleration, from the code, it looks like it should work as well on big endian if this double definition is fixed.

Severity: -- → N/A
Priority: -- → P5
Whiteboard: [nss-nofx]
Severity: N/A → S4

I don't even have a supported machine. Anyway another contributor in Buildroot fixed the problem 1 assuming it is compatible for both BIG and LITTLE Endian and works fine. So we should be done with this.

Best regards

Nice, thanks for pointing to this, we'll integrate that change.

Great, look forward to see it committed.

Best regards

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

Attachment

General

Created:
Updated:
Size: