Files
poky/meta/recipes-devtools
Martin Jansa f1b820e368 binutils: backport fix for gold with theads enabled from 2.36.0
* building chromium with gold and threads triggers this issue:
  [1/2] SOLINK ./libcbe.so
  FAILED: libcbe.so libcbe.so.TOC
  python "../../git/src/build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libcbe.so" --tocfile="./libcbe.so.TOC" --output="./libcbe.so" -- i686-oe-linux-g++  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=chromium/84.0.4147.89-4-r41.1/recipe-sysroot -shared -Wl,-soname="libcbe.so" -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -fuse-ld=gold -Wl,--threads -Wl,--thread-count=4 -m32 -Wl,-O2 -Wl,--gc-sections -rdynamic --sysroot=../../recipe-sysroot -L../../recipe-sysroot/lib -L../../recipe-sysroot/usr/lib -Lchromium/84.0.4147.89-4-r41.1/recipe-sysroot -o "./libcbe.so" @"./libcbe.so.rsp"
  collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
  compilation terminated.

* removing threads/thread-count is one possible work around, but then
  the use of gold for performance makes even less sense, that's why
  chromium from meta-browser uses LLD by default:
  15228b0190
  https://lld.llvm.org/#performance
  but lets backport this as other recipes might also reproduce this
  issue

(From OE-Core rev: eaf4548a58d1b926b38beab28d75f8710c8b078a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-19 12:55:20 +01:00
..
2020-09-05 22:19:19 +01:00
2020-06-04 13:27:31 +01:00
2021-02-26 15:30:40 +00:00
2020-07-25 15:11:05 +01:00
2020-09-08 23:03:04 +01:00
2020-08-06 15:12:39 +01:00
2020-06-28 08:35:59 +01:00
2020-07-18 11:06:32 +01:00
2020-05-05 13:19:54 +01:00
2020-06-24 18:06:43 +01:00
2021-01-27 09:32:45 +00:00
2020-05-30 12:32:48 +01:00
2021-03-10 00:24:25 +00:00
2021-03-10 00:24:25 +00:00
2020-09-05 22:19:20 +01:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2020-07-02 16:18:03 +01:00
2020-07-27 19:58:09 +01:00
2020-05-12 15:20:42 +01:00
2020-09-03 09:44:30 +01:00
2020-12-18 23:01:48 +00:00
2019-05-27 17:06:34 +01:00
2020-03-08 08:21:11 +00:00
2020-08-25 16:00:11 +01:00
2019-02-15 16:05:37 +00:00
2019-12-28 23:25:42 +00:00
2020-09-03 09:44:30 +01:00
2020-09-03 09:44:30 +01:00
2021-02-26 15:30:39 +00:00
2020-06-28 23:37:38 +01:00
2019-12-09 12:00:43 +00:00
2021-01-12 14:25:13 +00:00
2020-09-02 16:00:46 +01:00
2020-06-09 13:13:59 +01:00
2018-11-14 11:14:39 +00:00
2021-03-28 22:31:55 +01:00
2021-03-28 22:31:55 +01:00
2021-01-04 11:45:47 +00:00
2020-05-18 06:33:36 +01:00
2021-02-26 15:30:39 +00:00
2020-02-28 23:11:28 +00:00
2020-08-25 16:00:10 +01:00
2021-02-26 15:30:40 +00:00