stable/4.1: remove legacy architecture support - #502
Merged
Conversation
Remove native MIPS, PowerPC, and sparc64 source trees and build wiring. Retain amd64, i386, ARM, ARM64, and RISC-V as supported native architectures. Portions obtained from: FreeBSD AI-Assisted-by: OpenAI Codex (GPT-5) Signed-off-by: Lucas Holt <luke@foolishgames.com>
AI-Assisted-by: OpenAI Codex (GPT-5) Signed-off-by: Lucas Holt <luke@foolishgames.com>
There was a problem hiding this comment.
🟡 Changes recommended
There is a confirmed bmake line-continuation formatting error in sys/modules/uart/Makefile that can break parsing of the .if condition.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Removes legacy native architecture support (MIPS, PowerPC/PowerPC64, sparc64) from the stable/4.1 source tree, mirroring the corresponding removal in master and pruning related build wiring, documentation, and tooling so the remaining supported targets (amd64, i386, arm, arm64, riscv) build cleanly.
Changes:
- Deletes MIPS/PowerPC source trees, configs, and architecture-specific boot/release assets.
- Simplifies make(1) conditionals, dirdeps, and module lists to reflect the reduced architecture matrix.
- Updates user/admin documentation and tooling notes to match supported architectures.
File summaries
| File | Description |
|---|---|
| UPDATING | Documents architecture support removal. |
| Makefile.libcompat | Updates compat-libs comment to amd64-only. |
| cddl/lib/libdtrace/Makefile | Removes MIPS/PowerPC dtrace build paths. |
| cddl/lib/libzpool/Makefile | Drops PowerPC PICFLAG and MIPS clang workaround. |
| cddl/usr.sbin/Makefile | Removes MIPS/PowerPC CDDL tool enablement. |
| cddl/usr.sbin/zfsd/vdev.cc | Removes sparc64 flush undef workaround. |
| cddl/usr.sbin/zfsd/zfsd_event.cc | Removes sparc64 flush undef workaround. |
| etc/mtree/BSD.usr.dist | Removes /usr/share/man/*/powerpc mtree entries. |
| include/Makefile | Removes conditional powermac_nvram header install. |
| lib/Makefile | Removes powerpc gating for libclang_rt/libomp. |
| lib/clang/libclang/Makefile | Removes powerpc PIC workaround. |
| lib/clang/libllvm/Makefile | Removes powerpc PIC workaround. |
| lib/csu/Makefile | Simplifies csu subdir selection to CPUARCH. |
| lib/csu/mips/Makefile | Removes MIPS csu build glue. |
| lib/csu/mips/Makefile.depend | Removes generated dependency file. |
| lib/csu/mips/crtn.S | Removes MIPS assembly CRT terminator. |
| lib/csu/powerpc/Makefile | Removes PowerPC csu build glue. |
| lib/csu/powerpc/Makefile.depend | Removes generated dependency file. |
| lib/csu/powerpc/crt.h | Removes PowerPC crt.h. |
| lib/csu/powerpc64/Makefile | Removes PowerPC64 csu build glue. |
| lib/csu/powerpc64/Makefile.depend | Removes generated dependency file. |
| lib/csu/powerpc64/crt.h | Removes PowerPC64 crt.h. |
| lib/libarchive/Makefile | Removes powerpc from NO_WCAST_ALIGN. |
| lib/libclang_rt/Makefile | Removes powerpc sanitizer subdir logic. |
| lib/libclang_rt/compiler-rt-vars.mk | Removes mipsn32→mips64 CRTARCH mapping. |
| lib/libclang_rt/xray/Makefile | Removes powerpc64le xray sources. |
| lib/libcompiler_rt/Makefile.inc | Removes powerpc CRTARCH mapping and mips special-case. |
| lib/libc/csu/mips/Makefile.inc | Removes MIPS csu flags include. |
| lib/libc/csu/powerpc/Makefile.inc | Removes PowerPC csu flags include. |
| lib/libc/csu/powerpc64/Makefile.inc | Removes PowerPC64 csu flags include. |
| lib/libc/csu/powerpcspe/Makefile.inc | Removes PowerPCspe csu flags include. |
| lib/libc/gen/elf_utils.c | Removes powerpc64 ELFv1 PF_X exception logic. |
| lib/libc/gen/tls.c | Updates TLS variant comment (drops MIPS/PowerPC mention). |
| lib/libc/mips/Makefile.inc | Removes MIPS libc MD make fragment. |
| lib/libc/mips/Symbol.map | Removes MIPS libc symbol map. |
| lib/libc/mips/arith.h | Removes MIPS gdtoa arith header. |
| lib/libc/mips/gen/Makefile.inc | Removes MIPS libc gen make fragment. |
| lib/libc/mips/gen/_set_tp.c | Removes MIPS TLS setter implementation. |
| lib/libc/mips/gen/flt_rounds.c | Removes MIPS __flt_rounds implementation. |
| lib/libc/mips/gen/hardfloat/fpgetmask.c | Removes MIPS hardfloat helper. |
| lib/libc/mips/gen/hardfloat/fpgetround.c | Removes MIPS hardfloat helper. |
| lib/libc/mips/gen/hardfloat/fpgetsticky.c | Removes MIPS hardfloat helper. |
| lib/libc/mips/gen/hardfloat/fpsetmask.c | Removes MIPS hardfloat helper. |
| lib/libc/mips/gen/hardfloat/fpsetround.c | Removes MIPS hardfloat helper. |
| lib/libc/mips/gen/hardfloat/fpsetsticky.c | Removes MIPS hardfloat helper. |
| lib/libc/mips/gen/infinity.c | Removes MIPS infinity constants. |
| lib/libc/mips/net/Makefile.inc | Removes MIPS net asm sources. |
| lib/libc/mips/string/Makefile.inc | Removes MIPS string asm sources list. |
| lib/libc/mips/string/memcpy.S | Removes MIPS memcpy asm wrapper. |
| lib/libc/mips/string/memmove.S | Removes MIPS memmove asm wrapper. |
| lib/libc/mips/sys/Makefile.inc | Removes MIPS syscall/asm list. |
| lib/libc/powerpc/Makefile.inc | Removes PowerPC libc MD make fragment. |
| lib/libc/powerpc/Symbol.map | Removes PowerPC libc symbol map. |
| lib/libc/powerpc/arith.h | Removes PowerPC gdtoa arith header. |
| lib/libc/powerpc/gd_qnan.h | Removes PowerPC gdtoa qnan header. |
| lib/libc/powerpc/gen/Makefile.common | Removes PowerPC common gen make fragment. |
| lib/libc/powerpc/gen/Makefile.inc | Removes PowerPC gen make fragment. |
| lib/libc/powerpc/gen/_set_tp.c | Removes PowerPC TLS setter implementation. |
| lib/libc/powerpc/gen/eabi.S | Removes PowerPC __eabi stub. |
| lib/libc/powerpc/gen/fabs.S | Removes PowerPC fabs asm. |
| lib/libc/powerpc/gen/infinity.c | Removes PowerPC infinity constants. |
| lib/libc/powerpc/sys/Makefile.inc | Removes PowerPC sys make fragment. |
| lib/libc/powerpc64/Makefile.inc | Removes PowerPC64 libc MD make fragment. |
| lib/libc/powerpc64/Symbol.map | Removes PowerPC64 libc symbol map. |
| lib/libc/powerpc64/arith.h | Removes PowerPC64 gdtoa arith header. |
| lib/libc/powerpc64/gd_qnan.h | Removes PowerPC64 gdtoa qnan header. |
| lib/libc/powerpc64/gen/Makefile.inc | Removes PowerPC64 gen make fragment. |
| lib/libc/powerpc64/gen/_set_tp.c | Removes PowerPC64 TLS setter implementation. |
| lib/libc/powerpc64/gen/fabs.S | Removes PowerPC64 fabs asm. |
| lib/libc/powerpc64/gen/infinity.c | Removes PowerPC64 infinity constants. |
| lib/libc/powerpc64/string/Makefile.inc | Removes PowerPC64 string MD sources. |
| lib/libc/powerpc64/string/memcpy_resolver.c | Removes PowerPC64 resolver shim. |
| lib/libc/powerpc64/string/memmove.S | Removes PowerPC64 memmove shim. |
| lib/libc/powerpc64/string/memmove_resolver.c | Removes PowerPC64 resolver shim. |
| lib/libc/powerpc64/string/memmove_vsx.S | Removes PowerPC64 VSX shim. |
| lib/libc/powerpc64/string/strcpy.c | Removes PowerPC64 strcpy shim. |
| lib/libc/powerpc64/string/strncpy.c | Removes PowerPC64 strncpy shim. |
| lib/libc/powerpc64/sys/Makefile.inc | Removes PowerPC64 sys make fragment. |
| lib/libc/powerpcspe/Makefile.inc | Removes PowerPCspe libc MD make fragment. |
| lib/libc/powerpcspe/gen/Makefile.inc | Removes PowerPCspe gen make fragment. |
| lib/libc/powerpcspe/gen/fabs.S | Removes PowerPCspe fabs asm. |
| lib/libc/powerpcspe/sys/Makefile.inc | Removes PowerPCspe sys make fragment. |
| lib/libc/sys/Makefile.inc | Removes powerpc from NOTE_GNU_STACK condition. |
| lib/libdl/Makefile | Simplifies RTLD_ARCH detection (drops powerpc64le remap). |
| lib/libgcc_eh/Makefile.inc | Removes powerpc from frame API support list. |
| lib/libgcc_s/Makefile | Removes mips/powerpc from long double exclusion list. |
| lib/libkvm/Makefile | Drops MIPS/PowerPC kvm backends. |
| lib/libkvm/kvm_private.c | Removes obsolete PowerPC core-header comment. |
| lib/libpmc/Makefile | Drops powerpc event arch and mips manpages. |
| lib/libpmc/pmc.3 | Removes references to mips PMC manpages. |
| lib/libpmc/pmu-events/arch/powerpc/mapfile.csv | Removes powerpc pmu-events mapping file. |
| lib/libpmc/pmu-events/arch/powerpc/power8/floating-point.json | Removes powerpc pmu-events JSON. |
| lib/libpmc/pmu-events/arch/powerpc/power9/floating-point.json | Removes powerpc pmu-events JSON. |
| lib/libpmcstat/libpmcstat_image.c | Removes PowerPC kernel base address adjustment. |
| lib/libsqlite3/Makefile | Removes powerpc64le byteorder override. |
| lib/libthr/arch/powerpc/Makefile.inc | Removes PowerPC libthr arch asm. |
| lib/msun/mips/Makefile.inc | Removes MIPS msun fragment. |
| lib/msun/mips/Symbol.map | Removes MIPS msun symbol map. |
| lib/msun/powerpc/Makefile.inc | Removes PowerPC msun fragment. |
| lib/msun/powerpc/Symbol.map | Removes PowerPC msun symbol map. |
| libexec/rc/rc.d/ldconfig | Removes mips64/powerpc64 32-bit dir handling. |
| libexec/rtld-elf/Makefile | Simplifies RTLD_ARCH selection (drops powerpc64le remap). |
| libexec/rtld-elf/mips/Makefile.inc | Removes MIPS rtld flags include. |
| libexec/rtld-elf/powerpc64/Makefile.inc | Removes PowerPC64 rtld entry override. |
| libexec/rtld-elf/rtld-libc/Makefile.inc | Simplifies libc arch selection; drops powerpc objects. |
| libexec/rtld-elf/rtld.h | Removes MIPS/PowerPC Obj_Entry fields. |
| release/powerpc/boot.tbxi | Removes PowerPC release boot metadata. |
| release/powerpc/powerpc.conf | Removes PowerPC release config. |
| release/powerpc/powerpc64.conf | Removes PowerPC64 release config. |
| release/powerpc/powerpc64le.conf | Removes PowerPC64LE release config. |
| release/powerpc/powerpcspe.conf | Removes PowerPCspe release config. |
| release/tools/vmimage.subr | Removes PowerPC vmimage partitioning cases. |
| sbin/Makefile.mips | Removes MIPS sbin subdirs. |
| sbin/Makefile.powerpc64 | Removes PowerPC64 sbin subdirs. |
| sbin/devd/Makefile | Removes powerpc devd config include. |
| share/man/man4/Makefile | Removes MIPS/PowerPC man4 conditionals. |
| share/man/man4/man4.powerpc/Makefile | Removes PowerPC man4 subdir Makefile. |
| share/man/man4/man4.powerpc/Makefile.depend | Removes generated dependency file. |
| share/man/man4/smp.4 | Updates SMP docs to remove legacy arch mentions. |
| share/mk/bsd.endian.mk | Removes mips/powerpc endianness conditionals. |
| share/mk/bsd.lib.mk | Removes MIPS clang TLS-model workaround. |
| share/mk/bsd.opts.mk | Removes MIPS/PowerPC from PIE default-off list. |
| share/mk/bsd.prog.mk | Removes MIPS64 clang TLS-model workaround. |
| share/mk/local.meta.sys.mk | Drops mips/powerpc TARGET_ARCHES and ALL_MACHINE_LIST entries. |
| share/mk/sys.dependfile.mk | Updates default machine list for dependfile preference. |
| share/mk/sys.mk | Removes mips/powerpc CPUARCH mapping rules. |
| stand/common/metadata.c | Removes md_load64 and powerpc usefdt behavior. |
| stand/ficl.mk | Removes mips64 FICL_CPUARCH remap. |
| stand/ficl/loader.c | Removes powerpc ficl env settings. |
| stand/kboot/arch/powerpc64/Makefile.inc | Removes powerpc64 kboot arch make fragment. |
| stand/kboot/arch/powerpc64/start_arch.h | Removes powerpc64 start glue. |
| stand/kboot/arch/powerpc64/stat_arch.h | Removes powerpc64 kstat layout. |
| stand/kboot/arch/powerpc64/syscall_nr.h | Removes powerpc64 syscall numbers. |
| stand/kboot/host_syscall.h | Updates comment to drop powerpc mention. |
| stand/kboot/hostfs.c | Updates comment to drop powerpc special-casing mention. |
| stand/libsa/Makefile | Removes powerpc syncicache source. |
| stand/libsa/zalloc_defs.h | Removes mips/powerpc alignment condition. |
| stand/loader.mk | Removes mips/powerpc loader source selection. |
| stand/powerpc/Makefile | Removes PowerPC stand subdir Makefile. |
| stand/powerpc/Makefile.inc | Removes PowerPC stand include. |
| stand/powerpc/boot1.chrp/Makefile.hfs | Removes generated HFS offsets file. |
| stand/powerpc/boot1.chrp/bootinfo.txt | Removes PowerPC bootinfo metadata. |
| stand/powerpc/ofw/version | Removes PowerPC OFW version file. |
| stand/uboot/arch/mips/Makefile.inc | Removes MIPS ubldr build rules. |
| stand/uboot/arch/powerpc/Makefile.inc | Removes PowerPC uboot arch fragment. |
| stand/uboot/glue.h | Removes MIPS API signature search limit. |
| stand/usb/Makefile | Removes MIPS-specific -mno-abicalls. |
| sys/Makefile | Removes mips/powerpc from CSCOPE arch dirs. |
| sys/README.md | Removes powerpc from kernel roadmap list. |
| sys/cddl/contrib/opensolaris/uts/mips/dtrace/fasttrap_isa.c | Removes placeholder MIPS fasttrap file. |
| sys/cddl/dev/fbt/mips/fbt_isa.h | Removes MIPS fbt ISA header. |
| sys/cddl/dev/fbt/powerpc/fbt_isa.h | Removes PowerPC fbt ISA header. |
| sys/cddl/dev/profile/profile.c | Removes MIPS/PowerPC artificial frame definitions. |
| sys/conf/config.mk | Removes mips/powerpc kernel option wiring. |
| sys/conf/kern.opts.mk | Removes mips/powerpc broken-option logic; updates EFI note. |
| sys/conf/options.powerpc | Removes PowerPC kernel options list. |
| sys/dev/evdev/evdev.c | Removes powerpc-specific evdev rcpt mask. |
| sys/dev/usb/usb_freebsd.h | Narrows USB_HOST_ALIGN special-case to arm only. |
| sys/dts/Makefile | Removes mips/powerpc DTS subdirs. |
| sys/dts/mips/Makefile | Removes MIPS DTS makefile. |
| sys/dts/mips/fbsd-mt7620a.dtsi | Removes MIPS DTS include. |
| sys/dts/mips/fbsd-mt7628an.dtsi | Removes MIPS DTS include. |
| sys/dts/mips/fbsd-rt3883.dtsi | Removes MIPS DTS include. |
| sys/dts/powerpc/Makefile | Removes PowerPC DTS makefile. |
| sys/kern/uipc_mbuf.c | Removes powerpc booke mbuf layout assert. |
| sys/kern/vfs_bio.c | Removes MIPS-specific buffer pager default and commentary. |
| sys/kern/vfs_cache.c | Generalizes alignment comment beyond mips n32. |
| sys/mips/atheros/ar531x/ar5312_chip.h | Removes MIPS ar5312 chip header. |
| sys/mips/atheros/ar531x/ar5315_chip.h | Removes MIPS ar5315 chip header. |
| sys/mips/atheros/ar531x/files.ar5315 | Removes MIPS ar531x files list. |
| sys/mips/atheros/ar724x_chip.h | Removes MIPS ar724x chip header. |
| sys/mips/atheros/ar91xx_chip.h | Removes MIPS ar91xx chip header. |
| sys/mips/atheros/ar933x_chip.h | Removes MIPS ar933x chip header. |
| sys/mips/atheros/ar934x_chip.h | Removes MIPS ar934x chip header. |
| sys/mips/atheros/qca953x_chip.h | Removes MIPS qca953x chip header. |
| sys/mips/atheros/qca955x_chip.h | Removes MIPS qca955x chip header. |
| sys/mips/atheros/std.ar71xx | Removes MIPS ar71xx std fragment. |
| sys/mips/atheros/uart_dev_ar933x.h | Removes MIPS uart dev header. |
| sys/mips/beri/std.beri | Removes MIPS BERI std fragment. |
| sys/mips/broadcom/std.broadcom | Removes MIPS broadcom std fragment. |
| sys/mips/cavium/std.octeon1 | Removes MIPS cavium std fragment. |
| sys/mips/conf/AP93 | Removes MIPS kernel config. |
| sys/mips/conf/AP94 | Removes MIPS kernel config. |
| sys/mips/conf/AP94.hints | Removes MIPS hints file. |
| sys/mips/conf/AP96 | Removes MIPS kernel config. |
| sys/mips/conf/AR5312_BASE.hints | Removes MIPS hints file. |
| sys/mips/conf/AR5315_BASE.hints | Removes MIPS hints file. |
| sys/mips/conf/BCM.hints | Removes MIPS hints file. |
| sys/mips/conf/BERI_DE4.hints | Removes MIPS hints file. |
| sys/mips/conf/BERI_DE4_MDROOT | Removes MIPS kernel config. |
| sys/mips/conf/BERI_DE4_SDROOT | Removes MIPS kernel config. |
| sys/mips/conf/BERI_NETFPGA_MDROOT | Removes MIPS kernel config. |
| sys/mips/conf/BERI_SIM_BASE | Removes MIPS kernel config. |
| sys/mips/conf/BERI_SIM_MDROOT | Removes MIPS kernel config. |
| sys/mips/conf/BERI_SIM_SDROOT | Removes MIPS kernel config. |
| sys/mips/conf/BERI_SIM_VIRTIO | Removes MIPS kernel config. |
| sys/mips/conf/BERI_SOCKIT | Removes MIPS kernel config. |
| sys/mips/conf/CANNA | Removes MIPS kernel config. |
| sys/mips/conf/CI20 | Removes MIPS kernel config. |
| sys/mips/conf/DEFAULTS | Removes MIPS DEFAULTS. |
| sys/mips/conf/ENH200 | Removes MIPS kernel config. |
| sys/mips/conf/JZ4780.hints | Removes MIPS hints file. |
| sys/mips/conf/MALTA | Removes MIPS kernel config. |
| sys/mips/conf/MALTA.hints | Removes MIPS hints file. |
| sys/mips/conf/MALTA64 | Removes MIPS kernel config. |
| sys/mips/conf/MALTA64EL | Removes MIPS kernel config. |
| sys/mips/conf/MALTAEL | Removes MIPS kernel config. |
| sys/mips/conf/OCTEON1.hints | Removes MIPS hints file. |
| sys/mips/conf/PB47 | Removes MIPS kernel config. |
| sys/mips/conf/ROUTERSTATION | Removes MIPS kernel config. |
| sys/mips/conf/ROUTERSTATION_MFS | Removes MIPS kernel config. |
| sys/mips/conf/RSPRO | Removes MIPS kernel config. |
| sys/mips/conf/RSPRO_MFS | Removes MIPS kernel config. |
| sys/mips/conf/RSPRO_STANDALONE | Removes MIPS kernel config. |
| sys/mips/conf/X1000.hints | Removes MIPS hints file. |
| sys/mips/conf/XLP.hints | Removes MIPS hints file. |
| sys/mips/conf/XLP64 | Removes MIPS kernel config. |
| sys/mips/conf/XLPN32 | Removes MIPS kernel config. |
| sys/mips/include/bus_dma.h | Removes MIPS MD bus_dma header. |
| sys/mips/include/clock.h | Removes MIPS MD clock header. |
| sys/mips/include/efi.h | Removes MIPS MD efi header. |
| sys/mips/include/fpu.h | Removes MIPS MD fpu header. |
| sys/mips/include/ieeefp.h | Removes MIPS MD ieeefp header. |
| sys/mips/include/metadata.h | Removes MIPS MD metadata header. |
| sys/mips/include/procctl.h | Removes MIPS MD procctl header. |
| sys/mips/include/stdarg.h | Removes MIPS MD stdarg header. |
| sys/mips/malta/files.malta | Removes MIPS Malta files list. |
| sys/mips/malta/gt_pci_bus_space.h | Removes MIPS Malta header. |
| sys/mips/malta/gtvar.h | Removes MIPS Malta header. |
| sys/mips/malta/std.malta | Removes MIPS Malta std fragment. |
| sys/mips/mips/ptrace_machdep.c | Removes MIPS ptrace placeholder. |
| sys/mips/nlm/std.xlp | Removes MIPS NLM std fragment. |
| sys/mips/ingenic/files.x1000 | Removes MIPS ingenic files list. |
| sys/mips/ingenic/jz4780_clock.h | Removes MIPS ingenic header. |
| sys/mips/ingenic/jz4780_pinctrl.h | Removes MIPS ingenic header. |
| sys/modules/aacraid/Makefile | Drops powerpc endian helper source. |
| sys/modules/agp/Makefile | Drops powerpc AGP source. |
| sys/modules/ar71xx/Makefile | Removes ar71xx module Makefile. |
| sys/modules/cas/Makefile | Drops powerpc OFW bus interface. |
| sys/modules/cpufreq/Makefile | Drops powerpc cpufreq wiring. |
| sys/modules/dtrace/Makefile | Drops mips/powerpc dtrace module conditionals. |
| sys/modules/dtrace/fasttrap/Makefile | Drops powerpc-specific include paths. |
| sys/modules/gem/Makefile | Drops powerpc OFW bus interface. |
| sys/modules/hwpmc/Makefile | Drops powerpc hwpmc sources. |
| sys/modules/hwpmc_mips24k/Makefile | Removes MIPS hwpmc module. |
| sys/modules/hwpmc_mips74k/Makefile | Removes MIPS hwpmc module. |
| sys/modules/i2c/iicbb/Makefile | Drops mips/powerpc OFW conditional. |
| sys/modules/ipmi/Makefile | Drops powerpc64 opal backend wiring. |
| sys/modules/netfpga10g/Makefile | Removes netfpga10g module wrapper. |
| sys/modules/netfpga10g/nf10bmac/Makefile | Removes mips-specific nf10bmac module. |
| sys/modules/opal_nvram/Makefile | Removes opal_nvram module Makefile. |
| sys/modules/powermac_nvram/Makefile | Removes powermac_nvram module Makefile. |
| sys/modules/scc/Makefile | Removes powerpc scc_bfe sources selection. |
| sys/modules/sound/driver/Makefile | Drops powerpc-only sound subdirs. |
| sys/modules/sound/driver/ai2s/Makefile | Removes snd_ai2s module Makefile. |
| sys/modules/sound/driver/davbus/Makefile | Removes snd_davbus module Makefile. |
| sys/modules/uart/Makefile | Removes powerpc from OFW conditional (but see comment). |
| sys/modules/usb/Makefile | Removes mips-only modules/conditionals. |
| sys/modules/zfs/Makefile | Drops powerpc from 32-bit conditional logic. |
| targets/pseudo/userland/Makefile.depend | Removes mips/powerpc DIRDEPS entries. |
| targets/pseudo/userland/lib/Makefile.depend | Drops powerpc from stand/libsa32 DIRDEPS. |
| targets/pseudo/userland/misc/Makefile.depend | Removes powerpc DIRDEPS wiring. |
| tests/sys/fs/Makefile | Removes MIPS fusefs test exclusion. |
| tests/sys/kern/Makefile | Simplifies subr_physmem_test build condition. |
| tests/sys/vm/Makefile | Simplifies MAP_32BIT test build condition. |
| tools/boot/rootgen.sh | Removes MIPS/PowerPC image/testing notes. |
| tools/boot/universe.sh | Removes MIPS/PowerPC boot universe targets. |
| tools/tools/nanobsd/embedded/README | Removes MIPS/PowerPC NanoBSD config listings. |
| tools/tools/nanobsd/embedded/qemu-mips.cfg | Removes MIPS NanoBSD config. |
| tools/tools/nanobsd/embedded/qemu-mips64.cfg | Removes MIPS64 NanoBSD config. |
| tools/tools/nanobsd/embedded/qemu-powerpc64.cfg | Removes PowerPC64 NanoBSD config. |
| usr.bin/Makefile.powerpc | Removes PowerPC usr.bin subdir. |
| usr.bin/clang/Makefile.inc | Removes MIPS -mxgot flags. |
| usr.bin/gh-bc/Makefile | Simplifies -flto conditional (drops mips/powerpc). |
| usr.bin/gcore/Makefile | Drops powerpc64 from elf32core build condition. |
| usr.bin/getconf/getconf.1 | Updates supported platform notes. |
| usr.bin/truss/syscalls.c | Removes mips/powerpc ABI special-casing. |
| usr.bin/uname/uname.1 | Removes PowerPC-specific example text. |
| usr.sbin/Makefile.mips | Removes MIPS usr.sbin subdir. |
| usr.sbin/Makefile.powerpc | Removes PowerPC usr.sbin subdir. |
| usr.sbin/bsdinstall/scripts/bootconfig | Removes PowerPC kboot.conf special-case. |
| usr.sbin/config/config.5 | Removes mips/powerpc from config(5) arch list. |
| usr.sbin/kldxref/Makefile | Drops MIPS/PowerPC kldxref sources. |
| usr.sbin/nvram/Makefile | Removes PowerPC nvram utility build. |
Review details
- Files reviewed: 227/1483 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
10
to
12
| .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \ | ||
| ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "riscv" | ||
| ${MACHINE_CPUARCH} == "riscv" | ||
| ofw_bus_if= ofw_bus_if.h |
Comment on lines
+3
to
+5
| 20260904: | ||
| Native MIPS, PowerPC, and sparc64 support has been removed. Supported | ||
| architectures are amd64, arm, arm64, i386, and riscv. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
Provenance
Port of master commits 6338fe3 and 10db70c.
AI-Assisted-by: OpenAI Codex (GPT-5)
Obtained from: FreeBSD