To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94421


User cloph changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'cloph,foral,loria,mechtil|'cloph,foral,loria,macport
                        |de'                       |,maho,mechtilde'
--------------------------------------------------------------------------------
             Assigned to|macport                   |sb
--------------------------------------------------------------------------------
              Issue type|DEFECT                    |PATCH
--------------------------------------------------------------------------------




------- Additional comments from cl...@openoffice.org Wed Aug 26 17:03:47 +0000 
2009 -------
@sb - could you look into the patch please? You did help with Mac OSX bridges
code in the past, so you can tell whether there is a better solution or not.

According to http://bugzilla.neooffice.org/bug.php?op=show&bugid=3424 the
problem is a compiler bug. They did fix it early this year, but didn't bother to
submit their fix upstream :-/
http://anoncvs.neooffice.org/cgi-bin/cvsweb/neojava/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx

Index: source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx
===================================================================
--- source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx      (revision 275355)
+++ source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx      (working copy)
@@ -110,6 +110,10 @@
      /* set up a pointer to the stack parameter area */
      __asm__ ( "addi %0,r1,24" : "=r" (p) : /* no inputs */ );
 
+     // #i94421# 
+     volatile long *pCopy = p;
+     // otherwise unused-variable-warning
+     pCopy = pCopy;
 
      // never called
      // if (! pAdjustedThisPtr
)CPPU_CURRENT_NAMESPACE::dummy_can_throw_anything("xxx"); // address something


(the pCopy = pCopy; line is my addition, for not breaking Werror build)

This change indeed fixes the crasher here, so setting type to PATCH

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to