https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104363
John David Anglin <danglin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danglin at gcc dot gnu.org --- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> --- For context, see: https://github.com/smuellerDD/libkcapi/issues/133#issuecomment-1024349323 Note that the following commit fixes the symbol issue on hppa with gcc-11: https://github.com/smuellerDD/libkcapi/commit/71d80bcffca26373149121e026d612146b4695d5 The patch predates the hppa issue and it doesn't have anything to do with hppa. It does mention -flto but this doesn't seem to apply here. As far as I remember, support for symbol versioning is done in generic code. If I was to guess, I suspect the problem is with asm. Maybe a '\t' is needed before .symver on hppa. The hppa assembler wants white space before directives.