Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58268 - [binutils] 2.30 pkgrel 2 ld: please add fix PR22836 "-r -s" doesn't work with -g3 using GCC 7

Attached to Project: Arch Linux
Opened by John Thomson (johnth) - Thursday, 19 April 2018, 09:21 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 22 April 2018, 14:41 GMT
Task Type Bug Report
Category Upstream Bugs
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 0
Private No

Details

I ran into binutils ld PR22836 with the trunk binutils 2.30-2

Could the fix for this please be included?

https://sourceware.org/bugzilla/show_bug.cgi?id=22836

2.30 fix is here:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch;h=d957f81cb38d7e82ae546cd03265ee3087ba8a85

I needed to remove the ChangeLog diffs to apply this patch in the PKGBUILD

Cheers

My error message:
gcc -m32 -march=i686 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -g3 -O0 -fno-omit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF .pmm.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -fno-stack-protector -fno-exceptions -fno-builtin -msoft-float -I/builds/archlinux-packages-johnth/xen/src/xen/tools/firmware/rombios/32bit/../../../../tools/include -I.. -I../../../libacpi -fno-pic -fno-PIE -c -o pmm.o pmm.c
ld -melf_i386 -s -r 32bitbios.o tcgbios/tcgbiosext.o util.o pmm.o -o 32bitbios_all.o
ld: BFD (GNU Binutils) 2.30 assertion fail /builds/archlinux-packages-johnth/packages-modified/trunk/src/binutils-2.30/bfd/elf.c:3564
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 22 April 2018, 14:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  binutils 2.30-3

Loading...