Re: named crashes on assertion in rbtdb.c on sparc64/SMP

看板FB_current作者時間14年前 (2011/07/09 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串11/19 (看更多)
2011/7/8 Marius Strobl <marius@alchemy.franken.de>: > Please try the following: > a) Instead of the base BIND use the dns/bind96 port. The native build > =A0 of the latter defaults to not using the ISC atomic implementation > =A0 on sparc64 (and arm) and should properly enable the alternative. I > =A0 can at least start named from bind96-9.6.3.1.ESV.R4.3 with the defaul= t > =A0 configuration on -CURRENT without problems. dns/bind96? Why not bind98? As I see dns/bind98 configures without atomic swap operations. I will try to use dns/bind98 at first :) > b) Revert the above patch and try the base bind with the following > =A0 (third) patch: > =A0 http://people.freebsd.org/~marius/sparc64_isc_atomic.h.diff2 > =A0 That one adds the memory barriers required for reference counting > =A0 albeit in a sledgehammer-like fashion as the ISC atomic API doesn't > =A0 allow to distinguish between acquire and release semantics. Hmmm... With this patch build fails: root@sunrise:/usr/src/lib/bind/dns# make cc -O2 -pipe -DVERSION=3D'"9.6.-ESV-R4-P3"' -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE -DLIBINTERFACE=3D59 -DLIBREVISION=3D5 -DLIBAGE=3D1 -DOPENSSL -DUSE_MD5 -DWORDS_BIGENDIAN -DNS_LOCALSTATEDIR=3D'"/var"' -DNS_SYSCONFDIR=3D'"/etc/namedb"' -DNAMED_CONFFILE=3D'"/etc/namedb/named.conf"' -DRNDC_CONFFILE=3D'"/etc/namedb/rndc.conf"' -DRNDC_KEYFILE=3D'"/etc/namedb/rndc.key"' -I/usr/src/lib/bind/dns/.. -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/bind9/include -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dst -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include -I/usr/src/lib/bind/dns/../dns -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isccc/include -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isccfg/include -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/unix/include -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/pthreads/include -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/include -I/usr/src/lib/bind/dns/../isc -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/lwres/unix/include -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/lwres/include -I/usr/src/lib/bind/dns/../lwres -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dst -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns -I/usr/src/lib/bind/dns -I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/sparc64/include -std=3Dgnu99 -c /usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/acach= e.c {standard input}: Assembler messages: {standard input}:13: Error: Illegal operands: invalid membar mask name {standard input}:2180: Error: Illegal operands: invalid membar mask name *** Error code 1 > Unlikely, the crash caused by the assertion in _malloc_thread_cleanup() > was solved with r223369. Thanks you anyway! --=20 MATPOCKuH _______________________________________________ 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): #1E5rioXS (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 11 之 19 篇):
文章代碼(AID): #1E5rioXS (FB_current)