[Bug 205787] Can't compile freebsd srcs (/usr/src) with clang/llvm 3.8 and option -march=haswell

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 8 22:29:41 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205787

--- Comment #2 from Leo <l.andro.cs at gmail.com> ---
(In reply to Ed Maste from comment #1)

Hello, adding -DNO_WERROR option to make is ok, but then it stops at
/usr/src/sys/boot/i386/boot2

The error is:

===> sys/boot/i386/boot2 (all)
--- boot2 ---
-265 bytes available
*** [boot2] Error code 1

If I compile with the default clang version that comes with Freebsd 10 (3.4.1),
even  if I modify the CFLAGS/CXXFLAGS (-O3 -march=corei7 -fomit-frame-pointer),
all goes well, but if I try to compile with clang 3.6
(/usr/ports/lang/clang36), clang 3.7 and clang 3.8 (clang-devel), then this
error appears, with variable "-[X] bytes available" error message.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list