I think it's just libmpi_java that needs that linker flag, so it shouldn't 
affect anyone else

On Jul 25, 2014, at 8:59 AM, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote:

> 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.gr...@informatik.hs-fulda.de>
>> Subject: [OMPI users] missing link option for openmpi-1.8.2rc2 on Linux
>> Date: July 25, 2014 at 2:44:48 AM EDT
>> To: <us...@open-mpi.org>
>> Reply-To: Siegmar Gross <siegmar.gr...@informatik.hs-fulda.de>, Open MPI 
>> Users <us...@open-mpi.org>
>> 
>> 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/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'.
>> 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
>> us...@open-mpi.org
>> 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
> 
> 
> -- 
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to: 
> http://www.cisco.com/web/about/doing_business/legal/cri/
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2014/07/15267.php

Reply via email to