CLOSED INVALID 9435
[S60] Can't build the s60WebKit for gcce target
https://bugs.webkit.org/show_bug.cgi?id=9435
Summary [S60] Can't build the s60WebKit for gcce target
Sébastien Dalis
Reported 2006-06-14 07:41:23 PDT
I've downloaded the latest version of the S60Webkit project and successfully build it for the WINSCW target. ("build.bat -w"). I can't compile for the gcce target ("build.bat -g"). I've checked my dev. environement : - latest Symbian SDK 3rd edition - perl v5.6.1 Does anyone succeed to compile for this target ? Regards. S. Dalis
Attachments
script used to build the s60Webkit (7.24 KB, text/plain)
2006-07-20 11:17 PDT, Sébastien Dalis
no flags
Requested libs (51.25 KB, application/octet-stream)
2006-08-04 11:23 PDT, Bradley Morrison
no flags
GCCE compilation fixes (19.90 KB, patch)
2006-10-12 08:46 PDT, Bradley Morrison
zalan: review+
Make reindeer installable (5.97 KB, patch)
2006-10-13 13:15 PDT, Bradley Morrison
no flags
updates to s60webui\install (2.62 KB, patch)
2006-10-13 13:46 PDT, Bradley Morrison
no flags
correct patch this time ;) (9.18 KB, patch)
2006-10-13 13:50 PDT, Bradley Morrison
zalan: review+
Updated cannedimages.cpp & removed old rss & loc files (30.13 KB, patch)
2006-10-16 11:36 PDT, Bradley Morrison
Sachin.Padma: review-
removes *gcce* not *sdk* (29.46 KB, patch)
2006-10-27 11:09 PDT, Bradley Morrison
Sachin.Padma: review+
David Carson
Comment 1 2006-06-15 21:41:56 PDT
Can you provide more detais about where it is failing, such as a copy of the command line output when it fails. Thanks
Sébastien Dalis
Comment 2 2006-06-16 07:06:08 PDT
Hi, The first compilation gives an error regarding the symbol definition of the "WebCore_gcceU.DEF" file. An error was raised : "; #<TI># symbol not defined". The "WebCore_gcceU.DEF" file contained the following : _ZTI14CWebCoreBridge @ 147 NONAME ; #<TI># _ZTI16CWebCoreSettings @ 148 NONAME ; #<TI># _ZTI20CWebCorePageDataItem @ 149 NONAME ; #<TI># _ZTI23CWebCoreGraphicsContext @ 150 NONAME ; #<TI># _ZTV14CWebCoreBridge @ 151 NONAME ; #<VT># _ZTV16CWebCoreSettings @ 152 NONAME ; #<VT># _ZTV20CWebCorePageDataItem @ 153 NONAME ; #<VT># _ZTV23CWebCoreGraphicsContext @ 154 NONAME ; #<VT># so I removed it. Then the compilation failed with the following: It seems that the library "HistoryProvider.dso" is missing. I've checked into the file "s60\S60Internals\S60LibsGcce.zip" where all the needed library are, and the library is not there. The compilation gives the following: F:\Symbian\9.1\S60_3rd\s60>build -gt Building under x: drive 7 archives were successfully processed. Synching \s60\LayoutTests with \epoc32\winscw\c\LayoutTests 0 LayoutTests files updated 0 LayoutTests files removed make -r -f "\EPOC32\BUILD\s60\GCCE.make" TARGET CFG=UREL VERBOSE=-s arm-none-symbianelf-ld: ..\EPOC32\RELEASE\ARMV5\LIB\HistoryProvider.dso: No such file: No such file or directory make[1]: *** [..\EPOC32\RELEASE\GCCE\UREL\browserengine.dll] Error 1 make: *** [TARGETWEBKIT] Error 2 make -s -r -f "\EPOC32\BUILD\s60\MEMMAN\GCCE\MEMMAN.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\PCRE\GCCE\PCRE.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\JAVASCRIPTCORE\GCCE\JAVASCRIPTCORE.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\KHTML\GCCE\KHTML.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\KWQ\GCCE\KWQ.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\WEBCORE\GCCE\WEBCORE.GCCE" UREL make -s -C \s60\WEBKIT\group -f "ICONS.MK" TO_ROOT=..\..\.. EPOCBLD=..\..\..\EPOC32\BUILD\s60\ICONS\GCCE TO_BLDINF=..\..\..\s60 PLATFORM=GCCE CFG=UREL BLD make -s -r -f "\EPOC32\BUILD\s60\RESLOADER\GCCE\RESLOADER.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\BROWSERCORE\GCCE\BROWSERCORE.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\BROWSERVIEW\GCCE\BROWSERVIEW.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\PLUGIN\GCCE\PLUGIN.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\BROWSERREC\GCCE\BROWSERREC.GCCE" UREL make -s -r -f "\EPOC32\BUILD\s60\BROWSERCACHE\GCCE\BROWSERCACHE.GCCE" UREL WARNING: Not attempting to create any import libraries. When exports are frozen in "\s60\WEBKIT\EABI\BrowserCacheU.DEF", regenerate Makefile. make -s -r -f "\EPOC32\BUILD\s60\WEBKIT\GCCE\WEBKIT.GCCE" UREL Processing WebUi.pkg... WebUi.pkg(24) : error: file I/O fault. Sign WebUi.sis... file I/O fault, cannot open WebUi.sis. Delete intermediate files... Impossible de trouver X:\s60\s60webui\webui\install\WebUi.sis Done, please copy WebUi.sisx to your phone Completed in: 00:01:01 Scanning build output for errors: 2 found
Sébastien Dalis
Comment 3 2006-06-27 02:16:24 PDT
I've downloaded the last Symbian SDK (S60-SDK-0616-3.0-mr.3.749.zip on ) and tried to compile the s60WebKit on the GCCE target. There is no improvments. Coud you provide me an update about his bug ? Thank you.
Bradley Morrison
Comment 4 2006-07-06 15:51:40 PDT
Can confirm GCCE compilations currently failing. As at r15189 I receive: ..\EPOC32\RELEASE\ARMV5\UREL\KWQ.lib(KWQKStandardDirs.o): In function `locate(char const*, QString const&, KInstance const*)': Kwqkstandarddirs.cpp:(.text+0xa0): undefined reference to `Dll::FileName(TBuf<256>&)' make[1]: *** [..\EPOC32\RELEASE\GCCE\UREL\WebCore.dll] Error 1 Some people may be looking at improving GCCE support shortly/now - I will request that they make some updates here. Can confirm ARMV5 hardware builds are still stable. Please contact me for further information. Many thanks for your input!
Bradley Morrison
Comment 5 2006-07-06 15:52:12 PDT
Can confirm.
Sébastien Dalis
Comment 6 2006-07-20 11:17:34 PDT
Created attachment 9585 [details] script used to build the s60Webkit
Sébastien Dalis
Comment 7 2006-07-20 11:22:51 PDT
Hi Bradley, The compiler used is the ARM v2.2 I tried to compile for the ARMV5 target but this one is not an option of the script build.bat. I modified this one (please get the attached file) to add an option -a to compile for the ARMV5 target and the compilation fails with the following : Creating \EPOC32\BUILD\S60\WEBUI\ARMV5\UREL make -r -f "\EPOC32\BUILD\S60\ARMV5.make" TARGET CFG=UREL VERBOSE=-s "\EPOC32\INCLUDE\RVCT2_2\RVCT2_2.h", line 21: Error: #5: cannot open source input file "symbian_os_v9.1.hrh": No such file or directory #include <symbian_os_v9.1.hrh> ^ make[1]: *** [..\EPOC32\BUILD\S60\MEMMAN\ARMV5\UREL\MemoryManager.o] Error 1 make: *** [TARGETMEMMAN] Error 2 make -s -r -f "\EPOC32\BUILD\S60\MEMMAN\ARMV5\MEMMAN.ARMV5" UREL Memorymanager.cpp make -r -f "\EPOC32\BUILD\S60\ARMV5.make" FINAL CFG=UREL VERBOSE=-s make -s -C \S60\WEBKIT\group -f "ICONS.MK" TO_ROOT=..\..\.. EPOCBLD=..\..\..\EPOC32\BUILD\S60\ICONS\ARMV5 TO_BLDINF=..\..\..\S60 PLATFORM=ARMV5 CFG=UREL FINAL make -s -C \S60\S60WebUi\WebUi\group -f "WEBUIAIFSVGICONSDC.MK" TO_ROOT=..\..\..\.. EPOCBLD=..\..\..\..\EPOC32\BUILD\S60\WEBUIAIFSVGICONSDC\ARMV5 TO_BLDINF=..\. .\..\..\S60 PLATFORM=ARMV5 CFG=UREL FINAL make -s -C \S60\S60WebUi\WebUi\group -f "WEBUIICONSDC.MK" TO_ROOT=..\..\..\.. EPOCBLD=..\..\..\..\EPOC32\BUILD\S60\WEBUIICONSDC\ARMV5 TO_BLDINF=..\..\..\..\S60 PLATFORM=ARMV5 CFG=UREL FINAL Processing WebUiARM.pkg... WebUiARM.pkg(24) : error: file I/O fault. Sign WebUiARM.sis... file I/O fault, cannot open WebUiARM.sis. Delete intermediate files... Impossible de trouver X:\s60\s60webui\webui\install\WebUiARM.sis Done, please copy WebUiARM.sisx to your phone Completed in: 00:04:15 Scanning build output for errors: 6 found Do you know how to proceed to compile for this target ? Why isn't there an ARMV5 compilation option into the script build.bat ?
Bradley Morrison
Comment 8 2006-08-03 12:30:53 PDT
(In reply to comment #7) > Hi Bradley, Hi Sebastien, Apologies for the delay. We're really keen to get this compiling for hardware and the priority on this is going up RSN. > I tried to compile for the ARMV5 target but this one is not an option of the > script build.bat. Yeah, one of the things that build.bat does is sets up your environment to compile against the Carbide compilers. I can add in your ARMV5 support (thanks for that), but I'd probably feel better getting this working first. > Do you know how to proceed to compile for this target ? As a quick workaround, copy symbian_os_v9.1.hrh from \epoc32\include\variant to \epoc32\include. When I do that it goes further but fails with Fast_malloc.cpp Value.cpp \s60\JavaScriptCore\group\EABI\JavaScriptCoreU.def(160) : DEFFILE ERROR: Incorrect EXPORTS statement syntax make[1]: *** [..\EPOC32\BUILD\s60\JAVASCRIPTCORE\ARMV5\UREL\JavaScriptCore{000a0000}.exp] Error 255 Someone needs to look into this.
Antoine Martin
Comment 9 2006-08-04 09:30:48 PDT
Hello, Trying to compile for the ARMV5 target, we are missing the following libraries (the list may not be exhaustive): XmlEngine.lib HttpFilterCommon.lib CenRepNotifHandler.lib FeatMgr.lib browserdialogsprovider.lib ConnectionManager.lib CookieManager.lib WebUtils.lib MultipartParser.lib These libs are provided for the winscw target under S60Internals\S60DynamicLibs.zip and S60Internals\S60StaticLibs.zip Is there a way to get those for the ARMV5 target ?
Bradley Morrison
Comment 10 2006-08-04 11:23:17 PDT
Created attachment 9879 [details] Requested libs
mathias
Comment 11 2006-08-08 05:25:19 PDT
Hi, Thanks for the previous libs. But two libraries are still missing for the ARMV5 target : HistoryProvider.lib and SysLangUtil.lib
mathias
Comment 12 2006-08-08 06:03:01 PDT
I have forgotten these one : pagescaler.lib can not be found for ARMV5 Thanks, Mat.
Bradley Morrison
Comment 13 2006-08-09 12:26:22 PDT
(In reply to comment #11) > Hi, > Thanks for the previous libs. > But two libraries are still missing for the ARMV5 target : > HistoryProvider.lib and SysLangUtil.lib Hi, Sorry, I'm travelling at the moment but will get back to you next week. In the meantime you may or may not be interested in mailing the webkit-dev mailing list or contacting our business development manager, franklin.davis@nokia.com. Thanks, Bradley
Shyam Sareen
Comment 14 2006-08-14 14:13:44 PDT
Hi It is known problem that open source code sis file can't build with ARM5 at present. I will start working on this towards the end of next week ( around 8/25/06) and update the status when it is done.
Bradley Morrison
Comment 15 2006-08-17 13:21:09 PDT
This bug has wandered onto compiling on ARMV5, so I'm forking it with bug 10469 which I raised specifically for the ARMV5 issue. Please leave this as the GCCE bug.
Bradley Morrison
Comment 16 2006-08-17 14:14:01 PDT
Please see my recent email on the webkit dev mailing list.
Bradley Morrison
Comment 17 2006-10-11 11:31:57 PDT
Updated some related libs in r16992. Still ongoing.
Bradley Morrison
Comment 18 2006-10-12 08:46:14 PDT
Created attachment 11045 [details] GCCE compilation fixes
zalan
Comment 19 2006-10-12 09:58:10 PDT
Comment on attachment 11045 [details] GCCE compilation fixes r=me
Bradley Morrison
Comment 20 2006-10-12 10:10:23 PDT
(In reply to comment #19) > (From update of attachment 11045 [details] [edit]) > r=me > Thanks - committed r17009.
Bradley Morrison
Comment 21 2006-10-13 13:15:37 PDT
Created attachment 11075 [details] Make reindeer installable Patch to allow reindeer to install on a device.
Bradley Morrison
Comment 22 2006-10-13 13:46:04 PDT
Created attachment 11078 [details] updates to s60webui\install Last patch forgot to remove old package file.
Bradley Morrison
Comment 23 2006-10-13 13:50:05 PDT
Created attachment 11079 [details] correct patch this time ;) Correct patch this time ;) Please note now ChangeLog entry attached. I will add one when the review is past and I commit. Thanks
zalan
Comment 24 2006-10-13 14:17:54 PDT
Comment on attachment 11079 [details] correct patch this time ;) r=me
Bradley Morrison
Comment 25 2006-10-13 14:40:44 PDT
(In reply to comment #24) > (From update of attachment 11079 [details] [edit]) > r=me > Thanks - applied r17043.
Bradley Morrison
Comment 26 2006-10-16 11:36:17 PDT
Created attachment 11113 [details] Updated cannedimages.cpp & removed old rss & loc files
Bradley Morrison
Comment 27 2006-10-17 08:07:27 PDT
r17707 updates RVCT support dlls (also used by GCCE): 11:02 < CIA-6> brmorris * r17077 /S60/trunk/S60Internals/ (ChangeLog target/RVCT/S60LibsRVCT.zip): 11:02 < CIA-6> 2006-10-13 brmorris <thisisbradley@gmail.com> 11:02 < CIA-6> Reviewed by me. 11:02 < CIA-6> DESC: Updated RVCT supporting libs. 11:02 < CIA-6> http://bugs.webkit.org/show_bug.cgi?id=9435 11:02 < CIA-6> * target/RVCT/S60LibsRVCT.zip: Toolbar.dll & recentstore.dll
Sachin Padma
Comment 28 2006-10-27 10:39:32 PDT
Comment on attachment 11113 [details] Updated cannedimages.cpp & removed old rss & loc files patch removed webkit_sdk.rss and webkit_sdk.loc files.
Bradley Morrison
Comment 29 2006-10-27 11:09:18 PDT
Created attachment 11244 [details] removes *gcce* not *sdk* Previous patch removed *sdk* not *gcce*. This patch corrects that.
Sachin Padma
Comment 30 2006-10-27 11:50:49 PDT
Comment on attachment 11244 [details] removes *gcce* not *sdk* r=me
Bradley Morrison
Comment 31 2006-10-27 13:49:21 PDT
(In reply to comment #30) > (From update of attachment 11244 [details] [edit]) > r=me > Applied: r17380
WyzoK
Comment 32 2006-11-26 06:14:22 PST
This is what I did: 1. I followed all the instructions to install the sdk and webkit which are given on your website. 2. I tried to compile the .pkg to a .sis but I got a lot of missing files. 3. So I opened the .pkg and changed all the relative links to absolut ones, then made correctly the .sis 4. Then I tried to install it on my nokia e50 (symbian, s60 3rd), but I got the error "Unable to install a protected application from an untrusted supplier". 5. I created a certificate following the instructions given by www.symbiansigned.com to obtain a Symbian Signed Developer Certificate. 6. After having signed the .sis, I tried again to install it. I got no problem with certification, but after choosing where I wanted to install it (mobilephone or memory card), I got the error "Required application access not granted". What suprised me is that normally I can use all capabilities because of my certification (which lets me use all capabilities for one IMEI serial). (and I seleted all the capabilities when created the .csr)
Kari Pihkala
Comment 33 2007-01-05 07:29:43 PST
I checked out the revision 18617 on 5 Jan 2007. Compiling for winscw works (build), but compilation for gcce fails (build -g). The gcce build used to work (e.g. r17211), but some new code has been added since, which causes errors. Here's the errors from the build.log file. JavaScriptCore//bindings/HashFunctions.h: At global scope: JavaScriptCore//bindings/HashFunctions.h:35: error: `int64_t' does not name a type JavaScriptCore//bindings/HashFunctions.h:35: error: `uint64_t' does not name a type JavaScriptCore//bindings/HashFunctions.h:52: error: `WTF::intHash' declared as an `inline' variable JavaScriptCore//bindings/HashFunctions.h:52: error: `unsigned int WTF::intHash' redeclared as different kind of symbol JavaScriptCore//bindings/HashFunctions.h:41: error: previous declaration of `unsigned int WTF::intHash(unsigned int)' JavaScriptCore//bindings/HashFunctions.h:52: error: declaration of `unsigned int WTF::intHash' JavaScriptCore//bindings/HashFunctions.h:41: error: conflicts with previous declaration `unsigned int WTF::intHash(unsigned int)' JavaScriptCore//bindings/HashFunctions.h:52: error: `uint64_t' was not declared in this scope JavaScriptCore//bindings/HashFunctions.h:53: error: expected `,' or `;' before '{' token JavaScriptCore//bindings/HashFunctions.h: In static member function `static unsigned int WTF::PtrHash<T>::hash(T)': JavaScriptCore//bindings/HashFunctions.h:73: error: `uintptr_t' undeclared (first use this function) JavaScriptCore//bindings/HashFunctions.h:73: error: (Each undeclared identifier is reported only once for each function it appears in.) JavaScriptCore//bindings/HashFunctions.h:73: error: template argument 1 is invalid JavaScriptCore//bindings/HashFunctions.h:73: error: `hash' is not a member of `<declaration error>' JavaScriptCore//bindings/HashFunctions.h:73: error: `uintptr_t' has not been declared In file included from JavaScriptCore//bindings/HashTable.h:27, from JavaScriptCore//bindings/hashmap.h:27, from ..//EPOC32//include//oem/JavaScriptCore/runtime.h:31, from ..//EPOC32//include//oem/JavaScriptCore/NP_jsobject.h:30, from WEBCORE//kwq/KWQKHTMLPart.h:46, from WEBCORE\\khtml\\rendering\\/render_text.h:35, from WEBCORE\\khtml\\rendering\\Bidi.cpp:26: JavaScriptCore//bindings/HashTraits.h: At global scope: JavaScriptCore//bindings/HashTraits.h: In instantiation of `WTF::GenericHashTraitsBase< true, long long int>': JavaScriptCore//bindings/HashTraits.h:64: instantiated from `WTF::GenericHashTraits<long long int>' JavaScriptCore//bindings/HashTraits.h:84: instantiated from here JavaScriptCore//bindings/HashTraits.h:53: error: no type named `SignedType' in `struct WTF::IntTypes<8u>' WEBCORE\\khtml\\rendering\\Bidi.cpp: In member function `khtml::BidiIterator khtml::RenderBlock::findNextLineBreak(khtml::BidiIterator&, khtml::BidiState&)': WEBCORE\\khtml\\rendering\\Bidi.cpp:1927: warning: comparison between signed and unsigned integer expressions WEBCORE//kwq/KWQHashTable.h: In member function `KWQHashTable<K, V>::iterator KWQHashTable<K, V>::begin() [with K = QString, V = void*]': WEBCORE//kwq/KWQDictImpl.h:66: instantiated from here WEBCORE//kwq/KWQHashTable.h:156: warning: comparison between signed and unsigned integer expressions WEBCORE//kwq/KWQDictImpl.h:66: instantiated from here WEBCORE//kwq/KWQHashTable.h:157: warning: comparison between signed and unsigned integer expressions WEBCORE//kwq/KWQHashTable.h: In member function `bool HashEntry<K, V>::valid() [with K = QString, V = void*]': WEBCORE//kwq/KWQHashTable.h:70: instantiated from `HashEntry<K, V>::operator bool() [with K = QString, V = void*]' WEBCORE//kwq/KWQHashTable.h:156: instantiated from `KWQHashTable<K, V>::iterator KWQHashTable<K, V>::begin() [with K = QString, V = void*]' WEBCORE//kwq/KWQDictImpl.h:66: instantiated from here WEBCORE//kwq/KWQHashTable.h:65: warning: comparison between signed and unsigned integer expressions make[1]: *** [..\EPOC32\BUILD\S60\KHTML\GCCE\UREL\bidi.o] Error 1 make: *** [LIBRARYKHTML] Error 2
Bradley Morrison
Comment 34 2007-01-08 11:40:12 PST
(In reply to comment #33) > I checked out the revision 18617 on 5 Jan 2007. Compiling for winscw works > (build), but compilation for gcce fails (build -g). The gcce build used to work > (e.g. r17211), but some new code has been added since, which causes errors. Yes, it appears that the scriptable plugins implementation has introduced regression in the GCCE build. > Here's the errors from the build.log file. Thanks Kari, this requirement will hopefully be escalated soon.
Gurpreet
Comment 35 2007-07-16 23:23:50 PDT
(In reply to comment #34) > (In reply to comment #33) > > I checked out the revision 18617 on 5 Jan 2007. Compiling for winscw works > > (build), but compilation for gcce fails (build -g). The gcce build used to work > > (e.g. r17211), but some new code has been added since, which causes errors. > > Yes, it appears that the scriptable plugins implementation has introduced > regression in the GCCE build. > > > Here's the errors from the build.log file. > > Thanks Kari, this requirement will hopefully be escalated soon. > Hi Bradley Any update on this.... I downloaded Revision 24352 yesterday, but still it's giving me errors when I compile for gcce.Errors are same as given in Comment 33.It's been long since this bug is open. Any tentative date when the fix will be released? Or if some body is having a workaround, pls post it here. Br Gurpreet singhgupi@gmail.com
Bradley Morrison
Comment 36 2008-04-09 11:31:53 PDT
Bulk update of s60 bugs - tagging and closing.
Bradley Morrison
Comment 37 2008-04-09 11:39:34 PDT
Bulk closing of all s60 platform bugs. Sorry for the noise!
Joel Parks
Comment 38 2011-03-21 11:52:18 PDT
re-purposing InTSW keyword for use by QtWebkit team
Note You need to log in before you can comment on or make changes to this bug.