Sunday, September 15, 2024

Re: Chromium tabs immediately SIGSEGV on arm64

On Sun, Sep 15, 2024 at 07:57:09PM +1000, Jonathan Gray wrote:
> On Sun, Sep 15, 2024 at 11:37:18AM +0200, Caspar Schutijser wrote:
> > Hi,
> >
> > On my M1, tabs in Chromium immediately show "Aw, Snap!" with
> > "Error code: SIGSEGV" when a tab is opened (so also immediately on the
> > first tab that's opened when starting the browser, without any
> > interaction beyond starting the browser). This applies to all three
> > Chromium variants that are available in the ports tree. Below is
> > console output of Chromium, a part of the ktrace dump
> > (surrounding the SIGSEGVs), the versions of the Chromium browsers
> > that I currently have on my system, and a dmesg.
> >
> > A couple of weeks ago (perhaps 2 or 3 weeks ago) they were still working
> > fine. Let me know if I can provide more information.
> >
> > Caspar
>
> ..
>
> > chrome:/usr/X11R6/lib/libvulkan_radeon.so: undefined symbol 'blake3_hash_many_neon'
>
> untested diff for that

fixes undefined symbol but still SIGSEGVs on M1

>
> Index: lib/mesa/mk/libblake3/Makefile
> ===================================================================
> RCS file: /cvs/xenocara/lib/mesa/mk/libblake3/Makefile,v
> diff -u -p -r1.1 Makefile
> --- lib/mesa/mk/libblake3/Makefile 2 Apr 2024 10:42:12 -0000 1.1
> +++ lib/mesa/mk/libblake3/Makefile 15 Sep 2024 09:50:19 -0000
> @@ -13,6 +13,8 @@ SRCS+= blake3_sse2_x86-64_unix.S \
> blake3_sse41_x86-64_unix.S \
> blake3_avx2_x86-64_unix.S \
> blake3_avx512_x86-64_unix.S
> +.elif ${MACHINE_ARCH} == "aarch64"
> +SRCS+= blake3_neon.c
> .endif
>
> .include "../Makefile.inc"
>
>

No comments:

Post a Comment