From: Cestonaro Thilo <thilo.cestonaro@ts.fujitsu.com>
To: Openembedded Devel List <openembedded-devel@lists.openembedded.org>
Subject: chromium 29.0.1518.2 for armv7a
Date: Thu, 20 Jun 2013 09:33:55 +0200 [thread overview]
Message-ID: <51C2B063.1050804@ts.fujitsu.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 8379 bytes --]
Hey,
I'm trying to compile chromium from meta-browser for a armv7a SoC.
But it always failed with following error[1]. I fixed this bug with the
appended patch and I had to remove
the extra cflag "-Wno-error=unused-local-typedefs" from the recipe to
get it to compile.
But can someone have a look at the patch and tell why the hell this
compiles and the original code not, please?
However the real problem[2] is, that whenever I try to start chromium on
the armv7a machine, it segills right away. Even --help brings the sigill :/.
I've no idea how to fix such a problem; any comments?
Thx.
Greetings
Thilo
1:
--------------------------------------------------------------------
+ cd /home/cestonarot/Projects/utc_soc/chromium/29/chromium-29.0.1518.2
+ do_compile
+ ninja -C
/home/cestonarot/Projects/utc_soc/chromium/29/chromium-29.0.1518.2/out/Release
chrome
ninja: Entering directory
`/home/cestonarot/Projects/utc_soc/chromium/29/chromium-29.0.1518.2/out/Release'
[1/4] CC
obj/third_party/webrtc/modules/audio_processing/ns/audio_processing_neon.nsx_core_neon.o
FAILED: arm-magna-linux-gnueabi-gcc -march=armv7-a
-fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
-mtune=cortex-a8 -mthumb-interwork -mno-thumb
--sysroot=/home/cestonarot/Projects/utc_soc/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/dm814x-evm
-MMD -MF
obj/third_party/webrtc/modules/audio_processing/ns/audio_processing_neon.nsx_core_neon.o.d
'-DWEBRTC_SVNREVISION="Unavailable(issue687)"' -D_FILE_OFFSET_BITS=64
-DUSE_LINUX_BREAKPAD -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
-DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1
-DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES=1
-DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS
-DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH
-DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1
-DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1
-DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1
-DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1
-DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1
-DENABLE_LANGUAGE_DETECTION=1 -DENABLE_PRINTING=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_MANAGED_USERS=1
-DWEBRTC_CHROMIUM_BUILD -DWEBRTC_ARCH_ARM -DWEBRTC_ARCH_ARM_V7
-DWEBRTC_ARCH_ARM_NEON -DWEBRTC_LINUX -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2
-I../../third_party/webrtc -I../../third_party -I../..
-I../../third_party/webrtc/common_audio/resampler/include
-I../../third_party/webrtc/common_audio/signal_processing/include
-I../../third_party/webrtc/common_audio/vad/include -fstack-protector
--param=ssp-buffer-size=4 -Werror -pthread -fno-exceptions
-fno-strict-aliasing -Wall -Wno-unused-parameter
-Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC
-mfpu=neon -flax-vector-conversions -march=armv7-a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp -mthumb -O2 -fno-ident -fdata-sections
-ffunction-sections -c
../../third_party/webrtc/modules/audio_processing/ns/nsx_core_neon.c -o
obj/third_party/webrtc/modules/audio_processing/ns/audio_processing_neon.nsx_core_neon.o
{standard input}: Assembler messages:
{standard input}:274: Error: ']' expected -- `vld1.16 {d22},[r9:64]'
ninja: build stopped: subcommand failed.
--------------------------------------------------------------------
2:
--------------------------------------------------------------------
bash-4.2$ /usr/bin/gdb /usr/bin/chrome/chrome
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-magna-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/chrome/chrome...done.
(gdb) run
Starting program: /usr/bin/chrome/chrome
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library,
thread debugging will not be available.
Program received signal SIGILL, Illegal instruction.
0x41b09ecc in
___ZNSt6vectorISbItN4base20string16_char_traitsESaItEESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEjRKS3__veneer
()
(gdb) bt full
#0 0x41b09ecc in
___ZNSt6vectorISbItN4base20string16_char_traitsESaItEESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEjRKS3__veneer
()
No symbol table info available.
#1 0x4298c190 in __libc_csu_init (argc=1, argv=0xbe8eeb34,
envp=0xbe8eeb3c) at elf-init.c:124
i = <optimized out>
#2 0x4483553c in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#3 0x40318944 in _start ()
No symbol table info available.
(gdb)
--------------------------------------------------------------------
[-- Attachment #2: fix-armv7a-compile.patch.gz --]
[-- Type: application/gzip, Size: 434 bytes --]
next reply other threads:[~2013-06-20 7:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 7:33 Cestonaro Thilo [this message]
2013-06-20 7:37 ` chromium 29.0.1518.2 for armv7a Khem Raj
2013-06-20 8:19 ` Cestonaro Thilo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51C2B063.1050804@ts.fujitsu.com \
--to=thilo.cestonaro@ts.fujitsu.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox