Skip to content

Commit 7f9467c

Browse files
committed
Update binutils version
This is needed to handle R_X86_64_REX_GOTPCRELX relocations.
1 parent f29450a commit 7f9467c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/build-binutils.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ set -ex
44

55
source shared.sh
66

7-
curl https://ftp.gnu.org/gnu/binutils/binutils-2.25.1.tar.bz2 | tar xfj -
7+
VERSION=2.26.1
8+
9+
curl https://ftp.gnu.org/gnu/binutils/binutils-$VERSION.tar.bz2 | tar xfj -
810

911
mkdir binutils-build
1012
cd binutils-build
11-
hide_output ../binutils-2.25.1/configure --prefix=/rustroot
13+
hide_output ../binutils-$VERSION/configure --prefix=/rustroot
1214
hide_output make -j10
1315
hide_output make install
1416

1517
cd ..
1618
rm -rf binutils-build
17-
rm -rf binutils-2.25.1
19+
rm -rf binutils-$VERSION

0 commit comments

Comments
 (0)