http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47435
bsreram85 at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bsreram85 at gmail dot com --- Comment #7 from bsreram85 at gmail dot com 2012-06-13 13:45:47 UTC --- Any updates? Am using 64-bit linux (openSuse 12.1 with gcc 4.6.2). I don't have any errors while compilation and linking except for the fact i am forced to use -fpic flag (Strange that am able to compile without fpic flag in Windows and Mac 64-bit PCs). However when i call the dll from my java application, the application crashes specifying, the crash is due to SIGSEGV. #Partial Log from JRE crash stack trace A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007f276b22c9ac, pid=7032, tid=139807285987072 JRE version: 6.0_24-b24 Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops) Further more when i view the thread status, it specifies the error to be in SEGV_MAPERR. #Further Log from JRE crash stack trace --------------- T H R E A D --------------- Current thread (0x00007f278c2be000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=7049, stack(0x00007f276b8e4000,0x00007f276b9e5000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000740a9700 Any solution in the near for this? Am not sure whether this is the reason behind my java crash, however, the logs from Java indicate so. Thanks, Sreram