Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2007 21:06:50 -0500
From:      Alexander Kabaev <kabaev@gmail.com>
To:        d@delphij.net
Cc:        cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, delphij@delphij.net, David Xu <davidxu@FreeBSD.ORG>, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libthr pthread.map src/lib/libthr/thread  thr_syscalls.c
Message-ID:  <20071220210650.4f3d061d@kan.dnsalias.net>
In-Reply-To: <476B126B.40004@delphij.net>
References:  <200712200432.lBK4WSEq036881@repoman.freebsd.org> <20071220074756.5ac4b0c1@kan.dnsalias.net> <476B126B.40004@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/8SkNbvXIURNAzjMNqET3OYW
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 20 Dec 2007 17:10:03 -0800
Xin LI <delphij@delphij.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi, Alexander,
>=20
> Alexander Kabaev wrote:
> > On Thu, 20 Dec 2007 04:32:28 +0000 (UTC)
> > David Xu <davidxu@FreeBSD.org> wrote:
> >=20
> >> davidxu     2007-12-20 04:32:28 UTC
> >>
> >>   FreeBSD src repository
> >>
> >>   Modified files:
> >>     lib/libthr           pthread.map=20
> >>     lib/libthr/thread    thr_syscalls.c=20
> >>   Log:
> >>   Remove vfork() overloading, it is no longer needed.
> >>  =20
> >>   Revision  Changes    Path
> >>   1.21      +0 -2      src/lib/libthr/pthread.map
> >>   1.17      +0 -9      src/lib/libthr/thread/thr_syscalls.c
> >>
> >> http://cvsweb.FreeBSD.org/src/lib/libthr/pthread.map.diff?r1=3D1.20&r2=
=3D1.21
> >> http://cvsweb.FreeBSD.org/src/lib/libthr/thread/thr_syscalls.c.diff?r1=
=3D1.16&r2=3D1.17
> >=20
> > Technically, you just broke ABI backwards compatibility for libthr.
> > Symbols can not be removed from exported sections on a whim. =20
>=20
> Being relatively new to this stuff, I think I get confused by this, so
> we can link to libthr's "vfork" directly?  It uses the same namespace
> as libc did...
>=20
> Maybe we should write up some usage guidelines for this in developers'
> handbook (I can give this a shot)...
>=20
The change does not break existing binaries, as libc will satisfy all
references after fork symbol was removed from libthr. It just breaks
general rule: we do not remove versioned symbols once they were
released unless there's a library version bump.
--=20
Alexander Kabaev

--Sig_/8SkNbvXIURNAzjMNqET3OYW
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHax+6Q6z1jMm+XZYRAvG/AJ0aIOAv8E3rFMhzdCQukvb4pqZDZgCdGy6Q
6FD2iw8VT4CKELdtmR9mvZc=
=tI+x
-----END PGP SIGNATURE-----

--Sig_/8SkNbvXIURNAzjMNqET3OYW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071220210650.4f3d061d>