clang 3.9.1 does not support -Wa,-many : # clang -c -Wa,-many locore64_simplified.S clang: error: unsupported argument '-many' to option 'Wa,' So -many should be avoided where it is not needed for clang.
Created attachment 178727 [details] Avoid using -Wa,-many for clang for powerpc family An alternate would be use of: CFLAGS.gcc+= -msoft-float -Wa,-many CFLAGS.clang+= -msoft-float without the conditional logic, presuming such is supported for the context.
A commit references this bug: Author: jhibbits Date: Sun Jan 22 06:00:06 UTC 2017 New revision: 312614 URL: https://svnweb.freebsd.org/changeset/base/312614 Log: Don't pass -Wa,-many through clang, the integrated as doesn't support it. Our base binutils sets -many by default anyway, but external gcc may not do this. PR: kern/215948 Submitted by: Mark Millard <markmi AT dsl-only DOT net> Reported by: Mark Millard MFC after: 2 weeks Changes: head/sys/conf/Makefile.powerpc
MFC'd to stable/11 r316369