Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppressing Linux x86 Java 7u40+ warning about disabled stack guard #35

Open
jprante opened this issue Nov 30, 2013 · 4 comments
Open

Comments

@jprante
Copy link

jprante commented Nov 30, 2013

Sigar lib causes warnings on latest HostSpot JVM:

Java HotSpot(TM) Server VM warning: You have loaded library .../libsigar-x86-linux.so 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 ', or link it with '-z noexecstack'.

Is it possible to provide recompiled Linux binaries that do not cause these warning messages?

@liaicheng
Copy link

have you solved it? could you show me the way? thanks~!

@jprante
Copy link
Author

jprante commented Jan 31, 2015

See pull request #53

You can apply the patch and then run

./autogen.sh
./configure
make

Then, replace old sigar lib file with ./src/.libs/libsigar.so.0.0.0

@Groostav
Copy link

@jprante has this fix been pushed into a maven release of sigar?

@jprante
Copy link
Author

jprante commented Aug 17, 2015

Pull request #53 is still open, beside many others. And for a long time now, I can not see a new sigar release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants