Re: pkg/60072: x11/xfce4-screeshooter crash on RaspberryPi 4

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] ("Ramiro Aceves via gnats") writes:

> It seems to fix placing this in multimedia/libaom Makefile:
> 
> CMAKE_CONFIGURE_ARGS+=	-DENABLE_NEON_DOTPROD=0


"NEON_DOTPROD" uses the Armv8.2-DotProd extension that is not supported
by the Cortex A72 cores in the rpi4.

libaom does have runtime checks to select appropriate code paths
for different Arm CPUs, but it is disabled in the package Makefile
for some reason:

.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) \
  || !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64*) \
  || !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
CMAKE_CONFIGURE_ARGS+=  -DCONFIG_RUNTIME_CPU_DETECT=0
.endif

Make that should be reviewed.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.