For all interested in this thread: Patch in PR 112490 by John Baldwin solves this problem (and it's a solution, not a workaround). I hope it gets committed soon :)