WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
145377
[ARM] Build SVGPathElement.cpp with -O2 due to a GCC bug
https://bugs.webkit.org/show_bug.cgi?id=145377
Summary
[ARM] Build SVGPathElement.cpp with -O2 due to a GCC bug
Csaba Osztrogonác
Reported
2015-05-26 03:41:39 PDT
log from GTK ARM buildbot: --------------------------- In file included from ../../Source/WebCore/svg/SVGPathElement.cpp:22:0: ../../Source/WebCore/svg/SVGPathElement.h: In member function ‘virtual WebCore::FloatRect WebCore::SVGPathElement::_ZTv0_n24_N7WebCore14SVGPathElement7getBBoxENS_12SVGLocatable19StyleUpdateStrategyE(WebCore::SVGLocatable::StyleUpdateStrategy)’: ../../Source/WebCore/svg/SVGPathElement.h:94:23: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7671 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate) override; ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions. Preprocessed source stored into /tmp/cc8TnIRO.out file, please attach this to your bugreport. It is a known GCC bug -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64896
- which is already fixed in GCC trunk and 4.9 branch. But unfortunately the bug was fixed after 4.9.2 release, so we need to build this source with O2 until bumping to 4.9.3 (not yet released) or 5.1. Patch is coming soon.
Attachments
Patch
(1.42 KB, patch)
2015-05-26 04:14 PDT
,
Csaba Osztrogonác
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Csaba Osztrogonác
Comment 1
2015-05-26 04:14:37 PDT
Created
attachment 253703
[details]
Patch -O2 fixed this issue for me long long time ago -
https://bugs.webkit.org/show_bug.cgi?id=140162#c94
, but I haven't tested it now. I tested the cmake version check, it adds the O2 flag for all 4.9 version older than the not yet released 4.9.3. There is only one possible issue ... Linaro has released GCC versions with the 4.9.3 version number which conatain this bug, but their latest 4.9.3 (15.03) release already contains the upstream fix. But I don't think if we can/should check the non official GCC version numbers.
Carlos Garcia Campos
Comment 2
2015-05-26 04:50:11 PDT
Comment on
attachment 253703
[details]
Patch Ok, let's try with this. Thanks Ossy!
Csaba Osztrogonác
Comment 3
2015-05-26 04:53:32 PDT
Comment on
attachment 253703
[details]
Patch Clearing flags on attachment: 253703 Committed
r184857
: <
http://trac.webkit.org/changeset/184857
>
Csaba Osztrogonác
Comment 4
2015-05-26 04:53:39 PDT
All reviewed patches have been landed. Closing bug.
Silvio Frischknecht
Comment 5
2017-05-10 01:20:24 PDT
This patch does not work for allinone builds, in which case svg/SVGAllInOne.cpp is still compiled with -O3 and fails.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug