Bug 1839741 - Upgrade binutils to 2.41. r=firefox-build-system-reviewers,ahochheiden

Because it bumps the alignment requirement on aarch64, we make the
elfhack test create more relocations to make the .rela.dyn section large
enough for the test to pass.

Differential Revision: https://phabricator.services.mozilla.com/D181684
This commit is contained in:
Mike Hommey
2023-09-01 01:20:34 +00:00
parent dbaeb3e36e
commit e0d3613cf8
4 changed files with 29 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
set -x
make_flags="-j$(nproc)"
make_flags="-j$(nproc) MAKEINFO=true"
root_dir="$1"

View File

@@ -130,6 +130,28 @@ const char* strings3[] = {
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# include "test.c"
# undef DEF
};

View File

@@ -16,13 +16,13 @@ binutils-2.31.1:
strip-components: 1
add-prefix: binutils-source/
binutils-2.36.1:
description: binutils 2.36.1 source code
binutils-2.41:
description: binutils 2.41 source code
fetch:
type: static-url
url: https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
sha256: e81d9edf373f193af428a0f256674aea62a9d74dfe93f65192d4eae030b0f3b0
size: 22772248
url: https://ftp.gnu.org/gnu/binutils/binutils-2.41.tar.xz
sha256: ae9a5789e23459e59606e6714723f2d3ffc31c03174191ef0d015bdf06007450
size: 26765692
gpg-signature:
sig-url: "{url}.sig"
key-path: build/unix/build-binutils/3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F.key

View File

@@ -35,7 +35,7 @@ linux64-binutils:
toolchain-artifact: public/build/binutils.tar.zst
fetches:
fetch:
- binutils-2.36.1
- binutils-2.41
toolchain:
- linux64-toolchain-sysroot