Comment 3 for bug 641126

Revision history for this message
In , Marcin Juszkiewicz (hrw) wrote :

Some time ago I saw a bug reported in Ubuntu that Chromium browser does not build on armel architecture. I took a look at it, tried few versions and got to point where I lack ideas what can be wrong.

https://bugs.launchpad.net/binutils-linaro/+bug/641126 is original bug with few duplicates providing extra information.

Linking fails:

chromium-browser 14.0.807.0~svn20110630r91077:
/usr/bin/ld.bfd.real: out/Release/obj.target/webkit/support/../../glue/webkit/plugins/ppapi/ppb_opengles_impl.o(.text._ZN6webkit5ppapi
12_GLOBAL__N_115VertexAttrib4fvEijPKf+0x44): unresolvable R_ARM_THM_JUMP24 relocation against symbol `memcpy@@GLIBC_2.4'
/usr/bin/ld.bfd.real: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [out/Release/chrome] Error 1

chromium-browser 12.0.742.91~r87961:
/usr/bin/ld.bfd.real: out/Release/obj.target/third_party/cacheinvalidation/../../cacheinvalidation_proto_cpp/gen/protoc_out/google/cacheinvalidation/internal.pb.o(.text._ZN12invalidation21ClientToServerMessage27MergePartialFromCodedStreamEPN6google8protobuf2io16CodedInputStreamE+0x7d2): unresolvable R_ARM_THM_CALL relocation against symbol `operator new(unsigned int)@@GLIBCXX_3.4'
/usr/bin/ld.bfd.real: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [out/Release/chrome] Error 1

I got both R_ARM_THM_CALL and R_ARM_THM_JUMP24 using binutils 2.21.5x snapshots. Linking of 14.x version took ~9h and 3GB of memory (920MB physical, rest was swap on slow usb hdd). 12.x one took much less time - 7h for whole build (do not remember linking time)