Files
poky/meta/recipes-devtools
Martin Jansa e7ce28c8b0 binutils: backport DWARF-5 support for gold
* DWARF-5 is now used by default with gcc-11, causing
  11.1.0/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
  collect2: error: ld returned 1 exit status
  in various projects (runc-opencontainers, libhybris, collada-dom)

* https://gcc.gnu.org/gcc-11/changes.html

  For targets that produce DWARF debugging information GCC now defaults to DWARF version 5
  (with the exception of VxWorks and Darwin/Mac OS X which default to version 2 and
  AIX which defaults to version 4). This can produce up to 25% more compact debug
  information compared to earlier versions.

  To take full advantage of DWARF version 5 GCC needs to be build against binutils version 2.35.2 or higher.
  When GCC is build against earlier versions of binutils GCC will still emit DWARF version 5 for
  most debuginfo data, but will generate version 4 debug line tables (even when explicitly given -gdwarf-5).

  The following debug information consumers can process DWARF version 5:

  GDB 8.0, or higher
  valgrind 3.17.0
  elfutils 0.172, or higher (for use with systemtap, dwarves/pahole, perf and libabigail)
  dwz 0.14
  Programs embedding libbacktrace are urged to upgrade to the version shipping with GCC 11.

  To make GCC 11 generate an older DWARF version use -g together with -gdwarf-2, -gdwarf-3 or -gdwarf-4.

(From OE-Core rev: d07d4d739ae17787017f771dd2068fda0e836722)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:15 +01:00
..
2021-05-09 23:30:15 +01:00
2021-05-11 11:54:26 +01:00
2021-05-09 23:30:15 +01:00
2021-05-09 23:30:16 +01:00
2021-01-20 22:46:18 +00:00
2021-05-09 23:30:15 +01:00
2021-05-09 23:30:15 +01:00
2021-03-20 18:54:56 +00:00
2021-04-18 11:37:25 +01:00
2021-01-20 22:46:18 +00:00
2021-05-01 22:48:17 +01:00
2021-03-31 00:06:23 +01:00
2020-07-27 19:58:09 +01:00
2021-05-09 23:30:15 +01:00
2021-04-18 11:37:26 +01:00
2021-04-23 10:12:10 +01:00
2021-05-02 23:21:42 +01:00
2020-03-08 08:21:11 +00:00
2021-05-09 23:30:15 +01:00
2019-02-15 16:05:37 +00:00
2021-04-23 10:12:10 +01:00
2021-01-01 23:15:13 +00:00
2021-05-02 23:20:12 +01:00
2021-05-09 23:30:16 +01:00
2021-05-09 23:30:16 +01:00
2021-04-26 14:14:42 +01:00
2021-04-18 11:37:25 +01:00
2021-05-06 08:41:26 +01:00
2021-05-11 11:54:26 +01:00
2021-05-09 23:30:14 +01:00