https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65602

--- Comment #3 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
Created attachment 35162
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35162&action=edit
patch to fix mpx target check and alloca usage

(In reply to r...@cebitec.uni-bielefeld.de from comment #2)
> I suppose because it only links with -lmpx on Linux/x86: this only
> happens in gcc/config/i386/linux-common.h, but not for other x86
> targets.
> 
>       Rainer

I see.  Attached is a patch which checks wrappers are linked.  It also fixes
alloca tests.  Unfortunately I can only check it doesn't regress on Linux. 
Could you please check it helps on Solaris/x86?

Reply via email to