Issue 15854 - sc filter lotus compiler error sparc linux gcc-3.2.2 building 1.1beta2
Summary: sc filter lotus compiler error sparc linux gcc-3.2.2 building 1.1beta2
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: Other Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 17420
  Show dependency tree
 
Reported: 2003-06-20 12:56 UTC by sparcmoz
Modified: 2003-12-31 10:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
remove optimization to complie lotus filter (613 bytes, patch)
2003-06-20 12:57 UTC, sparcmoz
no flags Details | Diff
improved-lotus.patch (688 bytes, patch)
2003-07-25 08:07 UTC, sparcmoz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2003-06-20 12:56:05 UTC
using:   
cws_srx644_ooo11beta2
sparc linux debain unstable but 
binutils 2.14.90.0.4 20030523 Debian GNU/Linux
gcc-3.2.2 compiled from source

this error:
In file included from ../../../inc/document.hxx:95,
                 from ../inc/tool.h:66,
                 from
/home/jim/oo_1.1beta2_src/sc/source/filter/lotus/lotform.cxx:77:
../../../inc/tabopparams.hxx:124: warning: ISO C++ forbids declaration of
`operator==' with no type
../../../inc/refdata.hxx: In member function `void
LotusToSc::ReadSRD(SingleRefData&, unsigned char)':
../../../inc/refdata.hxx:125: Internal compiler error in emit_move_insn, at
expr.c:2771
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
dmake:  Error code 1, while making '../../../unxlngs.pro/slo/lotform.obj'
---* TG_SLO.MK *---
 
ERROR: Error 65280 occurred while making
/home/jim/oo_1.1beta2_src/sc/source/filter/lotus
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
You have new mail in /var/mail/jim
jim@sun:~/oo_1.1beta2_src$

I understand this is  a compiler error, but to get the build done for
filter/lotus i did unset the complier optimisation flag from -O1 to be nothing
just for lotus.this error was not seen when building with gcc-3.3 (but could not
link sc with that one)

my patch is attached.
Comment 1 sparcmoz 2003-06-20 12:57:30 UTC
Created attachment 7012 [details]
remove optimization to complie lotus filter
Comment 2 pavel 2003-06-29 14:37:06 UTC
I think you should report it to GCC developers and put a link here so
we can track it.
Comment 3 sparcmoz 2003-07-25 08:07:56 UTC
Created attachment 8016 [details]
improved-lotus.patch
Comment 4 rene 2003-08-04 11:13:10 UTC
jup. I can confirm this with 1.1rc

I sent a bugreport to the Debian BTS a few days ago
(http://bugs.debian.org/203317);
I think Matthias will forward it upstream or
mark it as forwarded to an existing bugreport...
Comment 5 sparcmoz 2003-08-04 13:13:08 UTC
sparc linux retarget to ooo2
Comment 6 sparcmoz 2003-08-08 11:41:59 UTC
there was an ICE for gcc-3.2.3 sc/source/filter/lotus/lotform.cxx
this problem has been fixed by using gcc-3.3

gcc-3.2.3 is not officially supported for OOo so this issue is closed.
Comment 7 sparcmoz 2003-12-31 10:01:29 UTC
compiler error - fixed - closed