gcc: on alpine/edge causes internal error
Likely related to: https://git.alpinelinux.org/aports/commit/?id=4592d806b9c8832895c32aeb53936b345b04b500
https://pkgs.alpinelinux.org/package/edge/main/x86_64/gcc 12.2.1_git20220924-r7
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
lto-wrapper: warning: Extra option to '-Xassembler': --noexecstack, dropping all '-Xassembler' and '-Wa' options.
during IPA pass: static-var
lto1: internal compiler error: original not compressed with zstd
0x18df117 internal_error(char const*, ...)
???:0
0x9d23da lto_end_uncompression(lto_compression_stream*, lto_compression)
???:0
0x9d09a0 lto_get_section_data(lto_file_decl_data*, lto_section_type, char const*, int, unsigned long*, bool)
???:0
0x94ae28 symbol_table::remove_unreachable_nodes(_IO_FILE*)
???:0
0x68e897 read_cgraph_and_symbols(unsigned int, char const**)
???:0
0x67ab02 lto_main()
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gitlab.alpinelinux.org/alpine/aports/-/issues> for instructions.