Created attachment 210536 [details] patch Clang doesn't like -mbig: cc -mbig -c -o spapr-rtas.o spapr-rtas.S cc: error: unknown argument: '-mbig' This file doesn't seem to be built on amd64, so removing -mbig doesn't cause a problem there. I also successfully built on powerpc64 elfv1 and it also builds.
A commit references this bug: Author: pkubaj Date: Wed Jan 22 17:34:11 UTC 2020 New revision: 523823 URL: https://svnweb.freebsd.org/changeset/ports/523823 Log: emulators/qemu: fix build on powerpc64 elfv2 Clang doesn't like -mbig: cc -mbig -c -o spapr-rtas.o spapr-rtas.S cc: error: unknown argument: '-mbig' This file doesn't seem to be built on amd64, so removing -mbig doesn't cause a problem there. I also successfully built on powerpc64 elfv1 and it also builds. PR: 243188 Approved by: bofh (maintainer timeout) Changes: head/emulators/qemu/files/patch-pc-bios_spapr-rtas_Makefile