[Development] V8 doesn't build in cross-compilation

simon.hausmann at nokia.com simon.hausmann at nokia.com
Sun Jan 1 20:55:27 CET 2012


Snapshots should IIRC be disabled in all configs except host = target and 32-bit host to 32-bit arm (in which case mksnapshot builds the arm simulator to create the heap snapshot).

Disabled snapshots means startup penalty for v8, but no functional regression. 

Simon

-- 
Sent from my Nokia N931.12.11 18:37 skrev ext Thiago Macieira:
On Friday, 30 de December de 2011 12.35.44, Thiago Macieira wrote:
> I have an ARM and a MIPS cross-compilation builds. My host machine is a
> 64-bit x86-64. Configure was run with no flags related to V8.
> 
> It told me:
> V8 module .............. yes
> 
> mkspecs/qconfig.pri's QT_CONFIG contains "v8" but not "v8snapshot".

Turns out that v8snapshot is not necessary for building V8. So the attached 
one-line (thus, not copyrightable) patch fixes the problem.

The question still stands though: doesn't anyone try to cross-compile Qt for 
ARM these days?

> How does one build Qt in cross-compilation mode these days?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden


More information about the Development mailing list