ice trying to build openoffice backport on jaunty

Bug #427829 reported by Oliver Grawert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.3 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: gcc-4.3

building the openoffice backport from

https://launchpad.net/~openoffice-pkgs/+archive/ppa in an armel jaunty chroot dies with the following error:

make[3]: Entering directory `/openoffice.org-3.1.1/ooo-build/build/OOO310_m19/icu/unxlngr.pro/misc/build/icu/source/i18n'
g++ -D_REENTRANT -I. -I../common -DU_I18N_IMPLEMENTATION -O -fvisibility=hidden -c -o rematch.ao rematch.cpp
rematch.cpp: In member function 'void icu_4_0::RegexMatcher::MatchAt(int32_t, UBool, UErrorCode&)':
rematch.cpp:2785: error: unrecognizable insn:
(insn 4314 1673 1674 182 rematch.cpp:1949 (set (reg:SI 2 r2)
        (plus:SI (reg:SI 3 r3 [1111])
            (mult:SI (reg/v:SI 12 ip [orig:254 opValue.1479 ] [254])
                (const_int 32 [0x20])))) -1 (nil))
rematch.cpp:2785: internal compiler error: in extract_insn, at recog.c:2001
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Oliver Grawert (ogra) wrote :

running:
g++ -save-temps -D_REENTRANT -I. -I../common -DU_I18N_IMPLEMENTATION -O -fvisibility=hidden -c -o rematch.ao rematch.cpp

g++ -O -fvisibility=hidden -c rematch.ii
g++ -O2 -fvisibility=hidden -c rematch.ii
g++ -Os -fvisibility=hidden -c rematch.ii
g++ -O0 -fvisibility=hidden -c rematch.ii

results in the following pattern:

jaunty default gcc: -Os and -O0 work, -O and -O2 fail
jaunty gcc snapshot: all work
jaunty with karmic gcc 4.4: all work
karmic with gcc 4.3: -Os and -O0 work, -O and -O2 fail

Revision history for this message
Matthias Klose (doko) wrote :

fixed in 4.4, workarounds possibe by changing optimization options

Changed in gcc-4.3 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Matthias Klose (doko) wrote :

please find attached a patch to work around this on armel. I didn't check if the ICU_ARCH_FLAGS is picked up in the environment by the makefile. Maybe you have to encode the -O2 in the new patch directly.

Revision history for this message
Matthias Klose (doko) wrote :

won't fix for 4.3, work around checked in into the OOo packaging repo.

Changed in gcc-4.3 (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.