On Jun 20, 2013, at 12:33 AM, Cestonaro Thilo <[email protected]>
wrote:
> 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.
hmm, which version of gcc are you using ? I use gcc 4.8 here and it compiles
fine and also runs fine.
> 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 ../../th
ird_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)
> --------------------------------------------------------------------
>
>
> <fix-armv7a-compile.patch.gz>_______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel