[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/20522] New: linking powerpc64le Linux kernel with --emit-reloc
From: |
npiggin at gmail dot com |
Subject: |
[Bug gold/20522] New: linking powerpc64le Linux kernel with --emit-relocs causes internal error in set_info_section, at output.h:3386 |
Date: |
Fri, 26 Aug 2016 11:24:31 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20522
Bug ID: 20522
Summary: linking powerpc64le Linux kernel with --emit-relocs
causes internal error in set_info_section, at
output.h:3386
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: ---
I have a requirement to build the kernel with --emit-relocs, in order to do
some post-link fixups of runtime alternate code patches. Taking a vanilla
kernel and adding --emit-relocs to the final link
ld-new -EL -m elf64lppc -pie --emit-relocs --build-id -o vmlinux -T
./arch/powerpc/kernel/vmlinux.lds arch/powerpc/kernel/head_64.o
arch/powerpc/kernel/entry_64.o arch/powerpc/kernel/fpu.o init/built-in.o
--start-group usr/built-in.o arch/powerpc/kernel/built-in.o
arch/powerpc/mm/built-in.o arch/powerpc/lib/built-in.o
arch/powerpc/sysdev/built-in.o arch/powerpc/platforms/built-in.o
arch/powerpc/math-emu/built-in.o arch/powerpc/crypto/built-in.o
arch/powerpc/net/built-in.o kernel/built-in.o certs/built-in.o mm/built-in.o
fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o
block/built-in.o lib/lib.a lib/built-in.o drivers/built-in.o sound/built-in.o
firmware/built-in.o net/built-in.o virt/built-in.o --end-group
Gives this internal error ld-new: internal error in set_info_section, at
output.h:3386
Tested with binutils 980aa3e6dfeb0f018915f65be4b2987667f31fe9
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/20522] New: linking powerpc64le Linux kernel with --emit-relocs causes internal error in set_info_section, at output.h:3386,
npiggin at gmail dot com <=