Skip to content

main/mesa: add patch to support Adreno A506

Luca Weiss requested to merge lucaweiss/aports:mesa-a506 into master

Needs some testing first, then submit upstream.

Unfortunately local cross-compile build with pmbootstrap failed with errors like the following, so I'm hoping the CI here can help me test it.

[2519/2671] Linking target src/vulkan/overlay-layer/
ninja: job failed: g++  -o src/freedreno/fdl/fd6_layout src/freedreno/fdl/fd6_layout.p/fd_layout_test.c.o src/freedreno/fdl/fd6_layout.p/fd6_layout_test.c.o -flto -Wl,--as-needed -Wl,--no-undefined -pie -Wl,--as-needed,-O1,--sort-common -Os -Wformat -Werror=format-security -g -O2 -g1 -Os -Wformat -Werror=format-security -O2 -g1 -Wl,--start-group src/freedreno/fdl/libfreedreno_layout.a src/util/libmesa_util.a src/util/format/libmesa_format.a src/util/libmesa_util_sse41.a src/c11/impl/libmesa_util_c11.a /lib/ -pthread -lm /usr/lib/ -Wl,--end-group
lto1: internal compiler error: compiler does not support ZSTD LTO compression
0x16c468b internal_error(char const*, ...)
0x9c759f lto_end_uncompression(lto_compression_stream*, lto_compression)
0x9c583f lto_get_section_data(lto_file_decl_data*, lto_section_type, char const*, int, unsigned long*, bool)
0x68e8ff read_cgraph_and_symbols(unsigned int, char const**)
0x67bf77 lto_main()
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <> for instructions.
lto-wrapper: fatal error: /usr/bin/g++ returned 1 exit status
compilation terminated.
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

Merge request reports