crosstool-ng/packages/binutils
Alexey Brodkin 2160d68291 binutils 2.37: arc: Fix for 32-bit hosts
While building statically-linked executables for ARC on 32-bit platform
LD segfaulted like that:
--------------------------->8-------------------------
$ gcc test.c -static

potentially unexpected fatal signal 11.
Path: /arc_gnu_2021.03_prebuilt_glibc_le_archs_native_install/arc-snps-linux-gnu/bin/ld
CPU: 0 PID: 79 Comm: ld Not tainted 5.10.43 #8
Invalid Read @ 0x00000020 by insn @ 0x40bbe
  @off 0x40bbe in [/arc_gnu_2021.03_prebuilt_glibc_le_archs_native_install/arc-snps-linux-gnu/bin/ld]  VMA: 0x00010000 to 0x0010e000
ECR: 0x00050100 EFA: 0x00000020 ERET: 0x00040bbe
STAT: 0x80080082 [IE U     ]   BTA: 0x0003fc24
 SP: 0x5fdb8dec  FP: 0x00129598 BLK: 0x40b66
LPS: 0x2008c602 LPE: 0x2008c63e LPC: 0x00000001
r00: 0x008392f2 r01: 0x00000001 r02: 0x00000000
r03: 0x008392f2 r04: 0x00000058 r05: 0x00e37e88
r06: 0x00eb8ea8 r07: 0x00a837e8 r08: 0x0000003f
r09: 0x736e7520 r10: 0x2011aa74 r11: 0x001147f4
r12: 0x00a83834 r13: 0x00a837e8 r14: 0x00ce92b8
r15: 0x00112130 r16: 0x00eb8ea8 r17: 0x00000058
r18: 0x001273b8 r19: 0x00e37e88 r20: 0x00129598
r21: 0x5fdb8e74 r22: 0x00112130 r23: 0x00179bb0
r24: 0x00170684 r25: 0x20122490
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
compilation terminated.
--------------------------->8-------------------------

Originally found during native building on ARC board, but later
re-produced on other 32-bit systems like i386/i586.

For all the gory details please refer to [1].
Original fix could be found here [2].

[1] https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/402
[2] 29d31b4ed9

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-13 01:57:39 -07:00
..
2.23.2 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.24 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.25.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.26.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.27 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.28.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.29.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.30 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.31.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.32 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.33.1 binutils: add version 2.33.1 2019-10-23 10:01:01 +02:00
2.34 Add binutils 2.34 2020-02-26 11:05:19 -08:00
2.35.1 binutils: Pull in some bug fixes from binutils 2.35 branch 2020-11-06 08:51:19 -06:00
2.36.1 binutils: add version 2.36.1 2021-02-12 11:54:11 +01:00
2.37 binutils 2.37: arc: Fix for 32-bit hosts 2021-09-13 01:57:39 -07:00
binutils-ld.in Add configuration options for enabling SSP 2018-12-04 16:15:37 -08:00
package.desc Config v2: select relevant parts of each package version 2019-01-30 00:09:30 -08:00