Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Issue 270058: ARM: Work around ICE with gcc-4.3 when building ICU (Closed)

Created:
11 years, 2 months ago by Joel Stanley (old)
Modified:
6 years, 8 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

ARM: Work around ICE with gcc-4.3 when building ICU Using a crosstool-ng build toolchain, the following error is encountered at the default optimisation level (-O2) when targetting ARMv5: third_party/icu/source/i18n/rematch.cpp: In member function 'void icu_4_2::RegexMatcher::MatchAt(int32_t, UBool, UErrorCode&)': third_party/icu/source/i18n/rematch.cpp:2785: error: unrecognizable insn: (insn 4627 1680 1682 231 third_party/icu/source/i18n/rematch.cpp:1949 (set (reg:SI 0 r0) (plus:SI (reg:SI 3 r3 [1112]) (mult:SI (reg/v:SI 14 lr [orig:252 opValue.2394 ] [252]) (const_int 32 [0x20])))) -1 (nil)) third_party/icu/source/i18n/rematch.cpp:2785: internal compiler error: in extract_insn, at recog.c:1990 This can be worked around by building the file at -Os. Patch by Joel Stanley <joel@jms.id.au>; BUG=19954

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M icu.gyp View 1 2 3 1 chunk +9 lines, -0 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Joel Stanley (old)
11 years, 2 months ago (2009-10-10 06:35:14 UTC) #1
brettw
Can you add a comment in the gyp file about why this is here like ...
11 years, 2 months ago (2009-10-10 15:20:10 UTC) #2
Joel Stanley (old)
On 2009/10/10 15:20:10, brettw wrote: > Can you add a comment in the gyp file ...
11 years, 2 months ago (2009-10-10 16:19:26 UTC) #3
Evan Martin
http://codereview.chromium.org/270058/diff/1003/1004 File icu.gyp (right): http://codereview.chromium.org/270058/diff/1003/1004#newcode216 Line 216: 'cflags': [ '-Os' ], I'm concerned this change ...
11 years, 2 months ago (2009-10-10 17:12:24 UTC) #4
Joel Stanley (old)
On 2009/10/10 17:12:24, Evan Martin wrote: > http://codereview.chromium.org/270058/diff/1003/1004 > File icu.gyp (right): > > http://codereview.chromium.org/270058/diff/1003/1004#newcode216 ...
11 years, 2 months ago (2009-10-11 03:29:05 UTC) #5
Antoine Labour
http://codereview.chromium.org/270058/diff/4001/5001 File icu.gyp (right): http://codereview.chromium.org/270058/diff/4001/5001#newcode211 Line 211: ['target_arch=="arm"', { could you add armv7!=1 ? I ...
11 years, 1 month ago (2009-11-13 19:20:17 UTC) #6
Joel Stanley (old)
11 years, 1 month ago (2009-11-17 01:26:15 UTC) #7
On 2009/11/13 19:20:17, Antoine Labour wrote:
> http://codereview.chromium.org/270058/diff/4001/5001
> File icu.gyp (right):
> 
> http://codereview.chromium.org/270058/diff/4001/5001#newcode211
> Line 211: ['target_arch=="arm"', {
> could you add armv7!=1 ? I never had an issue on armv7.

I've only seen the error with my crosstool built compiler.  I'm now using a
different compiler, so I think we can ignore this unless (until?) someone else
reports the issue.

Powered by Google App Engine
This is Rietveld 408576698