=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/cross/aarch64-none-elf-binutils", "configure", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] => Checksum BLAKE2s OK for binutils-2.31.1.tar.bz2 => Checksum SHA512 OK for binutils-2.31.1.tar.bz2 ===> Installing dependencies for cross-aarch64-none-elf-binutils-2.31.1nb1 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency gtexinfo>=3.12: found gtexinfo-7.2nb2 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3 ===> Overriding tools for cross-aarch64-none-elf-binutils-2.31.1nb1 ===> Extracting for cross-aarch64-none-elf-binutils-2.31.1nb1 ===> Patching for cross-aarch64-none-elf-binutils-2.31.1nb1 => Applying pkgsrc patches for cross-aarch64-none-elf-binutils-2.31.1nb1 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/cross/aarch64-none-elf-binutils/patches/patch-gas_config_tc-aarch64.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/cross/aarch64-none-elf-binutils/patches/patch-gas_config_tc-aarch64.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gas_config_tc-aarch64.c,v 1.1 2021/10/04 17:54:40 mrg Exp $ | |Part of: | |From def9db5cb2a3e87ceada962a3269367b08dc4846 Mon Sep 17 00:00:00 2001 |From: Alex Coplan |Date: Tue, 6 Oct 2020 15:56:44 +0100 |Subject: [PATCH] aarch64: Fix bogus type punning in parse_barrier() [PR26699] | |This patch fixes a bogus use of type punning in parse_barrier() which |was causing an assembly failure on big endian LP64 hosts when attempting |to assemble "isb sy" for AArch64. | |The type of the entries in aarch64_barrier_opt_hsh is |aarch64_name_value_pair. We were incorrectly casting this to the |locally-defined asm_barrier_opt which has a wider type (on LP64) for the |second member. This happened to work on little-endian hosts but fails on |LP64 big endian. | |The fix is to use the correct type in parse_barrier(). This makes the |locally-defined asm_barrier_opt redundant, so remove it. | |gas/ChangeLog: | | PR 26699 | * config/tc-aarch64.c (asm_barrier_opt): Delete. | (parse_barrier): Fix bogus type punning. | * testsuite/gas/aarch64/system.d: Update disassembly. | * testsuite/gas/aarch64/system.s: Add isb sy test. | |(cherry picked from commit 05cfb0d8cc9b7f8676f5ae55a93642f091d5405f) | | |--- gas/config/tc-aarch64.c.orig 2019-01-28 07:19:14.000000000 -0800 |+++ gas/config/tc-aarch64.c 2021-10-03 16:39:34.086756977 -0700 -------------------------- Patching file gas/config/tc-aarch64.c using Plan A... Hunk #1 succeeded at 243 (offset -10 lines). Hunk #2 succeeded at 3877 (offset -10 lines). done ===> Creating toolchain wrappers for cross-aarch64-none-elf-binutils-2.31.1nb1 ===> Configuring for cross-aarch64-none-elf-binutils-2.31.1nb1 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version checking build system type... aarch64-apple-darwin24 checking host system type... aarch64-apple-darwin24 checking target system type... aarch64-none-elf checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /opt/pkg/bin/nbsed checking for gawk... /opt/pkg/bin/nawk checking for aarch64-apple-darwin24-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... no checking whether clang++ accepts -g... no checking whether g++ accepts -static-libstdc++ -static-libgcc... no checking for aarch64-apple-darwin24-gnatbind... no checking for gnatbind... no checking for aarch64-apple-darwin24-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for isl 0.15 or later... no required isl version is 0.15 or later checking for default BUILD_CONFIG... checking for --enable-vtable-verify... no checking for bison... bison -y checking for bison... bison checking for gm4... gm4 checking for flex... flex checking for flex... flex checking for makeinfo... /var/tmp/work/cross/aarch64-none-elf-binutils/work/.tools/bin/makeinfo checking for expect... expect checking for runtest... no checking for aarch64-apple-darwin24-ar... no checking for ar... ar checking for aarch64-apple-darwin24-as... no checking for as... as checking for aarch64-apple-darwin24-dlltool... no checking for dlltool... no checking for ld... (cached) /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking for aarch64-apple-darwin24-ld... (cached) /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking for aarch64-apple-darwin24-lipo... no checking for lipo... lipo checking for aarch64-apple-darwin24-nm... no checking for nm... nm checking for aarch64-apple-darwin24-ranlib... no checking for ranlib... ranlib checking for aarch64-apple-darwin24-strip... no checking for strip... strip checking for aarch64-apple-darwin24-windres... no checking for windres... no checking for aarch64-apple-darwin24-windmc... no checking for windmc... no checking for aarch64-apple-darwin24-objcopy... no checking for objcopy... no checking for aarch64-apple-darwin24-objdump... no checking for objdump... objdump checking for aarch64-apple-darwin24-readelf... no checking for readelf... no checking for aarch64-none-elf-cc... no checking for aarch64-none-elf-gcc... no checking for aarch64-none-elf-c++... no checking for aarch64-none-elf-g++... no checking for aarch64-none-elf-cxx... no checking for aarch64-none-elf-gxx... no checking for aarch64-none-elf-gcc... no checking for aarch64-none-elf-gfortran... no checking for aarch64-none-elf-gccgo... no checking for aarch64-none-elf-ar... no checking for aarch64-none-elf-as... no checking for aarch64-none-elf-dlltool... no checking for aarch64-none-elf-ld... no checking for aarch64-none-elf-lipo... no checking for aarch64-none-elf-nm... no checking for aarch64-none-elf-objcopy... no checking for aarch64-none-elf-objdump... no checking for aarch64-none-elf-ranlib... no checking for aarch64-none-elf-readelf... no checking for aarch64-none-elf-strip... no checking for aarch64-none-elf-windres... no checking for aarch64-none-elf-windmc... no checking where to find the target ar... just compiled checking where to find the target as... just compiled checking where to find the target cc... pre-installed checking where to find the target c++... pre-installed checking where to find the target c++ for libstdc++... pre-installed checking where to find the target dlltool... just compiled checking where to find the target gcc... pre-installed checking where to find the target gfortran... pre-installed checking where to find the target gccgo... pre-installed checking where to find the target ld... just compiled checking where to find the target lipo... pre-installed checking where to find the target nm... just compiled checking where to find the target objcopy... just compiled checking where to find the target objdump... just compiled checking where to find the target ranlib... just compiled checking where to find the target readelf... just compiled checking where to find the target strip... just compiled checking where to find the target windres... just compiled checking where to find the target windmc... just compiled checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.