https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205787
Bug ID: 205787 Summary: Can't compile freebsd srcs (/usr/src) with clang/llvm 3.8 Product: Base System Version: 10.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: l.andro...@gmail.com My computer has the "haswell" processor (a version of Intel i7), the clang version that ships with FreeBSD has no knowledge of my processor, only the "generic" i7, so I installed the clang/llvm 3.8, as it has knowledge of my processor. Trying to compile the source code installed with Freebsd 10.2 CD (src.txz, make buildworld), using the clang 8.0 (and option -march=haswell) resulted in a lot of "warnings as errors", switched back to 3.4.1 (and option -march=corei7) and all done. So there is new "checks" made by the 3.8 compiler that isn't compatible with some included sources in the /usr/src. Some I tryed to "repair": openpam, libz (zip lib), "jail lib", then I stopped. The problem is the option to treat warnings as errors, for example, in jail lib clang 3.4.1 accepts to assign a string of char (char[5] like "aaaa") to *(const **)&, but 3.8 refuses. -- 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"