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


User sb changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Tue Apr  1 07:45:01 +0000 
2008 -------
This appears to be a GCC 4.0.1 optimization error on Mac OS X PPC:

Instrumenting the code, you can observe that _file:good() reports true right
before the call to writeOut at
xmlhelp/source/com/sun/star/help/HelpLinker.cxx:1.12 l. 954 (add
'std::cerr<<_file:good()<<"\n";' at the start of that line) but out.good() to
report false right at the start of writeOut at HelpLinker.cxx l. 537 (add
'std::cerr<<out.good()<<"\n"; at the end of that line).  Probably, the effects
of the (probably inlined) call to _file.clear() at HelpLinker.cxx l. 868 are
kept in a register and not written back to memory before the call to
bl.writeOut(_file) at HelpLinker.cxx l. 954 (assuming that the intervening call
to BlockManager::writeBlock is also inlined).  The problem disappears at lower
optimization levels and Also does not seem to appear in any other
platform/toolchain scenario (esp. not in a corresponding Mac OS X Intel GCC
4.0.1 environment).

Fixed by compiling HelpLinker.cxx as NOOPTFILES,
xmlhelp/source/com/sun/star/help/makefile.mk:1.32.6.1.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to