[Bug 280120] www/firefox: 128.0 fails to build on aarch64

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Jul 2024 09:59:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280120

--- Comment #4 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(...)

original file around line 86:

#elif defined(SK_CPU_LOONGARCH)
    #include <sys/auxv.h>
    static uint32_t read_cpu_features(void)
    {
        uint64_t features = 0;
        uint64_t hwcap = getauxval(AT_HWCAP);

        if (hwcap & HWCAP_LOONGARCH_LSX)  { features |= SkCpu::LOONGARCH_SX; }
        if (hwcap & HWCAP_LOONGARCH_LASX) { features |= SkCpu::LOONGARCH_ASX; }

        return features;
    }
#else
    static uint32_t read_cpu_features() {
        return 0;
    }
#endif

-- 
You are receiving this mail because:
You are the assignee for the bug.