Apache OpenOffice (AOO) Bugzilla – Issue 22932
compiler optimisation runtime errors
Last modified: 2013-08-07 15:13:02 UTC
Attached are patches for calc for linux sparc. sc/source/core/data/conditio.cxx sc/source/filter/excel/xiescher.cxx Runtime errors caused by compiling with optimisation. These errors were found using qatesttool see issue 19750 patch made using cvs diff -u in module sc patch -p0 < sc.diff Also removes a comment that was inserted by a previous patch.
Created attachment 11583 [details] fix runtime errors
Hi Niklas, one for you. Frank
Adjusting target milestone
Reassigning to Eike. Not sure if there are really that many independent problems, or if there's a common cause that should be found and fixed instead.
i have a plan, but it is slow because i do not have much time. the debian package for linux sparc is nearly ready and then we might get some more helpers since i think debian is where most linux sparc users are lurking. (a) these problems go away if i compile with no optimisation. (b) -O1 is enough to cause these problems. (c) i compile with -O3 hoping that will force more problems to be revealed. (d) that might help find a common factor, (e) next step is for porting (me) to try and isolate the code where the problems exist in each cases, i will try and do this in my xmas holiday (f) meanwhile the current patch is needed to get calc through qatesttool
Patch accepted. However, as Niklas already stated, I also think there probably will be some common cause. The whole thing resembles much the -fno-strict-aliasing problem we encountered (by enabling optimizations without specifying that switch, which crashed in accessing the "casted offsets" of ScAddress). Btw: As all the other Linux SPARC patches went into some OOo1.1.1 branch, shouldn't this one also go there? Currently it's targeted to OOo2.0
jim@sun:~$ locale -a C en_US en_US.iso88591 POSIX jim@sun:~$
sorry ignore that
Hi Jim, Will do ;-) However, what about my comment if OOo1.1.x wouldn't be the proper target instead of OOo2.0? Eike
I would be happy to see this done in 1.1.x thank you. There is one more of these (ouch) at issue 23229, i am not sure the correct steps to send it to you.
Align target with other Linux SPARC patches, OOo1.1.1
On branch cws_fix645_ooo111fix2 sc/source/core/data/makefile.mk 1.6.260.1.38.1.2.1 sc/source/filter/excel/makefile.mk 1.18.80.1.2.1.2.1
verified in 112fix1, i will close this one and make a new issue some day to investigate the optimisation problem.
closed
Created attachment 73530