WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25803
Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM
https://bugs.webkit.org/show_bug.cgi?id=25803
Summary
Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM
Fridrich Strba
Reported
2009-05-14 13:27:28 PDT
The check in the configure.ac wants actually know about the "host" system where the binaries will be run and not about "target" system that is normally used for systems where the binaries are run on one system and producing binaries for other system. We had this discussion on irc some 2 weeks ago. The problem does not show unless one cross-compiles. In the case of the cross-complilation, the current state produces a <target_cpu>-<target_os>-<target_platform>-jsc$EXEEXT which is not what we need.
Attachments
Patch that fixes this problem and uses correctly AC_CANONICAL_HOST
(2.00 KB, patch)
2009-05-14 13:28 PDT
,
Fridrich Strba
no flags
Details
Formatted Diff
Diff
Proper compliant clean patch including ChangeLog entry
(1.97 KB, patch)
2009-05-15 00:09 PDT
,
Fridrich Strba
no flags
Details
Formatted Diff
Diff
This patch even has the proper e-mail address and spaces instead of tabs
(1.96 KB, patch)
2009-05-15 01:44 PDT
,
Fridrich Strba
jmalonzo
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Fridrich Strba
Comment 1
2009-05-14 13:28:28 PDT
Created
attachment 30352
[details]
Patch that fixes this problem and uses correctly AC_CANONICAL_HOST
Jan Alonzo
Comment 2
2009-05-14 14:05:07 PDT
(In reply to
comment #1
)
> Created an attachment (id=30352) [review] > Patch that fixes this problem and uses correctly AC_CANONICAL_HOST >
With this patch, does that mean we want to build jit for the HOST and not for the target? I wasn't in the discussions in IRC 2 weeks ago so would be good to know about the rationale of this change. Thanks,
Fridrich Strba
Comment 3
2009-05-14 14:32:16 PDT
Here, it is explained quite well, although, the naming is very counter-intuitive:
http://www.airs.com/ian/configure/configure_toc.html#TOC30
TARGET makes sense only if you are building cross-compiling tools, target is there the system for which the tools generate code. This is not really useful here, because the JIT compiler will compile the code for the system on which is running. It is not in any sense a cross-compiling tool. When you cross-compile webkit and you use the AC_CANONICAL_SYSTEM, the autotools get confused and will assume that you are building cross-tools that will run on SystemA and produce binaries for SystemA, and will prefix the binaries with the SystemA's triplet. Like for mingw build i686-pc-mingw32-jsc.exe. The binaries are the same because this happens on install, but it is still annoying.
Fridrich Strba
Comment 4
2009-05-15 00:09:49 PDT
Created
attachment 30366
[details]
Proper compliant clean patch including ChangeLog entry
Fridrich Strba
Comment 5
2009-05-15 01:44:01 PDT
Created
attachment 30376
[details]
This patch even has the proper e-mail address and spaces instead of tabs
Jan Alonzo
Comment 6
2009-05-15 05:41:46 PDT
Comment on
attachment 30376
[details]
This patch even has the proper e-mail address and spaces instead of tabs r=me
Jan Alonzo
Comment 7
2009-05-15 05:44:48 PDT
Landed in
r43766
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