Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2018 14:38:10 -0500
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Ed Maste <emaste@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r340640 - head/lib/libc
Message-ID:  <20181119193810.b4mexvznrqyb7j7v@mutt-hbsd>
In-Reply-To: <201811191812.wAJICdFf087392@repo.freebsd.org>
References:  <201811191812.wAJICdFf087392@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--bpbhymxallxpmppd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 19, 2018 at 06:12:39PM +0000, Ed Maste wrote:
> Author: emaste
> Date: Mon Nov 19 18:12:39 2018
> New Revision: 340640
> URL: https://svnweb.freebsd.org/changeset/base/340640
>=20
> Log:
>   libc: forcibly disable BIND_NOW
>  =20
>   Building libc WITH_BIND_NOW results in segfault at process start.  For
>   now force BIND_NOW off until the root cause can be identified and fixed.
>  =20
>   PR:		233333
>   Sponsored by:	The FreeBSD Foundation
>=20
> Modified:
>   head/lib/libc/Makefile
>=20
> Modified: head/lib/libc/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/lib/libc/Makefile	Mon Nov 19 17:33:44 2018	(r340639)
> +++ head/lib/libc/Makefile	Mon Nov 19 18:12:39 2018	(r340640)
> @@ -6,6 +6,8 @@ SHLIBDIR?=3D /lib
> =20
>  .include <src.opts.mk>
> =20
> +# BIND_NOW in libc results in segfault at startup (PR 233333)
> +MK_BIND_NOW=3D	no

Since the use of ifunc in libc is only applicable to amd64, I wonder
if it would be best to disable BIND_NOW in
lib/libc/amd64/Makefile.inc. I don't believe there's any need to
disable BIND_NOW for libc on other architectures.

Thanks,

--=20
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:    +1 443-546-8752
Tor+XMPP+OTR:        lattera@is.a.hacker.sx
GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

--bpbhymxallxpmppd
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlvzER0ACgkQaoRlj1JF
bu5JzhAAnElmh4OS0FrWWzC19j53e+iI/9g4+Em80H/X2TrTmV0h9ADeebdyJIdI
zy849RR+V6oRRxpzYWlT59Jn+Pvh/ARlWIKosId9f14NRnMdKEhP8G/jRmixkUF2
ZDGEad0cb+d0tGGf3m1EhagJ8bSr2aJ6yiygFnVO81/fdOKSAIjhqVdS4q0Oi5HH
1BJWzyFtCEipr3gK5i7Tnq5q7f5CSIi2sbL/EAfafl3gSopBUZuscQlqJal9LUQ1
ytFSiXNg6VD7rbekAV54cgpsw+cvPsIkV7AmB+W4yuUvendFnKbd2vOR4HvsOiGC
IKiP1uBsCLJzyJ6EIptTemjDVJaurOpCsrhriesOFDiMMZEqiB3FEoe7s0oMWQf3
N6Uv7+JAhf9HUP/nCfC8MjIUaYzha42nbOv9/QZGUmLIha2vvdtVF73f8+P+xGtq
hirJC8ZfII7rair3hjo0YR02W+ii0iiZV24XUl9GaSkswkXbxDP19BlCuRWdjdAh
6fwS+Oj2lKnCPl/jbvdtk0wOHnHuvISeFYYO5+GB04eTGxXdAU05g53Gqho84Z5h
nqgT6SlvEOpaesMa76zT2wlvOhgnJleBBoXS9WEiYnaX1E7PVztbh5VHFArN6O6T
Br+q2Q98wMuD1E5lY7V8dJIJDwwMqYSw3SPU0ZtF0DoSt3W/EBw=
=2tib
-----END PGP SIGNATURE-----

--bpbhymxallxpmppd--



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