Hi
Yesterday I looked at bug [1] in chromium-browser but checked oneiric version: 12.0.742.91~r87961. It failed on linking to CUPS libraries so I looked at upstream repository and found fix [2]. With patch applied it failed on same place:
LINK(target) out/Release/chrome [keep-alive] czw, 16 cze 2011, 18:21:39 CEST (441 min) /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 make[1]: Leaving directory `/home/hrw/devel/porting-jam/chromium-browser-12.0.742.91~r87961/build-tree/src' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
According to bugs [3][4] package may work when built without -fPIE but (as Loic wrote in [3]) "-fPIE is needed for some security features and web browsers are a critical piece of software that we want to protect".
May someone take a look at this issue?
One warning: this fail happens after 440 minutes of build on PandaBoard with usb hdd (took 1.8GB of space). If needed I can provide account on my panda with access to build directory (but this rather tomorrow then today) - IPv6 address only.
1. https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/791283 2. http://git.chromium.org/gitweb/?p=chromium/chromium.git%3Ba=patch%3Bh=c2b99f... 3. https://bugs.launchpad.net/binutils-linaro/+bug/641126 4. http://code.google.com/p/chromium/issues/detail?id=55439
On Fri, Jun 17, 2011 at 4:57 AM, Marcin Juszkiewicz marcin.juszkiewicz@linaro.org wrote:
Hi
Yesterday I looked at bug [1] in chromium-browser but checked oneiric version: 12.0.742.91~r87961. It failed on linking to CUPS libraries so I looked at upstream repository and found fix [2]. With patch applied it failed on same place:
LINK(target) out/Release/chrome [keep-alive] czw, 16 cze 2011, 18:21:39 CEST (441 min) /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 make[1]: Leaving directory `/home/hrw/devel/porting-jam/chromium-browser-12.0.742.91~r87961/build-tree/src' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
According to bugs [3][4] package may work when built without -fPIE but (as Loic wrote in [3]) "-fPIE is needed for some security features and web browsers are a critical piece of software that we want to protect".
May someone take a look at this issue?
Can do. Has it been reported in upstream binutils?
-- Michael
linaro-toolchain@lists.linaro.org