Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This is one the problem with my gcc build on Solaris box. I think this option is enabled and it produces crashes when a native library throws an exception throw JNI. However, this behaviour is only visible on 64 bit build, where as on 32-bit it works perfectly fine.
The program fails during the dynamic linking of "_Unwind_RaiseException". Should I again built the gcc compiler with disabling this option "libunwind-exceptions" ? what is your suggestion ?
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Probably not a good idea to replace the default compiler.
Suggest : Use a configure line like ...
../gcc-4.1.2/configure --prefix=/usr/local/gcc41 --program-suffix=41 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --with-system-zlib --disable-libunwind-exceptions
Then link the new binaries gcc41, g++41 to /usr/bin/
We built the compiler again with '--disable-libunwind-exceptions' and still it crashes. Could it be related with Solaris libraries as the libc.so , i think, is provided by Solaris box ? Please correct me if I am wrong.
Have you ever faced this situation like getting these crashes in functions "Unwind_Raise_Exceptions" in system libraries ? Why this is happening only with 64-bit built libraries ? Could it be related with JDK version ? I will soon post the source code too so that if anyone has access to Solaris box can run the example on their own.