Re: building i386 world on amd64 host: failed @svn

看板FB_current作者時間12年前 (2013/08/16 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/11 (看更多)
On Aug 15, 2013, at 20:36, Konstantin Belousov <kostikbel@gmail.com> wrote: > On Thu, Aug 15, 2013 at 08:13:34PM +0200, Dimitry Andric wrote: >> Alternatively, we could attempt to figure out why gcc doesn't want to >> inline those 64 bit builtins on FreeBSD. It seems to have no problem >> doing so on the first Linux box I tried... > > Does the linux box defaults to pentium or higher for -march ? > 64 bit atomics cannot be implemented in usermode on i386 on > processors which do not have cmpxchg8b instruction. Ah yes, you are totally right, with -v it gives: COLLECT_GCC_OPTIONS='-O2' '-S' '-v' '-mtune=generic' '-march=i586' So we should really disable atomics for i486 and lower? Though I have understood that there also some pentiums without cmpxchg8b... _______________________________________________ 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): #1I3Iop_I (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1I3Iop_I (FB_current)