...
OK, I found a workaround, as attached.
It feels a bit like a hack, but seems to do what is expected.
Cheers,
Mark
From 60f18cd09d771eceb8762af2c46f27ae75b72422 Mon Sep 17 00:00:00 2001
From: Mark Wielaard
Date: Wed, 8 Apr 2020 16:11:41 +0200
Subject: [PATCH] lib: Use attribute symver when available to de
Hi,
On Fri, 2020-04-10 at 21:42 +0200, Mark Wielaard wrote:
> GCC 10 introduces a function attribute to define symbol versioning.
> Add a configure check to see if __attribute__((symver)) is supported.
> If it is then define the OLD_VERSION, NEW_VERSION, COMPAT_VERSION
> and COMPAT_VERSION_NEWPROT
GCC 10 introduces a function attribute to define symbol versioning.
Add a configure check to see if __attribute__((symver)) is supported.
If it is then define the OLD_VERSION, NEW_VERSION, COMPAT_VERSION
and COMPAT_VERSION_NEWPROTO macros using just attribute symver,
attribute alias and typeof func