Commit Graph

7894 Commits

Author SHA1 Message Date
wangmy
d536991018 python3-pygments: upgrade 2.12.0 -> 2.13.0
(From OE-Core rev: 084615ce0547b49ee96931cef2915125ca0ff893)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-30 10:33:35 +01:00
Khem Raj
e5f344adbe gcc: Upgrade to 12.2.0
GCC 12.2 is the first bug-fix release from the GCC 12 branch containing
important fixes for regressions and serious bugs in GCC 12.1 with more
than 71 bugs fixed since the previous release comprising of  a number
of libstdc++ and C++ and fortran fixes [1]

Remove backported patch to fix libsanitizers with glibc 2.36, its
already present in 12.2

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=12.2

(From OE-Core rev: b73f5c0a7b94d9d04dd69fe5a5b871eab05714a3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:07 +01:00
wangmy
fa7c52356a pkgconf: upgrade 1.9.2 -> 1.9.3
Changes from 1.9.2 to 1.9.3:
----------------------------
* Fix a bunch of minor code issues pointed out using Clang static analyzer.
* New API: pkgconf_solution_free(), which frees a compiled solution graph.
* Fix behavior when overriding global variables with '--define-variable'.

(From OE-Core rev: a48dc992ebf8e664bde4de61ba937a87fc142533)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:07 +01:00
wangmy
6e1d1d52e2 librepo: upgrade 1.14.3 -> 1.14.4
Changelog:
==========
    Use nanosec precision for timestamp of checksum cache
    Fix alloc/free mismatches and memory leaks

(From OE-Core rev: e7038d10ca3be02a2c2f7772c992e2481ed8c466)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:07 +01:00
wangmy
1d3975aa3d libdnf: upgrade 0.67.0 -> 0.68.0
Changelog:
==========
New features:
    context: Support (NEVRA forms, provides, file provides) including globs in the dnf_context_remove func

Bug fixes:
    dnf-context: Disconnect signal handler before dropping file monitor ref
    Filter out advisory pkgs with different arch during advisory upgrade, fixes possible problems in dependency resulution
    Gracefully handle failure to open repo primary file
    Fix listing a repository without cpeid

(From OE-Core rev: 57893d38c2725c07b29d974e184be37b3d265d9b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:07 +01:00
wangmy
609b059b01 btrfs-tools: upgrade 5.18.1 -> 5.19
0001-device-utils.c-Use-linux-mount.h-instead-of-sys-moun.patch
removed since it's included in 5.19

Changelog:
==========
  * send: support protocol version 2
  * fi show: print all missing devices
  * device stats: add tabular output
  * replace: add alias to device group (device replace)
  * check: validate free space tree items
  * fixes:
     * convert: support large filesystems (block count > 32bit)
     * recognize filesystems with verity enabled
     * mkfs and DUP could write out of order, fix it for zoned mode
  * build:
     * optional support for LZO and ZSTD in receive
     * compatibility with glibc 2.36 (mount.h)
     * add fallbacks for new GCC builtins
  * other:
     * corrupt-block: target specific items, offsets
     * documentation updates, new pages from wiki
     * new tests

(From OE-Core rev: 53ead3fb0e51e71207dfd62f43f0ec4304524dcc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:06 +01:00
Khem Raj
45be110a8d ccache: Fix build with gcc12 on musl
(From OE-Core rev: c74739081a24dd47bfdc5798d19f1c8bf8d8a679)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:06 +01:00
Khem Raj
c70ef0a180 ccache: Update the patch status
(From OE-Core rev: 00967a181f56b5428c50c04aaafb7ea50a5cbc82)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:06 +01:00
Chen Qi
d7c48cefb1 python3-requests: add python3-compression dependency
python3-requests makes use of 'zipfile' module, so we need to add
python3-compression as a dependency, otherwise 'import requests'
errors out.

(From OE-Core rev: 6cfe2ed2234a76a3f9da194097781e8d6ce1353b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:06 +01:00
Peter Bergin
0823b7bc49 rust-cross-canadian: rename shell variables for easier appends
Make unique shell variable names for cargo and rust
setup scripts. This change will make it easier to append to the
scripts in a bbappend file by using the variable for the script.
Before this change it was only possible for the last script as
they shared the same variable name.

(From OE-Core rev: 74307f57ad0b3c538be0add11028e4e6199a7662)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:06 +01:00
Konrad Weihmann
3e2fc11170 python3: disable user site-pkg for native target
by setting the ENABLE_USER_SITE flag globally.
This is the recommended way according to
https://peps.python.org/pep-0370/#implementation

(From OE-Core rev: 71bf8e9e418af6213de17903f54502b5b1055872)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:06 +01:00
Chen Qi
fc4b126856 python3-hypothesis: revert back to 6.46.11
This package was broken since it was upgraded to 6.48, because
it started using 'exceptiongroup' since then, which is missing
in any meta layer. On target, when importing hypothesis, we meet
the following error:

  Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/hypothesis/internal/compat.py", line 18, in <module>
  BaseExceptionGroup = BaseExceptionGroup
  NameError: name 'BaseExceptionGroup' is not defined. Did you mean: 'BaseException'?
  ModuleNotFoundError: No module named 'exceptiongroup'

The related codes as below:
try:
    BaseExceptionGroup = BaseExceptionGroup
    ExceptionGroup = ExceptionGroup  # pragma: no cover
except NameError:
    from exceptiongroup import (
        BaseExceptionGroup as BaseExceptionGroup,
        ExceptionGroup as ExceptionGroup,
    )

We can see that it tries to use ExceptionGroup and falls back to
use an import from exceptiongroup module.

Looking at the https://github.com/agronholm/exceptiongroup, it says:
"""
This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11.
"""

So instead of adding a new recipe for exception group, it might be
better to revert to a working version and wait for python 3.11 to release.

(From OE-Core rev: 37c5b171d7de25b131e77b80d37f8481308bd6fe)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:48:55 +01:00
Sakib Sajal
dfc3931eb0 qemu: fix CVE-2022-0216
Backport required patches to fix CVE-2022-0216.

(From OE-Core rev: 938c69e9ca550038fdb2ee3a39d20b58bb98417d)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:24:11 +01:00
Sakib Sajal
4691713991 qemu: fix CVE-2021-3507
Backport required patches to fix CVE-2021-3507.

(From OE-Core rev: 1a22fa10ef4ed80b4ef3cdd12eb4191a8c320e0a)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:24:11 +01:00
Khem Raj
d9c8d84f2b binutils: Upgrade to latest on 2.39 release branch
This brings in few bugfixes which we need e.g. fix elfutils ptests we
need

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e8cf73215187b0c08679d726a5cc7c019fa3ea2e

changsets in this update

* 9e855cffa1f PR29466, APP/NO_APP with .linefile
* e3b5d935247 PR29462, internal error in relocate, at powerpc.cc:10796
* e8cf7321518 gas/Dwarf: properly skip zero-size functions
* 9284b63ea39 ld: fix NEWS typos

(From OE-Core rev: 30e902f42d4a0205d2a75bf9b2a9cc5e8db582be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:43 +01:00
Alexander Kanavin
5aca6cdb59 python3-setuptools: update 63.4.1 -> 65.0.2
(From OE-Core rev: 1647f6a6123f544a67aa3fb7accce82ba0d21420)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
bd4571c584 python3-hatchling: update 1.6.0 -> 1.8.0
(From OE-Core rev: d9066ca0012c171bd9b7c697aa109ebc1dd85374)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
aec2c0f364 strace: upgrade 5.18 -> 5.19
(From OE-Core rev: cc4e131118f4538a96de7b21edec06c692ac7a7f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
4e5b0dbea8 python3-pytz: upgrade 2022.1 -> 2022.2.1
(From OE-Core rev: eff1c2ecae7eb7672ec9000b8a3f3cd9632be291)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
2938fff2d6 python3-pyelftools: upgrade 0.28 -> 0.29
(From OE-Core rev: c87f97a8f49c05e03cd4ed9736b1c6c699fbd020)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
4ab07d117d python3-pbr: upgrade 5.9.0 -> 5.10.0
(From OE-Core rev: ab94a8f171c9caecdce20452b6e39056525bf7f4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
6f35073051 python3-numpy: upgrade 1.23.1 -> 1.23.2
(From OE-Core rev: 627d7b9c9d010ccf3125f929a6d584ced9804e13)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
c55effa304 python3-more-itertools: upgrade 8.13.0 -> 8.14.0
(From OE-Core rev: 38e0d7e2f5d4e76ffd9211dd1dfc531aed70e4bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
759497be01 python3-dtschema: upgrade 2022.8 -> 2022.8.1
(From OE-Core rev: 885f36688fe6de524b50b54bee4c1ca92d198f50)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
f62e0a2ad4 pkgconf: upgrade 1.8.0 -> 1.9.2
(From OE-Core rev: b1821fbf379844dee8de8481c8ab1904368f9e34)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
4dc8362117 meson: upgrade 0.63.0 -> 0.63.1
(From OE-Core rev: b5200ffe7ec557f492dd4f783935b01e37db490f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
23afabfa5f git: upgrade 2.37.1 -> 2.37.2
(From OE-Core rev: a9387251165673cbb05e7fbed7a829f1183fe824)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:42 +01:00
Alexander Kanavin
c148576562 python3-setuptools-rust: update 1.4.1 -> 1.5.1
Drop upstreamed patch.

(From OE-Core rev: a6e441f2ee9252730a5e27b12513e3eb062588d6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
7ab2366d16 binutils: Disable gprofng on musl systems
disable gprofng, as it depends on few glibc apis

| ../../../gprofng/libcollector/../src/collector_module.h:78:13: error: duplicate member 'pwrite'
|    78 |   ssize_t (*pwrite64)();
|       |             ^~~~~~~~
| ../../../gprofng/libcollector/dispatcher.c: In function 'collector_timer_create':
| ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un'
|   578 |   sigev._sigev_un._tid = __collector_gettid ();
|       |        ^

(From OE-Core rev: 41869d81347f43aa0e4d625aec88c551321dcded)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Jacob Kroon
25b3ebe177 python3-cython: Remove debug lines
Fixes: ccbbed323b5a96bbdaec4411fdd26cb9dca583e8
       ("python3-cython: Update code to match debug path changes")
(From OE-Core rev: 4fc076cac2c0277164cb33b2cef38c503a0ea630)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
51d8e0e20e rsync: Add missing prototypes to function declarations
(From OE-Core rev: c53d465865d4a9c109322074c2653a3a8b665238)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
ca943bd72f autoconf: Fix strict prototype errors in generated tests
This will fix issues with autoconf tests which fail due to lacking
prototypes

(From OE-Core rev: eb477854ba230d8a8370f24880bd421607399e5a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
d745c8b588 binutils-cross-canadian: Package up new gprofng.rc file
(From OE-Core rev: 4482921731db1a4888d06e942eeb54bb20b31b36)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
cf0cd9b219 binutils: Disable gprofng when using clang
It does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported
formatted output of built-in functions check is failing with clang
somehow it seems to be compiler limitation. Therefore disable building
this component with clang for now

(From OE-Core rev: 5f4b6afb030fe75247cc2da09cdf0ec5259673df)

(From OE-Core rev: 0b3cff906c469bb9d6dfc7fafe385243d00f1c2b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
e5af467dde binutils: Package up gprofng
(From OE-Core rev: 62fad02c368aa912ae97e8dd048bd81e305a5444)

(From OE-Core rev: 59668255730bf8386c4f7d39b6ea638f7e90b42e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
76bd0f00fc binutils-cross: Disable gprofng for when building cross binutils
This does not work in cross settings yet

(From OE-Core rev: c9d484092060f7e8431e31c64d98433b4f85c378)

(From OE-Core rev: c5cf9795cf9d2290bfa39cd7adfbec9a7777fea0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
75720e6af1 binutils: Upgrade to 2.39 release
Details of changes [1]

[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html

(From OE-Core rev: a2458d4011e77868d6384b377a7a4cc1096c4ac3)

(From OE-Core rev: 4fa90ce4f13eb8a854836462b1865fd08f5a68b2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
79f85d85ca rpm: Remove -Wimplicit-function-declaration warnings
(From OE-Core rev: 9f2dbfc51ef2faf1b6154856adb69ca9f764573b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21 22:51:41 +01:00
Khem Raj
59cc19b64d apt: Do not use std::binary_function
This feature is removed from c++17

(From OE-Core rev: 7fcf108c4e115077cf01754c37bb8ce216c24dc8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Khem Raj
7dc5a703fb expect: Fix implicit-function-declaration warnings
(From OE-Core rev: 06ca0b74e5856890a55be15b5061280cbab43d79)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
5edbe597fe valgrind: Update to match debug file layout changes
Update the recpie to match the recent debug files layout change.

(From OE-Core rev: 7d191fc547a817f453496f2f48901ff384e34875)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
ad5936fba6 valgrind: Disable drd/tests/std_thread2 ptest
After improvements to debug sources handling I suspect that extra debug
information became available and is confusing this test. Disable it
for now until someone with more knowledge can resolve the issue.

(From OE-Core rev: 2d52b590f4f254ba6ff310af1f68780a0f329673)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
a01fd44f58 gcc: Update patch status to submitted for two patches
(From OE-Core rev: a2f52f6f698a1073f264dfb8afcdb4dcbcec6be8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
0e590ac76b gcc: Add a patch to avoid hardcoded paths in libgcc on powerpc
Tweak the powerpc code to just include filenames rather than full paths
to avoid build reproducibility issues.

(From OE-Core rev: a71832a14b6944da10c1916861545577f2f2de2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
abd30f85c6 gcc: Resolve relative prefix-map filenames
Add a patch to gcc so that relative paths are handled by -fdebug-prefix-map
and friends. In OE we use relative paths in autotools and removing that
creates a lot of issues we'd have to fix. This alternative allows us to
fix the paths within gcc and improve our debug file coverage (and SPDX
manifests) accordingly.

(From OE-Core rev: 591cbe7140f01470b5799bc51e5b23f58bf95ffa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
abbbc87129 gcc-cross: Fix relative links
Now that we're using absolute paths to run configure, there are absolute
path symlinks within gcc's output. Use our script that fixes these so
that the sstate objects work correctly.

(From OE-Core rev: 78f0bb21ae4337fdf628b2436c6182c32ed4fa9d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
a1190be53a python3-cython: Update code to match debug path changes
Match the changes to debug prefixes in bitbake.conf.

(From OE-Core rev: ccbbed323b5a96bbdaec4411fdd26cb9dca583e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
12bdb5df1e bitbake.conf: Handle S and B separately for debug mapping
We don't really need to keep S and B separate for debug source purposes
and there shouldn't be source references in WORKDIR that isn't S and B
either.

Separating these out simplifies the shared-work directory handling for
gcc and should also help fix external source usage. Therefore handle
S and B in DEBUG_PREFIX_MAP separately and clean up other code.

Indentation is reduced here as it is introduced on every compiler
commandline so minimising it is helpful.

(From OE-Core rev: c39b5020b8705d17e3745c41e38d0f99a1ac94cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Richard Purdie
794371ad2d libgcc/gcc-runtime: Improve source reference handling
This code was some of the earliest reproducible build work we did. To
correctly handle the encoding of file paths, we used relative build
paths to run configure which resulted in relative build paths in the
binaries.

We now have more modern approaches used elsewhere with the prefix remapping
options. These work best with absolute paths, not relative ones. As such,
drop the relative path mangling and switch to using prefix mapping
exclusively on absolute paths.

This makes the code matc the rest of the system and triggers the correct
code to be added in /usr/src/debug.

We have to include both file-prefix and debug-prefix since the assembler
only looks at debug-prefix.

(From OE-Core rev: 309e5d8bb56eb8599d756831f0bd38e6a50cfb05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17 19:57:32 +01:00
Khem Raj
61929f05d7 rsync: Upgrade to 3.2.5
Changlog is here [1]
[1] https://download.samba.org/pub/rsync/NEWS#3.2.5

(From OE-Core rev: 937a28a2a83abc3923cf2793eb79b0a1f770cd54)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16 14:57:58 +01:00