From owner-freebsd-current@FreeBSD.ORG Fri Aug 27 20:00:08 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA62210656A3 for ; Fri, 27 Aug 2010 20:00:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD5D8FC08 for ; Fri, 27 Aug 2010 20:00:07 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o7RK032U076481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Aug 2010 23:00:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o7RK03BD037376; Fri, 27 Aug 2010 23:00:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o7RK03e4037375; Fri, 27 Aug 2010 23:00:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 27 Aug 2010 23:00:03 +0300 From: Kostik Belousov To: Fabian Keil Message-ID: <20100827200003.GC2396@deviant.kiev.zoral.com.ua> References: <20100827182108.12764ff4@r500.local> <20100827190407.GA2396@deviant.kiev.zoral.com.ua> <20100827212534.5960efdf@r500.local> <20100827193720.GB2396@deviant.kiev.zoral.com.ua> <20100827214635.40471d37@r500.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8rHj2ch2EiN5qBn3" Content-Disposition: inline In-Reply-To: <20100827214635.40471d37@r500.local> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_05, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org Subject: Re: emacs aborting on exit with recent lib/libc/stdlib/atexit.c changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2010 20:00:08 -0000 --8rHj2ch2EiN5qBn3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 27, 2010 at 09:46:35PM +0200, Fabian Keil wrote: > > diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c > > index 97cf234..511172a 100644 > > --- a/lib/libc/stdlib/atexit.c > > +++ b/lib/libc/stdlib/atexit.c > > @@ -200,6 +200,6 @@ __cxa_finalize(void *dso) > > if (dso =3D=3D NULL) > > _MUTEX_DESTROY(&atexit_mutex); > > =20 > > - if (&__pthread_cxa_finalize !=3D NULL) > > + if (has_phdr && &__pthread_cxa_finalize !=3D NULL) > > __pthread_cxa_finalize(&phdr_info); > > } >=20 > That fixed it. Thanks a lot. Thank for your help, fixed in r211894. --8rHj2ch2EiN5qBn3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkx4GUMACgkQC3+MBN1Mb4i3UgCgvyqh60JWR+zW9rmft33ylt7X r1AAoK8L1oT3wpg+K2eYWwrvGJ4mnLh1 =zs3+ -----END PGP SIGNATURE----- --8rHj2ch2EiN5qBn3--