[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix build error in binutils 2.36

From: Daniel Kiper
Subject: Re: [PATCH] Fix build error in binutils 2.36
Date: Thu, 5 Aug 2021 15:07:21 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Mon, Aug 02, 2021 at 05:41:15PM +0800, Michael Chang via Grub-devel wrote:
> The xen build fails on binutils 2.36 with the following error.
> /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
> section VMA [0000000000400158,0000000000400187]
> overlaps section .bss VMA [000000000000f000,000000000041e1af]

Could you send us full command which is failing?

Anyway, I would consider writing our own linker script which is dropping if we do not need it.

> The most significant factor is that new assembler (gnu as) generates the

Could you give us gas version which does that?

> section as default. This note section overlaps with
> .bss because it doesn't reposition with -Wl,-Ttext,0 with which the base
> address of .text section is set, rather the address of
> is calculated for some reason from 0x400000 where the
> elf executable defaults to start.

Is not it linker bug?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]