For OO 2.0 "-Os -fno-strict-aliasing" should be used for compiling. See Issue 57790 at openoffice.org. The optimization leads e.g. to wrong handled data from imported excel sheets.
*** This bug has been marked as a duplicate of 112655 ***