Bug 3259 - Unable to build webkit (on arm).
Summary: Unable to build webkit (on arm).
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 blocker
Target Milestone: ---
Assignee: Gustavo Zacarias
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 10:08 UTC by noel.vellemans@visionbms.com
Modified: 2011-02-24 19:56 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Webkit - Error snippet. (1.35 KB, application/octet-stream)
2011-02-17 10:08 UTC, noel.vellemans@visionbms.com
Details
Fixup icu-config (1.07 KB, patch)
2011-02-24 13:09 UTC, Gustavo Zacarias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description noel.vellemans@visionbms.com 2011-02-17 10:08:11 UTC
Created attachment 2971 [details]
Webkit - Error snippet.

version Git-buildroot (17/02/2011)

Webkit fails to build (for arm). 

undefined reference(s) to :

`u_charType_44' `u_strToUpper_44' `ucol_close_44' `ucol_getLocaleByType_44' `ucol_getAttribute_44' `ucol_open_44' `ucol_open_44'
`ucol_setAttribute_44'... etc...

I guess has something to do with icu.

Regards Noel
Comment 1 Bartłomiej Palmowski 2011-02-23 13:55:28 UTC
I confirm webkit fails for i586 also,

./.libs/libJavaScriptCore.a(libJavaScriptCore_la-Lexer.o): In function `JSC::isNonASCIIIdentStart(int)':
Lexer.cpp:(.text+0x15): undefined reference to `u_charType_44'

trying to build webkit 1.2.6 and 1.2.7
Comment 2 Bartłomiej Palmowski 2011-02-24 10:58:02 UTC
Quick workaround is passing --with-unicode-backend=glib to webkits configure.
Comment 3 Bartłomiej Palmowski 2011-02-24 10:59:22 UTC
and here is some more info on that option: https://bugs.webkit.org/show_bug.cgi?id=34247
Comment 4 Gustavo Zacarias 2011-02-24 13:09:26 UTC
Created attachment 3019 [details]
Fixup icu-config

After trying a build on a system that completely lacks icu i've found the issue.
icu-config checks for the library presence in exec_prefix, thus if the real system lacks it (checks at /usr/lib, default) it fails.
So we need to tweak exec_prefix too in icu-config to point to the staging dir.

Give this patch a try, works on my ubuntu netbook (which took it's sweet time to build).
Comment 5 noel.vellemans@visionbms.com 2011-02-24 15:25:45 UTC
CONFIRMATION: working !
Comment 6 Peter Korsgaard 2011-02-24 19:56:11 UTC
Committed, thanks