[PATCH 1/4] Remove the error handling wrapper from exp and exp2
Gabriel F. T. Gomes
gabriel@inconstante.eti.br
Fri Oct 26 21:18:00 GMT 2018
Hi, Szabolcs.
On Fri, 26 Oct 2018, Szabolcs Nagy wrote:
>
>+/* Work around gas bug "multiple versions for symbol". */
>+weak_alias (__exp_compat, __exp_compat_alias)
If I understood it correctly, you were getting the "multiple versions for
symbol" error, because there were two symbols trying to be compat symbols
for __exp_compat.
>+# if SHLIB_COMPAT (libm, GLIBC_2_0, GLIBC_2_29)
>+compat_symbol (libm, __exp_compat, exp, GLIBC_2_0);
>+# endif
Here.
>+LONG_DOUBLE_COMPAT_CHOOSE_libm_expl (
>+ compat_symbol (libm, __exp_compat_alias, expl, FIRST_VERSION_libm_expl), );
>+# endif
And here, when you were using __exp_compat, instead of __exp_compat_alias.
Right?
I have seen this before, and I have also used a weak_alias to work around
it, but I didn't know it was a bug in gas. Is there a bugzilla item about
this, which I could follow?
More information about the Libc-alpha
mailing list