[Rock-dev] Cross-Compilation with Rock in QEMU

Sylvain Joyeux sylvain.joyeux at dfki.de
Fri Oct 19 16:36:32 CEST 2012


On 10/19/2012 04:00 PM, Chris Mueller wrote:
> Hio,
>
> Thomas has made some really good steps setting up an autoproj
> environment for cross-compilation to arm-processors
> via Virtual Box / QEMU that massively speed ups development and cross
> compilation for our gumstix.
As far as I understand, you don't really do cross compilation. You 
compile the stuff in a qemu emulating your ARM target. Is that right ?
> I'm currently tackling a segmentation fault after an "autoproj build"
> command within QEMU where you might help
>
> Here are some observations:
>
> 1) cmake .. / make install on an individuell package runs smoothly.
>
> 2) The failure occurs rapidly using amake PACKAGE / autoproj build PACKAGE
>
> 3) I couldn't load and run the core file via gdb because gdb complains
> about an unknown file format for the core.
Try to run the ruby binary under gdb instead:

   gdb -args /usr/bin/ruby1.9.1 $GEM_HOME/bin/autoproj build

> After stepping through the source code I have the conclusion this error
> could eventually arise due to some multi-threading
> issues,
That does not sound completely impossible. Can you try to replace the 
begin..end block at lib/autobuild/config.rb:285 by the following code ? 
It will turn multithreading off completely ...

         phases.each do |phase|
             Rake::Task["#{buildname}-#{phase}"].invoke
         end

-- 
Sylvain Joyeux (Dr.Ing.)
Senior Researcher

Space & Security Robotics
Underwater Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------



More information about the Rock-dev mailing list