Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jan 2016 22:29:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205787] Can't compile freebsd srcs (/usr/src) with clang/llvm 3.8 and option -march=haswell
Message-ID:  <bug-205787-8-DWJe52mKKw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205787-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205787-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205787

--- Comment #2 from Leo <l.andro.cs@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:

=3D=3D=3D> 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=3Dcorei7 -fomit-frame-poi=
nter),
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205787-8-DWJe52mKKw>