[Bug target/85915] -mfunction-return=thunk causes multiple definition of `__x86_return_thunk'
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri May 25 11:59:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85915
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-05-25
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #0)
>
> I use glibc-2.27, binutils-2.30.
> Most of my system (including glibc) was compiled with GCC 7.3.0 with CFLAGS
> / CXXFLAGS including -mfunction-return=thunk -mindirect-branch=thunk
> -mindirect-branch-register.
> I suspect that this bug might be reproducible only when glibc was compiled
> with -mfunction-return=thunk.
Please recompile glibc with GCC 8.1.
More information about the Gcc-bugs
mailing list