Issue metadata
Sign in to add a comment
|
Link issue for Chromium Linux for mipsel after roll to binutils 2.28
Reported by
milko.le...@mips.com,
Dec 11 2017
|
||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Steps to reproduce the problem: 1. build Chromium for mipsel gn gen out/mips32r2 --args="target_os=\"linux\" target_cpu=\"mipsel\" mips_arch_variant=\"r2\"" ninja -C out/mips32r2 all What is the expected behavior? All Chromium targets are built. What went wrong? There is a linker issue: [10267/69712] SOLINK ./libGLESv2.so FAILED: libGLESv2.so libGLESv2.so.TOC python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libGLESv2.so" --tocfile="./libGLESv2.so.TOC" --output="./libGLESv2.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -fuse-ld=gold -B../../third_party/binutils/Linux_x64/Release/bin -Wl,--icf=all --target=mipsel-linux-gnu -Werror -Wl,-O1 -Wl,--gc-sections -nostdlib++ --sysroot=../../build/linux/debian_stretch_mips-sysroot -L../../build/linux/debian_stretch_mips-sysroot/lib/mipsel-linux-gnu -Wl,-rpath-link=../../build/linux/debian_stretch_mips-sysroot/lib/mipsel-linux-gnu -L../../build/linux/debian_stretch_mips-sysroot/usr/lib/mipsel-linux-gnu -Wl,-rpath-link=../../build/linux/debian_stretch_mips-sysroot/usr/lib/mipsel-linux-gnu -o "./libGLESv2.so" -Wl,-soname="libGLESv2.so" @"./libGLESv2.so.rsp" obj/third_party/angle/src/vulkan_support/libvulkan_loader.a(loader.o):loader.c:function loader_instance_tls_heap_alloc: error: relocation overflow obj/third_party/angle/src/vulkan_support/libvulkan_loader.a(loader.o):loader.c:function loader_instance_tls_heap_free: error: relocation overflow clang: error: linker command failed with exit code 1 (use -v to see invocation) Did this work before? Yes r522145 Chrome version: r522146 Channel: n/a OS Version: Ubuntu Flash Version:
,
Dec 11 2017
One possible solution is to patch gold in 2.28: https://chromium-review.googlesource.com/c/chromium/src/+/819350 Other possibility is to roll to bintuils 2.29 which contains this patch.
,
Dec 12 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/07ea4ec40d4b978fd04612956342e126a7a02041 commit 07ea4ec40d4b978fd04612956342e126a7a02041 Author: Tom Anderson <thomasanderson@chromium.org> Date: Tue Dec 12 01:31:23 2017 Roll binutils to 2.29.1 BUG= 793797 R=thestig@chromium.org,yyanagisawa@chromium.org CC=milko.leporis@mips.com Change-Id: I04180e7a59f02b7492cc63159ecf17b7b87cf7f0 Reviewed-on: https://chromium-review.googlesource.com/820293 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#523294} [modify] https://crrev.com/07ea4ec40d4b978fd04612956342e126a7a02041/third_party/binutils/Linux_ia32/binutils.tar.bz2.sha1 [modify] https://crrev.com/07ea4ec40d4b978fd04612956342e126a7a02041/third_party/binutils/Linux_x64/binutils.tar.bz2.sha1 [modify] https://crrev.com/07ea4ec40d4b978fd04612956342e126a7a02041/third_party/binutils/README.chromium [modify] https://crrev.com/07ea4ec40d4b978fd04612956342e126a7a02041/third_party/binutils/build-all.sh [delete] https://crrev.com/7c2bb0ec1b48ff678ce674b5c5d21d4fd5452e79/third_party/binutils/icf-align.patch [delete] https://crrev.com/7c2bb0ec1b48ff678ce674b5c5d21d4fd5452e79/third_party/binutils/icf-rel.patch [delete] https://crrev.com/7c2bb0ec1b48ff678ce674b5c5d21d4fd5452e79/third_party/binutils/long-plt.patch
,
Dec 12 2017
Thanks for the binutils roll. Issue with linker is now fixed.
,
Dec 12 2017
|
|||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||
Comment 1 by milko.le...@mips.com
, Dec 11 2017