Date: Fri, 8 Jul 2011 23:17:20 +0400 From: KOT MATPOCKuH <matpockuh@gmail.com> To: Marius Strobl <marius@alchemy.franken.de> Cc: Doug Barton <dougb@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: named crashes on assertion in rbtdb.c on sparc64/SMP Message-ID: <CALmdT0UnAkjNK2MScU8rjMQ%2BieqUtER6FrEwaDCiQ3cynKfBQw@mail.gmail.com> In-Reply-To: <20110708181102.GA95673@alchemy.franken.de> References: <BANLkTinMimzfdK0Y4otZegGvztwo-yA4EA@mail.gmail.com> <BANLkTi=_PP=tvLUbXiTE1DT4tMirLRUY%2Bw@mail.gmail.com> <20110629134140.GF14797@alchemy.franken.de> <4E0B8F25.7090107@FreeBSD.org> <CALmdT0V2Fzf8mcYRzYzsu5XkauuxGaF4dxFPR7ZHr-FH2a_5bQ@mail.gmail.com> <20110707100446.GJ14797@alchemy.franken.de> <CALmdT0VFC7kBxaEqLuFVWkLk3o2hLe29tsx3dgn17tuTNaTRLA@mail.gmail.com> <20110707154958.GK14797@alchemy.franken.de> <CALmdT0V_MG7abrGyp-JodsP3Bun-C863VGqTkSAdewnFbiA-%2Bg@mail.gmail.com> <20110708181102.GA95673@alchemy.franken.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALmdT0UnAkjNK2MScU8rjMQ%2BieqUtER6FrEwaDCiQ3cynKfBQw>