Pybombs error

I decided to try out pybombs on one of my Beaglebones, and attempted to
install gnuradio. Below is the error message I received, if this helps.

$ uname -a
Linux arm 3.2.42-psp27 #1 Sun Apr 28 20:07:49 UTC 2013 armv7l armv7l
armv7l GNU/Linux

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.7/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: …/src/configure -v --with-pkgversion=‘Ubuntu/Linaro
4.7.3-1ubuntu1’ --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
–enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
–program-suffix=-4.7 --enable-shared --enable-linker-build-id
–libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
–with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib
–enable-nls --with-sysroot=/ --enable-clocale=gnu
–enable-libstdcxx-debug --enable-libstdcxx-time=yes
–enable-gnu-unique-object --disable-libitm --enable-plugin
–with-system-zlib --enable-objc-gc --with-cloog
–enable-cloog-backend=ppl --disable-cloog-version-check
–disable-ppl-version-check --enable-multiarch --enable-multilib
–disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16
–with-float=hard --with-mode=thumb --disable-werror
–enable-checking=release --build=arm-linux-gnueabihf
–host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)

$ cmake --version
cmake version 2.8.10.1


Scanning dependencies of target uhd
[ 16%] [ 16%] [ 17%] [ 18%] Building CXX object
lib/CMakeFiles/uhd.dir/types/device_addr.cpp.o
Building CXX object lib/CMakeFiles/uhd.dir/types/ranges.cpp.o
Building CXX object lib/CMakeFiles/uhd.dir/types/mac_addr.cpp.o
Building CXX object lib/CMakeFiles/uhd.dir/types/sensors.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make[2]: *** [lib/CMakeFiles/uhd.dir/types/ranges.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs…
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make[2]: *** [lib/CMakeFiles/uhd.dir/types/device_addr.cpp.o] Error 4
make[1]: *** [lib/CMakeFiles/uhd.dir/all] Error 2
make: *** [all] Error 2
bash return val = 2
Traceback (most recent call last):
File “./pybombs”, line 91, in
install(p,True);
File “/home/ubuntu/pybombs/mod_pybombs/pybombs_ops.py”, line 49, in
install
global_recipes[pkg].install();
File “/home/ubuntu/pybombs/mod_pybombs/recipe.py”, line 512, in
install
st = self.install_src();
File “/home/ubuntu/pybombs/mod_pybombs/recipe.py”, line 582, in
install_src
self.install_order[step]1;
File “/home/ubuntu/pybombs/mod_pybombs/recipe.py”, line 612, in make
assert(st == 0);
AssertionError

FWIW, looking through the code, pybombs looks like a really cool
project. If there is a more appropriate venue or format for bug
reports, please let me know.

Best regards,
Blake Morgan

On Mon, Jun 24, 2013 at 08:19:04PM -0500, Blake Morgan wrote:

I decided to try out pybombs on one of my Beaglebones, and attempted
to install gnuradio. Below is the error message I received, if this
helps.

Are you running pybombs as sudo? Put it otherwise, are you trying to
install to a place like /usr/local as regular user?

MB


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

On 06/24/2013 09:19 PM, Blake Morgan wrote:

I decided to try out pybombs on one of my Beaglebones, and attempted to
install gnuradio. Below is the error message I received, if this helps.

This is the key issue"

make[2]: *** Waiting for unfinished jobs…
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.

This is a sign the OOM killer killed one of he compiler processes. This
is a known issue with building gnuradio. You will typically see it on
low memory machines (embedded stuff), but you can see it on intensive
x86 build machines also :slight_smile:

Basically, building gnuradio on anything other than a beefy x86 is
silly. I’ve heard of builds on ARM succeeding, but build times are up to
like 12 hours. Learn to cross compile.

Philip

See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.

On 06/25/2013 05:10 AM, Philip B. wrote:

On 06/24/2013 09:19 PM, Blake Morgan wrote:

I decided to try out pybombs on one of my Beaglebones, and attempted to
install gnuradio. Below is the error message I received, if this helps.

This is the key issue"

Heh, I suspected as much.

Basically, building gnuradio on anything other than a beefy x86 is
silly. I’ve heard of builds on ARM succeeding, but build times are up to
like 12 hours. Learn to cross compile.
Yes, I have successfully cross compiled gnuradio for the beaglebone in
the past, and it is happily running on one in my lab as I write. The
point was to see what would happen using the pybombs tool. I think
pybombs is a cool tool, and I liked how it worked on an x86 machine over
the weekend, so I thought I’d try a different architecture. Does the
pybombs tool accept cross compile options? It isn’t obvious that it does
from looking at config.defaults.

Regards,

Blake

In the recipe itself, you should be able to put:

var config_opt =

Tim