Hello,

I am quite new to angstrom and openembedded. Currently I try to build a
BeagleBone image.

I have read the instructions from your ReadMe and everything works fine, when I
compile a  systemd-image or a  console-image. But when I add chromium to the
image, I ran into some errors. I hope you can help me.

These is my build configuration:

Build Configuration:
BB_VERSION        = "1.19.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-angstrom-linux-gnueabi"
MACHINE           = "beaglebone"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v2013.06"
TUNE_FEATURES     = "armv7a vfp thumb neon callconvention-hard"
TARGET_FPU        = "vfp-neon"
meta-angstrom     =
"angstrom-v2013.06-yocto1.4:96ac6bee38cd5b046461775e01e69a1090362e6e"

And these are the errors I get:

DEBUG: Executing shell function do_compile
ninja: Entering directory
`/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/chromium/24.0.1312.52-r1/chromium-24.0.1312.52/out/Release'
[1/10856] ACTION Generating resources from
app/resources/locale_settings_linux.grd
[2/10856] CXX obj/third_party/re2/util/re2.strutil.o
[3/10856] CC obj/third_party/libwebp/dsp/libwebp_dsp_neon.dec_neon.o
[4/10856] ACTION Validate inspector protocol for backwards
compatibility and generate version file
[5/10856] COPY ../../third_party/adobe/flash/flapper_version.h
gen/flapper_version.h
[6/10856] CC obj/third_party/zlib/contrib/minizip/minizip.zip.o
[7/10856] CC obj/third_party/zlib/contrib/minizip/minizip.unzip.o
[8/10856] CXX obj/third_party/re2/re2/re2.bitstate.o
[9/10856] CC 
obj/base/third_party/dynamic_annotations/dynamic_annotations.dynamic_annotations.o
[10/10856] CC obj/third_party/zlib/contrib/minizip/minizip.ioapi.o
[11/10856] CXX obj/third_party/re2/re2/re2.dfa.o
FAILED: arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm
-mthumb-interwork -mfloat-abi=hard -mfpu=neon
--sysroot=/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone
-MMD -MF obj/third_party/libwebp/dsp/libwebp_dsp_neon.dec_neon.o.d
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
-DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DENABLE_ONE_CLICK_SIGNIN
-DGTK_DISABLE_SINGLE_INCLUDES=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1
-DUSE_PROPRIETARY_CODECS -DENABLE_CONFIGURATION_POLICY
-DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=1
-DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1
-DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1
-DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1
-DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1
-DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/libwebp -pthread
-fno-exceptions -fno-strict-aliasing -Wno-unused-parameter
-Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC
-mfpu=neon -Wno-format -Wno-unused-result -mthumb -march=armv7-a
-mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon -O2 -fno-ident
-fdata-sections -ffunction-sections   -c
../../third_party/libwebp/dsp/dec_neon.c -o
obj/third_party/libwebp/dsp/libwebp_dsp_neon.dec_neon.o
In file included from
/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/features.h:399:0,
                 from
/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/inttypes.h:25,
                 from ../../third_party/libwebp/dsp/./../webp/types.h:18,
                 from ../../third_party/libwebp/dsp/./dsp.h:15,
                 from ../../third_party/libwebp/dsp/dec_neon.c:13:
/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/gnu/stubs.h:7:29:
fatal error: gnu/stubs-soft.h: No such file or directory
compilation terminated.
FAILED: arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm
-mthumb-interwork -mfloat-abi=hard -mfpu=neon
--sysroot=/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone
-MMD -MF obj/third_party/zlib/contrib/minizip/minizip.unzip.o.d
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
-DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DENABLE_ONE_CLICK_SIGNIN
-DGTK_DISABLE_SINGLE_INCLUDES=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1
-DUSE_PROPRIETARY_CODECS -DENABLE_CONFIGURATION_POLICY
-DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=1
-DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1
-DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1
-DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1
-DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1
-DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/zlib -I../..
-pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parameter
-Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC
-Wno-format -Wno-unused-result -mthumb -march=armv7-a -mtune=cortex-a8
-mfloat-abi=softfp -mfpu=neon -O2 -fno-ident -fdata-sections
-ffunction-sections   -c
../../third_party/zlib/contrib/minizip/unzip.c -o
obj/third_party/zlib/contrib/minizip/minizip.unzip.o
In file included from
/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/features.h:399:0,
                 from
/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/stdio.h:27,
                 from ../../third_party/zlib/contrib/minizip/unzip.c:67:
/mnt/exthdb/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/gnu/stubs.h:7:29:
fatal error: gnu/stubs-soft.h: No such file or directory
compilation terminated.
...


I get several gnu/stubs-soft.h errors.

I am not sure if this an angstrom or a chromium error or something else. It
seems to me, that angstrom uses hard float and bitbake tries to compile chromium
with softfloat.

Do you have a solution, to compile chromium for the BeagleBone?

Any help is welcome

Falk

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to