Compiling chromium (berkelium) on Banana PI

OP #3914093
Hi Guys,

I am trying at the moment to chromium (berkelium release)
compiled this with hardware acceleration support for playing videos.

I do this according to the tutorial created by hellbender from the 
raspberry pi community.
rpiserver.breggen.nl/building_xibo.html


These are the arguments that I used.
include.gypi
{
'variables': {
'target_arch': 'arm',
'disable_nacl': 1, # NaCL does not build for ARM.
'linux_use_tcmalloc': 0, # tcmalloc does not build for ARM.
'armv7': 1, # Optional, for targeting ARMv7.
'armv6': 0, # Optional, for targeting ARMv7.
'arm_thumb': 0, # Optional, for targeting thumb. Combine with armv7 to 
target thumb2.
'arm_neon': 1, # Optional, to disable NEON. 1 is the default, and most 
people want to keep it that way.
'arm_fpu': 'vfp2', # Optional, to select which version of vfp to use if 
NEON is off. Default is vfpv3.
'verbose': 1,
'use_system_yasm': 0,
'use_system_v8': 1
}
}

arm.env
export CXX=g++
export CC=gcc
export AR=ar
export AS=as
export RANLIB=ranlib

export CFLAGS="-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 
-march=armv7 -mfpu=vfp -mfloat-abi=hard"

export CCFLAGS=$CFLAGS

export CXXFLAGS="-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0/ 
-I/usr/lib/glib-2.0/include/ -I/usr/include/pango-1.0 
-I/usr/include/cairo/ -I/usr/include/librsvg-2 -O3 -march=armv6 
-mfpu=vfp -mfloat-abi=hard"

export GYP_DEFINES="target_arch=arm disable_nacl=1 linux_use_tcmalloc=0 
armv6=1 arm_thumb=0 use_libjpeg_turbo=0"


But unfortunately he ran at the following errors:

/usr/bin/ld: failed to merge target specific data of file 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavcodec/arm/dsputil_init_armv6.o
/usr/bin/ld: error: 
out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so uses VFP 
register arguments, 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavcodec/arm/dsputil_init_vfp.o  does not
/usr/bin/ld: failed to merge target specific data of file 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavcodec/arm/dsputil_init_vfp.o
/usr/bin/ld: error: 
out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so uses VFP 
register arguments, 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavcodec/arm/fft_init_arm.o  does not
/usr/bin/ld: failed to merge target specific data of file 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavcodec/arm/fft_init_arm.o
/usr/bin/ld: error: 
out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so uses VFP 
register arguments, 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavutil/arm/cpu.o  does not
/usr/bin/ld: failed to merge target specific data of file 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavutil/arm/cpu.o
/usr/bin/ld: error: 
out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so uses VFP 
register arguments, 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavcodec/arm/dsputil_init_neon.o  does not
/usr/bin/ld: failed to merge target specific data of file 
out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/l 
ibavcodec/arm/dsputil_init_neon.o
collect2: ld returned 1 exit status
third_party/ffmpeg/ffmpegsumo.target.mk:274: recipe for target 
'out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so' failed
make: *** [out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so] 
Error 1
make: *** Waiting for unfinished jobs....
Failed to install: chromium


does anyone here have experience with it? And what am I doing wrong?

Thanks in advance!

Reply

A question of your own? This thread is over 11 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.