[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 23:15:32 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205787
--- Comment #4 from Dimitry Andric <dim at FreeBSD.org> ---
Without any further information, I'm guessing that your bsd.compiler.mk does
not detect the compiler version properly, and that incorrect flags are being
used to compile boot2. (The whole sys/boot area is very sensitive to the exact
optimization flags, it will almost always grow too large if they aren't
correct.)
Can you provide a log of the commands being used to compile everything under
/usr/src/sys/boot? For example, by running "make clean" in there, and then
running make as usual, but redirected to a log file.
I'm also interested in the COMPILER_TYPE and COMPILER_VERSION detected by your
version of the build system. E.g. in /usr/src, run:
make -V COMPILER_TYPE -V COMPILER_VERSION
and paste the output here.
Having said all that, I think you will run into multiple problems that will be
pretty tricky to solve, if you continue this way. 10.2-RELEASE is completely
frozen, and misses a lot of important fixes and updates which are in 10-STABLE,
making the task even more difficult.
Therefore, I think it is wisest to abandon this attempt. You will most likely
not gain any significant performance advantage by compiling with
-march=haswell, as opposed to e.g. -march=corei7.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list