On Sun, Feb 05, 2017 at 01:08:36AM +0100, Shiz wrote: > > > Then I applied Shiz's patch to src/ldso/s390x/dlsym.s : > > http://txt.shiz.me/M2Y5NGI3Ym > > > > and I got a segfault when running gcc on Alpine s390x chroot (built using a cross-compiler). > > Note that I know absolutely nothing about S/390 assembly, and this was just an outline of > how such a file would look like from my very quick skimming of the S/390 ABI and assembly > manuals. :P Someone with more knowledge of S/390 stuff should take a proper look at it. > > - Shiz Can you try the attached patch?