WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
57841
[Qt] [Symbian] Enable webkit build with GCCE on Symbian.
https://bugs.webkit.org/show_bug.cgi?id=57841
Summary
[Qt] [Symbian] Enable webkit build with GCCE on Symbian.
Liang Qi
Reported
2011-04-05 06:30:25 PDT
If you have a Qt build under the makefile build system with gcce on linux or mac, 4.7 or master You could have a try this command to build webkit from trunk: export "WEBKITOUTPUTDIR=/home/liang/dev/git/webkit/WebKitBuild" && perl /home/liang/dev/git/webkit/Tools/Scripts/build-webkit --qt --qmake=/home/liang/build/gcce-webkit/bin/qmake --install-libs=/home/liang/build/gcce-webkit/lib --release
Attachments
The fix for Enable webkit build for the makefile build system with gcce
(3.15 KB, patch)
2011-04-05 06:37 PDT
,
Liang Qi
no flags
Details
Formatted Diff
Diff
The fix for Enable webkit build for the makefile build system with gcce
(3.01 KB, patch)
2011-04-05 12:49 PDT
,
Liang Qi
no flags
Details
Formatted Diff
Diff
The fix for Enable webkit build for the makefile build system with gcce
(2.70 KB, patch)
2011-04-06 08:20 PDT
,
Liang Qi
no flags
Details
Formatted Diff
Diff
Enable webkit build with GCCE on Symbian.
(2.81 KB, patch)
2011-04-06 08:23 PDT
,
Liang Qi
laszlo.gombos
: review-
Details
Formatted Diff
Diff
Enable webkit build with GCCE on Symbian
(3.00 KB, patch)
2011-04-07 07:27 PDT
,
Liang Qi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Liang Qi
Comment 1
2011-04-05 06:37:47 PDT
Created
attachment 88219
[details]
The fix for Enable webkit build for the makefile build system with gcce
Siddharth Mathur
Comment 2
2011-04-05 06:47:56 PDT
Looks Ok to me, though you fix that Changelog entry to better match other prior entries. (I hope you are aware that only the RVCT 4.0 driven Symbian configuration will get bug fixes and performance tuning going forward, not GCC(E) for Symbian).
Jocelyn Turcotte
Comment 3
2011-04-05 06:54:52 PDT
Comment on
attachment 88219
[details]
The fix for Enable webkit build for the makefile build system with gcce View in context:
https://bugs.webkit.org/attachment.cgi?id=88219&action=review
> Source/JavaScriptCore/wtf/MathExtras.h:241 > +#if !COMPILER(MSVC) && !COMPILER(WINSCW) && !(COMPILER(RVCT) && (OS(SYMBIAN) || PLATFORM(BREWMP))) && !OS(SOLARIS) && !(COMPILER(GCC) && OS(SYMBIAN))
You should use the OS(SYMBIAN) part already in the statement, e.g. : ... && ((OS(SYMBIAN) && !COMPILER(GCC)) || PLATFORM(BREWMP))) && ...
> Source/WebCore/WebCore.pri:-149 > - MMP_RULES += ALWAYS_BUILD_AS_ARM
What happenned with the MMP_RULES statement?
> Source/WebCore/WebCore.pri:150 > + CONFIG += do_not_build_as_thumb
Thumb was only disabled for Linux armcc builds, now you disable it for all builds, is this intentional?
Liang Qi
Comment 4
2011-04-05 07:06:01 PDT
Please check $QTDIR/mkspecs/features/symbian/do_not_build_as_thumb.prf Those old things are moved there.
Jocelyn Turcotte
Comment 5
2011-04-05 07:06:46 PDT
(In reply to
comment #3
)
> > Source/JavaScriptCore/wtf/MathExtras.h:241 > > +#if !COMPILER(MSVC) && !COMPILER(WINSCW) && !(COMPILER(RVCT) && (OS(SYMBIAN) || PLATFORM(BREWMP))) && !OS(SOLARIS) && !(COMPILER(GCC) && OS(SYMBIAN)) > > You should use the OS(SYMBIAN) part already in the statement, e.g. : > ... && ((OS(SYMBIAN) && !COMPILER(GCC)) || PLATFORM(BREWMP))) && ... >
Forget that part, I didn't see the RVCT compiler part.
Liang Qi
Comment 6
2011-04-05 12:49:59 PDT
Created
attachment 88296
[details]
The fix for Enable webkit build for the makefile build system with gcce
Liang Qi
Comment 7
2011-04-06 08:20:08 PDT
Created
attachment 88428
[details]
The fix for Enable webkit build for the makefile build system with gcce
WebKit Review Bot
Comment 8
2011-04-06 08:21:48 PDT
Attachment 88428
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style']" exit_code: 1 Source/JavaScriptCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Liang Qi
Comment 9
2011-04-06 08:23:56 PDT
Created
attachment 88429
[details]
Enable webkit build with GCCE on Symbian.
Andras Becsi
Comment 10
2011-04-06 08:28:34 PDT
Comment on
attachment 88429
[details]
Enable webkit build with GCCE on Symbian. View in context:
https://bugs.webkit.org/attachment.cgi?id=88429&action=review
Great progress! LGTM.
> Source/WebCore/WebCore.pri:-149 > - MMP_RULES += ALWAYS_BUILD_AS_ARM
Isn't this needed any more?
Liang Qi
Comment 11
2011-04-06 08:35:30 PDT
(In reply to
comment #10
)
> > Source/WebCore/WebCore.pri:-149 > > - MMP_RULES += ALWAYS_BUILD_AS_ARM > > Isn't this needed any more?
I answered this in
comment #4
https://bugs.webkit.org/show_bug.cgi?id=57841#c4
Janne Koskinen
Comment 12
2011-04-07 03:51:19 PDT
>CONFIG += do_not_build_as_thumb
That is now on for all configurations? Or is there symbian - scope somewhere outside diff ? Otherwise looks good to me. Did you encouter build issues with missing atomicity.h ? I recall I had to hack that out when building QtWebkit with GCCE 4.4.1.
Liang Qi
Comment 13
2011-04-07 04:18:43 PDT
Yes, there is a symbian scope outside of this patch. And there is no issue about missing atomicity.h, I am using S^3 PDK 3.0.x. Build the qtwebkit both from 4.7 and trunk are fine.
Norbert Leser
Comment 14
2011-04-07 06:56:01 PDT
I applied this patch to arm build (relase) for symbian target, with SVG enabled. The build is fine (literally unchanged, for that target) but an existing issue with executing webkit apps remains, because the code segment exceeds the configured 0xE00000 for arm and gets overwitten by data segment. If the patch would apply the same GCCE value 0x1000000 for armcc as well, the SVG runtime issue will be resolved. I suggest to update the patch for WebKit.pri: - QMAKE_LFLAGS.ARMCC += --rw-base 0xE00000 + QMAKE_LFLAGS.ARMCC += --rw-base 0x1000000 The comment lines before that also need to be updated accordingly.
Laszlo Gombos
Comment 15
2011-04-07 07:03:49 PDT
Comment on
attachment 88429
[details]
Enable webkit build with GCCE on Symbian. r- to include Norbert's finding as well in the same patch as I think it is related. Make sure the comment lines are updated as well.
Liang Qi
Comment 16
2011-04-07 07:27:08 PDT
Created
attachment 88631
[details]
Enable webkit build with GCCE on Symbian Add the change for RVCT. Update the changelog.
Laszlo Gombos
Comment 17
2011-04-07 07:36:11 PDT
Comment on
attachment 88631
[details]
Enable webkit build with GCCE on Symbian r=me. Thanks.
WebKit Commit Bot
Comment 18
2011-04-07 09:41:51 PDT
Comment on
attachment 88631
[details]
Enable webkit build with GCCE on Symbian Clearing flags on attachment: 88631 Committed
r83179
: <
http://trac.webkit.org/changeset/83179
>
WebKit Commit Bot
Comment 19
2011-04-07 09:41:57 PDT
All reviewed patches have been landed. Closing bug.
Ademar Reis
Comment 20
2011-05-23 13:53:56 PDT
This was also commited to Qt-4.7 (
http://bugreports.qt.nokia.com/browse/QTBUG-18484
) and therefore needs to be cherry-picked into qtwebkit-2.0 and qtwebkit-2.1.
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