Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Fwd: [OMPI users] missing link option for openmpi-1.8.2rc2 on Linux
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-07-25 11:59:40

OMPI developers --

Is "-z noexecstack" a linker option we should test for in configure, and use it if it works?

Are there any side effects that could cause problems?

Begin forwarded message:

> From: Siegmar Gross <Siegmar.Gross_at_[hidden]>
> Subject: [OMPI users] missing link option for openmpi-1.8.2rc2 on Linux
> Date: July 25, 2014 at 2:44:48 AM EDT
> To: <users_at_[hidden]>
> Reply-To: Siegmar Gross <Siegmar.Gross_at_[hidden]>, Open MPI Users <users_at_[hidden]>
> Hi,
> I installed openmpi-1.8.2rc2 on "openSUSE Linux 12.1 x86_64"
> with Sun C 5.12 and get the following warning if I run a small
> Java program. I get no warning for my gcc-4.9.0 version of
> openmpi-1.8.2rc2.
> linpc1 java 109 mpiexec -np 1 java InitFinalizeMain
> Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library
> /usr/local/openmpi-1.8.2_64_cc/lib64/ which
> might have disabled stack guard. The VM will try to fix the stack
> guard now.
> It's highly recommended that you fix the library with
> 'execstack -c <libfile>', or link it with '-z noexecstack'.
> Hello!
> linpc1 java 110
> I would be grateful if somebody can add the link option
> '-z noexecstack' to omit the warning. Thank you very much for
> your help in advance.
> Kind regards
> Siegmar
> _______________________________________________
> users mailing list
> users_at_[hidden]
> Subscription:
> Link to this post:

Jeff Squyres
For corporate legal information go to: