https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229669
--- Comment #4 from Frank Leonhardt <freebsd-...@fjl.co.uk> --- I've had a look around. What's happening? clang is using it's internal assembler instead of calling the system one. It chokes on the syntax. Why is it happening? There's a flag to stop it - "-no-integrated-as". This should be set in /usr/share/mk/bsd.sys.mk: ---- # We need this conditional because many places that use it # only enable it for some files with CLFAGS.$FILE+=${CLANG_NO_IAS}. # unconditionally, and can't easily use the CFLAGS.clang= # mechanism. .if ${COMPILER_TYPE} == "clang" CLANG_NO_IAS= -no-integrated-as .endif ---- For some reason, on the Azure version, it isn't. I have a nasty feeling that the make code that figures out which compiler it should be using isn't actually working, and COMPILER_TYPE may not be setting properly. I'll find out if it's worse after building the kernel, which takes AGES on Azure. Work around? You can over-ride CC -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"