You missed including libstdc++.so.6. I ran with whatever libstdc++ I had lying around.
With qemu head, this terminates with
~/qemu/bld/qemu-aarch64 -L . ./bitfield-2.exe *** stack smashing detected ***: terminated qemu: uncaught target signal 6 (Aborted) - core dumped Aborted
I suspect the relevant MTE portion of this bug report to be a duplicate of a kasan bug, the fix for which did not make 6.0, but has since been committed as 09641ef93112.
You missed including libstdc++.so.6.
I ran with whatever libstdc++ I had lying around.
With qemu head, this terminates with
~/qemu/ bld/qemu- aarch64 -L . ./bitfield-2.exe
*** stack smashing detected ***: terminated
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
I suspect the relevant MTE portion of this bug report
to be a duplicate of a kasan bug, the fix for which did
not make 6.0, but has since been committed as 09641ef93112.