https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2016-12-02
Resolution|INVALID |---
Ever confirmed|0 |1
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
The problem is that the internal MPX wrapper calls in libmpxwrappers.so:
(gdb) disass
Dump of assembler code for function __mpx_wrapper_memcpy:
=> 0x00007ffff79d1120 <+0>: sub $0x8,%rsp
0x00007ffff79d1124 <+4>: bnd callq 0x7ffff79cfb50
<__mpx_wrapper_memmove@plt>
0x00007ffff79d112a <+10>: add $0x8,%rsp
0x00007ffff79d112e <+14>: bnd retq
End of assembler dump.
(gdb) disass
Dump of assembler code for function __mpx_wrapper_memmove@plt:
=> 0x00007ffff79cfb50 <+0>: jmpq *0x2024c2(%rip) # 0x7ffff7bd2018
0x00007ffff79cfb56 <+6>: pushq $0x0
0x00007ffff79cfb5b <+11>: jmpq 0x7ffff79cfb40
End of assembler dump.