Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Fwd: [OMPI users] missing link option for openmpi-1.8.2rc2 on Linux
From: Ralph Castain (rhc_at_[hidden])
Date: 2014-07-25 12:02:00


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) <jsquyres_at_[hidden]> 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.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/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
>> users_at_[hidden]
>> 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
> jsquyres_at_[hidden]
> For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> 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