Re: [PATCH] Fix building on x86_64 with binutils 2.41

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

 



On Tue, Jan 30, 2024 at 04:14:31AM -0600, Michel Lind via B4 Relay wrote:
> From: Michel Lind <salimma@xxxxxxxxxxxxxxxxx>
> 
> Newer versions of the GNU assembler (observed with binutils 2.41) will
> complain about the ".arch i386" in files assembled with "as --64",
> with the message "Error: 64bit mode not supported on 'i386'".
> 
> Fix by moving ".arch i386" below the relevant ".code32" directive, so
> that the assembler is no longer expecting 64-bit instructions to be used
> by the time that the ".arch i386" directive is encountered.
> 
> Based on similar iPXE fix:
> https://github.com/ipxe/ipxe/commit/6ca597eee
> 
> Signed-off-by: Michel Lind <michel@xxxxxxxxxxxxxxx>

Thanks Michael,

applied.

- Fix building on x86_64 with binutils 2.41
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=328de8e00e29

_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux