Re: Compiling BETA2 with clang fails

看板FB_current作者時間14年前 (2011/09/09 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串23/26 (看更多)
On 2011-09-09 05:45, Volodymyr Kostyrko wrote: .... >> Like cleaning /usr/obj/ and then buildworld with clang but with >> "-march=athlon-xp" instead of "-march=native". >> As the problem does not seem to be in your current world but rather in >> the bootstrap clang compiled with -march=native, you should not have >> to {build,install}world with gcc first. > > I cleaned /usr/obj and made a build with -march=athlon-xp. Same errors. I did a few test builds with 'high' CPU values for -march, and I ran into various problems. I'd discourage the use of -march=native for now, at least with clang. It will take some time to investigate. .... > # nm -D /usr/obj/usr/src/tmp/usr/lib/libc.so .... > That's the problem - libraries miss most symbols. This is why I still think you have the stdin/out/err problem, in some way. Can you please check /usr/obj/usr/src/lib/libc/Version.map? It should have about 2775 lines, otherwise your libc build is busted. _______________________________________________ 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): #1EQTNFIN (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1EQTNFIN (FB_current)