Re: the latest version of Clang/LLVM for the world and kernel

看板FB_current作者時間12年前 (2013/04/27 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/7 (看更多)
Excluding the build errors arising from code becoming incompatible with old headers [1], the use of the latest version of Clang/LLVM for the world and kernel is mostly hitch-free, if I (1)remove, from the Clang installation, the headers that are already available in /usr/include, ie., $ cd /home/me/my_compilers/lib/clang/3.3/include $ rm float.h iso646.h limits.h tgmath.h and varargs.h $ rm stdalign.h stdarg.h stdbool.h stddef.h stdint.h stdnoreturn.h and (2) replace -fformat-extensions with -Wno-error-format in sys/conf/kern.mk. On 02/15/2013 16:57, Dimitry Andric wrote: > On 2013-02-15 14:26, deeptech71 wrote: >> During ``make installworld'': >> * btxld: Command not found. >> I had to append not only ``btxld'', but also ``ls dd cp'', to the ITOOLS variable in Makefile.inc1. > > There are apparently several things that can trigger that btxld error, > but the usual one is that your system clock is out of whack. I have > never researched it too deeply; maybe somebody else can chip in here. I did find my system clock "out of whack", but I've already fixed that weeks ago. I get the same error now. I don't recall getting the error when I was using the compiler in ${WORLDTMP} [1]. Also, there are still some eye-popping warnings (-Warray-bounds, -Wsizeof-pointer-memaccess, -Wuninitialized, -Wunsequenced) not apparently "fixed" yet. [1] http://lists.freebsd.org/pipermail/freebsd-current/2013-February/040160.html _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HUsBWCI (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1HUsBWCI (FB_current)