This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] xtensa: gas: don't keep relocations for constants


Hi Romain,

On Sun, Feb 3, 2019 at 3:20 AM Romain Naour <romain.naour@gmail.com> wrote:
> I tested the patch using Binutils 2.32, the toolchain build is ok but the kernel
> doesn't boot.

This is because the section .note.gnu.build-id that is inserted at the
beginning of the kernel. This was fixed by the commit 4119ba211bc4
(xtensa: add NOTES section to the linker script) in the linux mainline
which was backported to a number of stable kernels, but not into the
4.16.y
I've changed kernel version to 4.19 in the buildroot, it builds and boots
successfully.

--
Thanks.
-- Max


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]