maintainer-feedback requested: [Bug 296089] graphics/mesa-libs: build of 26.0.6 fails on i386

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 296089: graphics/mesa-libs:  build of 26.0.6 fails on i386
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296089



--- Description ---
During the build on i386 using poudriere, panfrost_compile will fail to compile
shaders for some versions(?) yet not all:

[ 41% 1082/2600]
/wrkdirs/usr/ports/graphics/mesa-libs/work/mesa-26.0.6/_build/src/panfrost/clc/
panfrost_compile
libpan_shaders 9 src/panfrost/libpan/libpan_v9.spv
src/panfrost/libpan/libpan_shaders_v9.h src/panfrost/libpan/libpan_shaders_v9.c
FAILED: [code=262] src/panfrost/libpan/libpan_shaders_v9.h
src/panfrost/libpan/libpan_shaders_v9.c
/wrkdirs/usr/ports/graphics/mesa-libs/work/mesa-26.0.6/_build/src/panfrost/clc/
panfrost_compile
libpan_shaders 9 src/panfrost/libpan/libpan_v9.spv
src/panfrost/libpan/libpan_shaders_v9.h src/panfrost/libpan/libpan_shaders_v9.c
<jemalloc>: jemalloc_rtree.c:205: Failed assertion: "!dependent || leaf !=
NULL"

Others, such as v6 and v10, will succeed.

The workaround I used was to tweak jemalloc to disable junk filling: 
MAKE_ENV+=     MALLOC_CONF="junk:false"

I do not know if these to be used henceforth, or does a later version of mesa
fix the issue.	I could not find any issues or commits in the mesa repo about
this but could easily have missed it.
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.