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]>
> 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
> 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/libmpi_java.so.1.2.0 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'.
> 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
> users mailing list
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: http://www.open-mpi.org/community/lists/users/2014/07/24871.php
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/