https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
Martin Liška changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #15 from Martin Liška ---
(In reply to Ilya Enkovich from comment #13)
> (In reply to Alexander Ivchenko from comment #12)
> > Fixed with r243942
>
> It should be backported to GCC6.
I would be happy to backport that, however the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #13 from Ilya Enkovich ---
(In reply to Alexander Ivchenko from comment #12)
> Fixed with r243942
It should be backported to GCC6.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
Alexander Ivchenko changed:
What|Removed |Added
CC||aivchenk at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #11 from Ilya Enkovich ---
(In reply to H.J. Lu from comment #10)
>
> MPX wrapper library isn't built with -z bndplt since it doesn't call
> external functions with bounds. But some internal functions, which
> need bounds, are
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
H.J. Lu changed:
What|Removed |Added
Status|REOPENED|NEW
--- Comment #10 from H.J. Lu ---
(In
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #9 from Ilya Enkovich ---
(In reply to H.J. Lu from comment #8)
>
> MPX wrapper library doesn't call external functions with bounds
> and there is no need to use PLT to call internal functions within
> MPX wrapper library.
It
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #8 from H.J. Lu ---
(In reply to Ilya Enkovich from comment #7)
> (In reply to H.J. Lu from comment #6)
> > -z bndplt is needed to call external functions with bounds. But
> > it isn't needed for internal function calls.
>
> That
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #7 from Ilya Enkovich ---
(In reply to H.J. Lu from comment #6)
> -z bndplt is needed to call external functions with bounds. But
> it isn't needed for internal function calls.
That doesn't explain why we need a hack you propose.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #6 from H.J. Lu ---
(In reply to Ilya Enkovich from comment #5)
> (In reply to H.J. Lu from comment #3)
> > The problem is that the internal MPX wrapper calls in libmpxwrappers.so:
> Why doesn't call go through bndplt? Users might
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #5 from Ilya Enkovich ---
(In reply to H.J. Lu from comment #3)
> The problem is that the internal MPX wrapper calls in libmpxwrappers.so:
Why doesn't call go through bndplt? Users might use similar code in their
libraries and expect
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #4 from H.J. Lu ---
Created attachment 40232
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40232=edit
A patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
H.J. Lu changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
--- Comment #2 from Dmitrii Kuvaiskii ---
(In reply to Ilya Enkovich from comment #1)
> PLT section is generated by linker. To have MPX friendly PLT you have to
> have MPX enabled linker supporting '-z bndplt'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631
Ilya Enkovich changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
16 matches
Mail list logo