https://sourceware.org/bugzilla/show_bug.cgi?id=31319
Bug ID: 31319 Summary: [2.42 regression]: `.arch i386` is rejected by `x86_64` target: 4bit mode not supported on `i386'. Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: slyich at gmail dot com Target Milestone: --- Created attachment 15346 --> https://sourceware.org/bugzilla/attachment.cgi?id=15346&action=edit entry32-16-debug.s Initially observed the failure on kexec-tools-2.0.27 package at https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/tree/purgatory/arch/i386/entry32-16-debug.S#n28 Attached self-contained `entry32-16-debug.s` file. binutils-2.40 and 2.41 worked: $ as-2.40 --64 -o entry32-16-debug.o entry32-16-debug.s # ok binutils-2.42 fails as: $ as-2.42 --64 -o entry32-16-debug.o entry32-16-debug.s purgatory/arch/i386/entry32-16-debug.S: Assembler messages: purgatory/arch/i386/entry32-16-debug.S:28: Error: 64bit mode not supported on `i386'. $ as --version GNU assembler (GNU Binutils) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `x86_64-unknown-linux-gnu'. Configured as: --prefix=/<<NIX>>/binutils-2.42 --bindir=/<<NIX>>/binutils-2.42/bin --sbindir=/<<NIX>>/binutils-2.42/sbin --includedir=/<<NIX>>/binutils-2.42-dev/include --oldincludedir=/<<NIX>>/binutils-2.42-dev/include --mandir=/<<NIX>>/binutils-2.42-man/share/man --infodir=/<<NIX>>/binutils-2.42-info/share/info --docdir=/<<NIX>>/binutils-2.42/share/doc/binutils --libdir=/<<NIX>>/binutils-2.42-lib/lib --libexecdir=/<<NIX>>/binutils-2.42-lib/libexec --localedir=/<<NIX>>/binutils-2.42-lib/share/locale --enable-64-bit-bfd --with-system-zlib --enable-deterministic-archives --disable-werror --enable-fix-loongson2f-nop --enable-new-dtags --program-prefix= --disable-gprofng --with-lib-path=: --enable-gold --enable-plugins --enable-shared --disable-static --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu -- You are receiving this mail because: You are on the CC list for the bug.