The master branch has been updated by Alan Modra <amo...@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils- gdb.git;h=bb22a41815facfaa3de621aad5d055eb8e477082 commit bb22a41815facfaa3de621aad5d055eb8e477082 Author: Alan Modra <amo...@gmail.com> Date: Sun Jun 23 12:28:39 2019 +0930 PR24704, Internal error building skiboot for powerpc64-linux-gnu While the skiboot linker script bears some culpability in this PR, it's also true that the GOT indirect to GOT relative optimisation for 16-bit offsets isn't safe. At least, it isn't safe to remove the GOT entry based on distance between the GOT pointer and symbol calculated from the preliminary layout. So this patch removes that optimisation, and reduces the range allowed for 32-bit and 34-bit offsets. PR 24704 bfd/ * elf64-ppc.c (R_PPC64_GOT16_DS): Don't set has_gotrel. (ppc64_elf_edit_toc): Don't remove R_PPC64_GOT16_DS got entries. Reduce range of offsets allowed for other GOT relocs. ld/ * testsuite/ld-powerpc/elfv2exe.d: Update. * testsuite/ld-powerpc/elfv2so.d: Update. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1833237 Title: skiboot ftbfs in eoan Status in binutils: In Progress Status in binutils package in Ubuntu: Confirmed Status in skiboot package in Ubuntu: Confirmed Status in binutils source package in Eoan: Confirmed Status in skiboot source package in Eoan: Confirmed Bug description: skiboot ftbfs in eoan https://launchpad.net/ubuntu/+archive/test- rebuild-20190614/+build/17038512/+files/buildlog_ubuntu-eoan- amd64.skiboot_6.2-1_BUILDING.txt.gz powerpc64-linux-gnu-gcc -I/<<PKGBUILDDIR>>/include -Iinclude -MMD -include /<<PKGBUILDDIR>>/include/config.h -I/<<PKGBUILDDIR>>/libfdt -I/<<PKGBUILDDIR>>/libflash -I/<<PKGBUILDDIR>>/libxz -I/<<PKGBUILDDIR>>/libc/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/libpore -D__SKIBOOT__ -nostdinc -isystem /usr/lib/gcc-cross/powerpc64-linux-gnu/8/include -DBITS_PER_LONG=64 -DHAVE_BIG_ENDIAN -ffreestanding -DHAS_STACK_PROT -D__ASSEMBLY__ -mbig-endian -m64 -mabi=elfv1 -c asm/dummy_map.S -o asm/dummy_map.o powerpc64-linux-gnu-gcc -I/<<PKGBUILDDIR>>/include -Iinclude -MMD -include /<<PKGBUILDDIR>>/include/config.h -I/<<PKGBUILDDIR>>/libfdt -I/<<PKGBUILDDIR>>/libflash -I/<<PKGBUILDDIR>>/libxz -I/<<PKGBUILDDIR>>/libc/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/libpore -D__SKIBOOT__ -nostdinc -isystem /usr/lib/gcc-cross/powerpc64-linux-gnu/8/include -DBITS_PER_LONG=64 -DHAVE_BIG_ENDIAN -ffreestanding -DHAS_STACK_PROT -P -E skiboot.lds.S -o skiboot.lds powerpc64-linux-gnu-ld -EB -m elf64ppc --no-multi-toc -N --build-id=none --whole-archive -static -nostdlib -pie -Ttext-segment=0x0 --oformat=elf64-powerpc -o skiboot.tmp.elf -T skiboot.lds skiboot.tmp.a asm/dummy_map.o powerpc64-linux-gnu-ld: BFD (GNU Binutils for Ubuntu) 2.32.51.20190614 internal error, aborting at ../../bfd/elf64-ppc.c:15381 in ppc64_elf_relocate_section powerpc64-linux-gnu-ld: Please report this bug. make[2]: *** [/<<PKGBUILDDIR>>/Makefile.main:262: skiboot.tmp.elf] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [debian/rules:19: override_dh_auto_build-indep] Error 2 To manage notifications about this bug go to: https://bugs.launchpad.net/binutils/+bug/1833237/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp