FS#67671 - [binutils] ld segfaults

Attached to Project: Arch Linux
Opened by Jan Marvin (JanMarvin) - Saturday, 22 August 2020, 09:30 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 27 February 2021, 12:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Building ld crashes with binutils 2.35. Downgrading to 2.34-5 solved this.


Additional info:
* 2.35-1
* collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped

Steps to reproduce:

cd /tmp && git clone https://github.com/janmarvin/v8-r && cd v8-r && makepkg
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 27 February 2021, 12:31 GMT
Reason for closing:  Fixed
Comment by Jan Marvin (JanMarvin) - Wednesday, 02 September 2020, 17:59 GMT
The segfault might be related to the gold linker. After the rebuild of 2.35-2 I saw the following warnings in the buildlog and building with `use_gold=false` seems to work.

`/usr/bin/ld.gold: warning: obj/test/unittests/cppgc_unittests/run-all-unittests.o: unknown program property type 0xc0010000 in .note.gnu.property section`

Loading...