too long lines were shrinked: x86_64-pc-linux-gnu-gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include -c -MD -o purgatory/arch/x86_64/setup-x86_64.o purgatory/arch/x86_64/setup-x86_64.S x86_64-pc-linux-gnu-gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include -c -MD -o purgatory/arch/x86_64/stack.o purgatory/arch/x86_64/stack.S x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/in x86_64-pc-linux-gnu-gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include -c -MD -o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16.S x86_64-pc-linux-gnu-gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include -c -MD -o purgatory/arch/i386/entry32-16-debug.o purgatory/arch/i386/entry32-16-debug.S purgatory/arch/i386/entry32-16.S: Assembler messages: purgatory/arch/i386/entry32-16.S:23: Error: 64bit mode not supported on `i386'. make: *** [Makefile:129: purgatory/arch/i386/entry32-16.o] Error 1 make: *** Waiting for unfinished jobs.... ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20240211-100004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.8 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.75.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.0 linux/amd64 HEAD of ::gentoo commit 40e88ea1150c7b94482b9d8f099316c7a134ed42 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Feb 19 02:48:58 2024 +0000 2024-02-19 02:48:58 UTC emerge -qpvO sys-apps/kexec-tools [ebuild N ] sys-apps/kexec-tools-2.0.24 USE="zlib -booke -lzma (-selinux) -xen"
Created attachment 885447 [details] emerge-info.txt
Created attachment 885448 [details] emerge-history.txt.xz
Created attachment 885449 [details] environment
Created attachment 885450 [details] etc.clang.tar.xz
Created attachment 885451 [details] etc.portage.tar.xz
Created attachment 885452 [details] logs.tar.xz
Created attachment 885453 [details] qlist-info.txt.xz
Created attachment 885454 [details] sys-apps:kexec-tools-2.0.24:20240219-031701.log
Created attachment 885455 [details] temp.tar.xz
fixed upstream https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=328de8e00e298f00d7ba6b25dc3950147e9642e6
commit 69188850396bfd88bbf60cf288d4951ada99ff3b Author: Yuan Liao <liaoyuan@gmail.com> Date: Mon Feb 12 17:00:38 2024 -0500 sys-apps/kexec-tools: Add 2.0.28 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
ci has reproduced this issue with version 2.0.28 - Updating summary.
Created attachment 887271 [details] build.log build.log
The upstream patch resolves the 2.0.28 build time issue in my case.
(In reply to Aidan Marks from comment #14) > The upstream patch resolves the 2.0.28 build time issue in my case. By "upstream patch", did you mean <https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=328de8e00e298f00d7ba6b25dc3950147e9642e6>?
(In reply to Yuan Liao (Leo3418) from comment #15) > (In reply to Aidan Marks from comment #14) > > The upstream patch resolves the 2.0.28 build time issue in my case. > > By "upstream patch", did you mean > <https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/ > ?id=328de8e00e298f00d7ba6b25dc3950147e9642e6>? Yes.
With this patch https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/patch/?id=328de8e00e298f00d7ba6b25dc3950147e9642e6 compiles fine, please add to portage.
I am still getting this error I have compiled 6.1.82, but not booted into that one yet. I was trying to compile 2.0.28 using ~amd64 system. upt-to-date as of yesterday. How to fix?
(In reply to manwe from comment #17) > With this patch > https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/patch/ > ?id=328de8e00e298f00d7ba6b25dc3950147e9642e6 compiles fine, please add to > portage. This patch solved the problem for me too. kexec-tools 2.0.28 binutils x86_64-pc-linux-gnu-2.42 gcc x86_64-pc-linux-gnu-13 portage profile is the 23 gen
with 2.4.28 and bin2.42-r1 the compile still fails. Do you need to put the upstream patch in portage.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a8cf1a580486ae3923fea714f1e6c09a032757 commit a7a8cf1a580486ae3923fea714f1e6c09a032757 Author: Yuan Liao <liaoyuan@gmail.com> AuthorDate: 2024-03-30 23:08:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-01 06:49:44 +0000 sys-apps/kexec-tools: Add patch for build error with binutils 2.42 The patch carries upstream commit 328de8e00e298f00d7ba6b25dc3950147e9642e6. Bug: https://bugs.gentoo.org/925010 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36007 Signed-off-by: Sam James <sam@gentoo.org> .../kexec-tools-2.0.28-binutils-2.42-x86_64.patch | 94 ++++++++++++++++++++++ sys-apps/kexec-tools/kexec-tools-2.0.28.ebuild | 1 + 2 files changed, 95 insertions(+)