Date: Fri, 27 Aug 2010 23:00:03 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Fabian Keil <freebsd-listen@fabiankeil.de> Cc: freebsd-current@freebsd.org Subject: Re: emacs aborting on exit with recent lib/libc/stdlib/atexit.c changes Message-ID: <20100827200003.GC2396@deviant.kiev.zoral.com.ua> In-Reply-To: <20100827214635.40471d37@r500.local> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100827200003.GC2396>