title: Cross compile Qt to ARM using arm-linux-gnueabihf 4.8
body: <p>I am trying to cross compile Qt 4.8.2 for a BeagleBone Black(Debian Wheezy ) with Ubuntu but every time the compiler throws a Segmentation fault error. What do I miss? </p>
  
  <pre><code>../JavaScriptCore/wtf/Vector.h: In instantiation of ‘void WTF::Vector&lt;T, inlineCapacity&gt;::shrink(size_t) [with T = JSC::Identifier; unsigned int inlineCapacity = 20u; size_t = unsigned int]’:
  ../JavaScriptCore/wtf/Vector.h:520:33:   required from ‘WTF::Vector&lt;T, inlineCapacity&gt;::~Vector() [with T = JSC::Identifier; unsigned int inlineCapacity = 20u]’
  ../JavaScriptCore/runtime/PropertyNameArray.h:46:9:   required from here
  ../JavaScriptCore/wtf/Vector.h:860:54: internal compiler error: Segmentation fault
       TypeOperations::destruct(begin() + size, end());
  </code></pre>
  
  <p>Configured with:</p>
  
  <pre><code>./configure -v -opensource -confirm-license -xplatform linux-arm-gnueabihf-g++ -embedded arm -little-endian -host-little-endian -prefix /usr/local/qt4.8.2-arf -nomake demos -nomake examples -no-qt3support -qt-gfx-linuxfb -qt-gfx-qvfb -qt-gfx-vnc -no-accessibility -no-openssl
  </code></pre>
  
  <p>qmake.conf</p>
  
  <pre><code>MAKEFILE_GENERATOR      = UNIX
  TARGET_PLATFORM         = unix
  TEMPLATE                = app
  CONFIG                  += qt warn_on release incremental link_prl gdb_dwarf_index
  QT                      += core gui
  QMAKE_INCREMENTAL_STYLE = sublib
  
  include(../common/linux.conf)
  include(../common/gcc-base-unix.conf)
  include(../common/g++-unix.conf)
  
  QMAKE_CC                = arm-linux-gnueabihf-gcc-4.8
  QMAKE_CXX               = arm-linux-gnueabihf-g++-4.8
  QMAKE_LINK              = arm-linux-gnueabihf-g++-4.8
  QMAKE_LINK_SHLIB        = arm-linux-gnueabihf-g++-4.8
  
  
  QMAKE_AR                = arm-linux-gnueabi-ar cqs
  QMAKE_OBJCOPY           = arm-linux-gnueabi-objcopy
  QMAKE_STRIP             = arm-linux-gnueabi-strip
  
  load(qt_config)
  </code></pre>
  
  <p>configure output: <a href="http://pastebin.com/pSQJ7Rj5" rel="nofollow">http://pastebin.com/pSQJ7Rj5</a></p>
  
  <p>make output: <a href="http://www67.zippyshare.com/v/ciLsozUA/file.html" rel="nofollow">http://www67.zippyshare.com/v/ciLsozUA/file.html</a></p>