https://sourceware.org/bugzilla/show_bug.cgi?id=20878
Bug ID: 20878 Summary: gold powerpc64 le linux fails to link large pie Linux kernel Product: binutils Version: 2.28 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: npiggin at gmail dot com CC: ian at airs dot com Target Milestone: --- powerpc64le Linux kernel configured with all options and CONFIG_RELOCATABLE fails at the final link: $ ~/src/binutils-gdb/gold/ld-new -EL -m elf64lppc -pie --build-id -X -o vmlinux -T ./arch/powerpc/kernel/vmlinux.lds --whole-archive built-in.o .tmp_kallsyms3.o ld-new: stub group size is too large; retrying with 0x1500000 ld-new: stub group size is too large; retrying with 0xfc0000 built-in.o(arch/powerpc/kernel/setup-common.o):setup-common.c:function setup_arch: error: relocation overflow try relinking with a smaller --stub-group-size built-in.o(arch/powerpc/kernel/setup-common.o):setup-common.c:function setup_arch: error: relocation overflow try relinking with a smaller --stub-group-size ld.bfd succeeds: $ ~/src/binutils-gdb/ld/ld-new -EL -m elf64lppc -pie --orphan-handling=warn --build-id -X -o vmlinux -T ./arch/powerpc/kernel/vmlinux.lds --whole-archive built-in.o .tmp_kallsyms3.o --stats ld-new: linker stubs in 7 groups ld-new: branch 1132 ld-new: toc adjust 0 ld-new: long branch 7180 ld-new: long toc adj 0 ld-new: plt call 0 ld-new: plt call toc 0 ld-new: global entry 0 ld-new: total time in link: 7.040000 ld-new: data size 549404672 $ ls -l vmlinux -rwxr-xr-x 1 npiggin npiggin 176679472 Nov 28 23:21 vmlinux -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils