Discussion:
[Rock-dev] ARM: Bootstrap error in base/orogen/std -- Debian Wheezy in qemu-system-arm
Martin Zenzes
2014-06-06 11:03:29 UTC
Permalink
Hi,

on my quest to (cross-)compile this heap of software for ARM, I met an
hard obstacle a while ago: Some segfault in a ruby-module calling "merge
xml" or something. Just wanted to share this with you, in case someone
is willing to invest time in this. I'm still developing my skills, am
not able to tackle this right now ;-)

The setup: qemu-system-arm, Debian Wheezy, TransTerrA-Rock-bootstrap
(But fails in the core-phase). Logfile attached to this very E-Mail.

The image (downloaded from aurel32) and start-script can be found at
$WIESE/temp/mzenzes/wheezy-armhf. Login is user:user or root:root,
bootstrap-directory inside the image is
/home/user/TransTerrA/rock_wheezy_arm-linux-gnueabi. Just boot the image
in one shell and login via ssh in a second one (ssh user at localhost -p
2222) and source the env.sh.

Please make a local copy of the image instead of booting from the
network share -- it's faster and will not corrupt the file system if two
people are trying this at the same time ;-)

Because it was easy to check: Same problem with armel and armhf. I might
try another distribution, but it takes three days of bootstrapping
inside qemu to get this far, so...

Greetings
Martin
--
M.Sc. Martin Zenzes
Space Robotics

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

Phone: +49 (0) 421 178 45 - 6658
Fax: +49 (0) 421 178 45 - 4150
E-Mail: martin.zenzes 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
-----------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: std-orogen.log
Type: text/x-log
Size: 47140 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20140606/6c420ff4/attachment-0001.bin
Sylvain Joyeux
2014-06-10 14:26:42 UTC
Permalink
Hi. Just for clarification (I don't really have time to work on this): you
are not cross-compiling, right ? You are compiling using an all-ARM
toolchain in qemu ?

Sylvain
Post by Martin Zenzes
Hi,
on my quest to (cross-)compile this heap of software for ARM, I met an
hard obstacle a while ago: Some segfault in a ruby-module calling "merge
xml" or something. Just wanted to share this with you, in case someone is
willing to invest time in this. I'm still developing my skills, am not able
to tackle this right now ;-)
The setup: qemu-system-arm, Debian Wheezy, TransTerrA-Rock-bootstrap (But
fails in the core-phase). Logfile attached to this very E-Mail.
The image (downloaded from aurel32) and start-script can be found at
$WIESE/temp/mzenzes/wheezy-armhf. Login is user:user or root:root,
bootstrap-directory inside the image is /home/user/TransTerrA/rock_wheezy_arm-linux-gnueabi.
Just boot the image in one shell and login via ssh in a second one (ssh
user at localhost -p 2222) and source the env.sh.
Please make a local copy of the image instead of booting from the network
share -- it's faster and will not corrupt the file system if two people are
trying this at the same time ;-)
Because it was easy to check: Same problem with armel and armhf. I might
try another distribution, but it takes three days of bootstrapping inside
qemu to get this far, so...
Greetings
Martin
--
M.Sc. Martin Zenzes
Space Robotics
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 5
28359 Bremen, Germany
Phone: +49 (0) 421 178 45 - 6658
Fax: +49 (0) 421 178 45 - 4150
E-Mail: martin.zenzes 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
-----------------------------------------------------------------------
_______________________________________________
Rock-dev mailing list
Rock-dev at dfki.de
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140610/6584887c/attachment.htm
Martin Zenzes
2014-06-10 14:29:18 UTC
Permalink
you are not cross-compiling, right ? You are compiling using an
all-ARM toolchain in qemu ?
Yes, this is ordinary native compiling inside a virtualized ARM system.
I use the "regular" Debian arm toolchain, gcc 4.6.3 and ruby 1.9.3p194
for example.
Sylvain
On Fri, Jun 6, 2014 at 1:03 PM, Martin Zenzes <martin.zenzes at dfki.de
Hi,
on my quest to (cross-)compile this heap of software for ARM, I
met an hard obstacle a while ago: Some segfault in a ruby-module
calling "merge xml" or something. Just wanted to share this with
you, in case someone is willing to invest time in this. I'm still
developing my skills, am not able to tackle this right now ;-)
The setup: qemu-system-arm, Debian Wheezy,
TransTerrA-Rock-bootstrap (But fails in the core-phase). Logfile
attached to this very E-Mail.
The image (downloaded from aurel32) and start-script can be found
at $WIESE/temp/mzenzes/wheezy-armhf. Login is user:user or
root:root, bootstrap-directory inside the image is
/home/user/TransTerrA/rock_wheezy_arm-linux-gnueabi. Just boot the
image in one shell and login via ssh in a second one (ssh
user at localhost -p 2222) and source the env.sh.
Please make a local copy of the image instead of booting from the
network share -- it's faster and will not corrupt the file system
if two people are trying this at the same time ;-)
Because it was easy to check: Same problem with armel and armhf. I
might try another distribution, but it takes three days of
bootstrapping inside qemu to get this far, so...
Greetings
Martin
--
M.Sc. Martin Zenzes
Space Robotics
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 5
28359 Bremen, Germany
Phone: +49 (0) 421 178 45 - 6658
<tel:%2B49%20%280%29%20421%20178%2045%20-%206658>
Fax: +49 (0) 421 178 45 - 4150
<tel:%2B49%20%280%29%20421%20178%2045%20-%204150>
E-Mail: martin.zenzes at dfki.de <mailto:martin.zenzes 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
-----------------------------------------------------------------------
_______________________________________________
Rock-dev mailing list
Rock-dev at dfki.de <mailto:Rock-dev at dfki.de>
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
M.Sc. Martin Zenzes
Space Robotics

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

Phone: +49 (0) 421 178 45 - 6658
Fax: +49 (0) 421 178 45 - 4150
E-Mail: martin.zenzes 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
-----------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140610/805b0b78/attachment-0001.htm
Martin Zenzes
2014-06-13 09:26:32 UTC
Permalink
Hi,

as a follow-up: The typelib-unit tests on ARM fail, which seems to be
related to the orogen-build crash.

user at debian-armhf:~/TransTerrA/rock_wheezy_arm-linux-gnueabi/tools/typelib/build$
./test/typelib_testsuite
Running 43 test cases...
unknown location(0): fatal error in "test_repositories_merge": memory
access violation at address: 0x00000004: no mapping at fault address
/home/user/TransTerrA/rock_wheezy_arm-linux-gnueabi/tools/typelib/test/test_registry.cc(182):
last checkpoint

*** 1 failure detected in test suite "typelib"
--
M.Sc. Martin Zenzes
Space Robotics

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

Phone: +49 (0) 421 178 45 - 6658
Fax: +49 (0) 421 178 45 - 4150
E-Mail: martin.zenzes 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
-----------------------------------------------------------------------
Loading...