I am trying to update FreeBSD 10.0 STABLE r267746 to FreeBSD 11.0-STABLE.
When I ran
I assumed this was due to old clang.
I installed llvm38 from ports.
I changed the src.conf file:
No more seg fault, but new error.
When I ran
make buildworld
I got a seg fault. I assumed this was due to old clang.
clang -v
Code:
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.0
Thread model: posix
Selected GCC installation:
pkg info | grep llvm
Code:
clang38-3.8_1 C, Objective-C, and C++ compiler (use devel/llvm38)
llvm38-3.8.1_5 LLVM and Clang
cat /etc/src.conf
Code:
CC=/usr/local/bin/clang38
CXX=/usr/local/bin/clang++38
CPP=/usr/local/bin/clang-cpp38
make buildworld
throws this error:
Code:
In file included from /usr/src/lib/libc/db/btree/bt_close.c:43:
/usr/src/lib/libc/../../include/stdio.h:63:9: error: unknown type name '__off64_t'; did you mean
'__off_t'?
typedef __off64_t off64_t;
^~~~~~~~~