[Bug 280120] www/firefox: 128.0 fails to build on aarch64
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280120] www/firefox: 128.0 fails to build on aarch64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Jul 2024 08:35:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280120
--- Comment #3 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to Paul Floyd from comment #2)
`make patch` in www/firefox:
diff work/firefox-128.0/gfx/skia/skia/src/core/SkCpu.cpp.orig
work/firefox-128.0/gfx/skia/skia/src/core/SkCpu.cpp
85a86,101
> #elif
> #include <machine/armreg.h>
> #ifndef ID_AA64ISAR0_CRC32_VAL
> #define ID_AA64ISAR0_CRC32_VAL ID_AA64ISAR0_CRC32
> #endif
>
> static uint32_t read_cpu_features() {
> uint32_t features = 0;
> uint64_t id_aa64isar0;
>
> id_aa64isar0 = READ_SPECIALREG(id_aa64isar0_el1);
> if (ID_AA64ISAR0_CRC32_VAL(id_aa64isar0) == ID_AA64ISAR0_CRC32_BASE) {
> features |= SkCpu::CRC32;
> }
> return features;
> }
It seems that patch is applied
--
You are receiving this mail because:
You are the assignee for the bug.