https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91035
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- As far as I know I don't have access to an S/390 system. Anything you can do to narrow down the problem would be helpful. Like, for example, which function has the undefined reference?