Re: [tcljava-user] building with gcc 4.1?
Brought to you by:
mdejong
From: Scott S. <ss...@am...> - 2006-12-11 18:21:03
|
It IS gcc 4. I built gcc 3.4.6 (on SLED 10) in /usr/local/bin and built Tcl and TclBlend with that.... it worked fine. I also tried it on Ubuntu. Ubuntu comes with 4 gccs... 3.3, 3.4, 4.0, 4.1... 3.4 works fine, the default of 4.1 doesn't. I can only imagine that JNI has problems with the mix of Java compiled with 3.X and the Tcl stuff compiled with 4.X. Hope this helps people. I'm sure it will all work someday, but I'm not sure it will work before Java (from Sun) is compiled with gcc 4? Other probably understand all this better... -Scott On 12/11/06 10:48, Sebastian Busch wrote: > Hi Scott, > > It seems as though after I compile tcl, tclblend, and install jdk 1.5 on a SuSE 10.1 box it has problems. During "package require java" I get a hot spot error. The only thing that I can think of that is "special" about SuSE 10.1 is that it uses gcc 4.1. Has anyone attempted using gcc 4.1 to build tcl and tclblend? Did it work? Thanks, Scott > > its the same for me(SuSE 10.1 as well), I tried some JDKs (gcj, sun, 1.4.2, 1.5.0) but ran into the same error you described. > > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGSEGV (0xb) at pc=0xb7ee48bd, pid=21797, tid=3083818672 > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2_11-b06 mixed mode) > # Problematic frame: > # C [libtcl8.4.so+0x6e8bd] Tcl_GetCurrentNamespace+0xd > > Maybe I try to compile with an 3.x version of gcc later. > > Have a nice day, > > Sebastian Busch > |