Re: [tcljava-user] make install - 'Testing installed program' fails
Brought to you by:
mdejong
From: Mo D. <mo...@mo...> - 2008-12-13 22:57:26
|
Mo DeJong wrote: > Fra...@ti... wrote: > >> Hi! >> >> Sorry but we can't get it work. >> Hey folks, I though I would post a quick note about the problem Frank was running into in case this bug was biting anyone else. The real cause of the problem is gcc 4.X and the strict-aliasing option enabled by -O2. This is one of those "is is a bug or a feature" things, the way to work around the problem is to either remove the -O2 option from the CFLAGS in the generated Makefile, or add -fno-strict-aliasing to the CFLAGS in the generated Makefile. I checked a patch (SF Patch 2424551) into the CVS to fix this issue (it should also fix other platforms where gcc is not the default compiler). so, if you are running into a crash when doing "package require java" in Tcl Blend, then make sure that gcc 4.X is building with this -fno-strict-aliasing flag. cheers Mo DeJong |