https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459
--- Comment #5 from Andres Takach <andres_takach at mentor dot com> --- Works in 8.3.0. Needed to use lib64 to link, otherwise was picking up earlier version of the library that had the bug. Version 6.2.0 (as first reported) does have the bug.