From owner-freebsd-current@freebsd.org Thu Nov 21 04:13:21 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 36E981ACC27 for ; Thu, 21 Nov 2019 04:13:21 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47JR4d0gbVz3KfN; Thu, 21 Nov 2019 04:13:21 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id AF76F83C9; Thu, 21 Nov 2019 04:13:20 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Thu, 21 Nov 2019 04:13:17 +0000 From: Glen Barber To: Pete Wright Cc: FreeBSD Current Subject: Re: breakage at usr.sbin/jail/Makefile Message-ID: <20191121041317.GL5599@FreeBSD.org> References: <0e3dd332-91d7-0aa1-43cb-43528db7c63a@nomadlogic.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wSq95SjGPZBE6hCW" Content-Disposition: inline In-Reply-To: <0e3dd332-91d7-0aa1-43cb-43528db7c63a@nomadlogic.org> User-Agent: Mutt/1.12.1 (2019-06-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 21 Nov 2019 04:13:21 -0000 --wSq95SjGPZBE6hCW Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 20, 2019 at 07:57:57PM -0800, Pete Wright wrote: > Hello, > looks like some of the recent commits to usr.sbin/jail/Makefile has broken > CURRENT.=A0 I am getting this error when attempting a buildworld: >=20 > =3D=3D=3D> usr.sbin/jail (cleandir) > make[4]: "/usr/home/pete/git/freebsd/usr.sbin/jail/Makefile" line 21: > Malformed conditional (${LINKER_TYPE} =3D=3D "bfd" && ${MACHINE} =3D=3D "= riscv") > make[4]: Fatal errors encountered -- cannot continue > make[4]: stopped in /usr/home/pete/git/freebsd/usr.sbin/jail > *** [cleandir_subdir_usr.sbin/jail] Error code 1 >=20 >=20 > here's the code in question: > =A018 # workaround for GNU ld (GNU Binutils) 2.33.1: > =A019 #=A0=A0 relocation truncated to fit: R_RISCV_GPREL_I against `.LANC= HOR2' > =A020 # https://bugs.freebsd.org/242109 > =A021 .if ${LINKER_TYPE} =3D=3D "bfd" && ${MACHINE} =3D=3D "riscv" > =A022 CFLAGS+=3D-Wl,--no-relax > =A023 .endif >=20 >=20 > looks like Ed Maste caught this already in the > https://bugs.freebsd.org/242109 but wanted to flag it here as well in case > anyone else runs into this in the hopes it saves some debugging time :) >=20 Reverted out of frustration in r354935. Glen --wSq95SjGPZBE6hCW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAl3WDtgACgkQAxRYpUeP 4pMkmA/9ESc/p2LZ6utBFKiG4cuVxhvXhHjO6Ju/wwt9ou7zSEBsn0QHGJf8K82S g/ekM/Gu2quF9KRwU3l1j5GJZ7C5SS+AHcp8nSsHKdj1kAVhcoh+q86r+BQ2sAyS Vr8EDALGBYDl1XuDgVmOaOkGUMfUnxdOi7e72iWdVJpDJP6F71NkZWEf+EFAa6pB MbMydM1xPsRhLRJBM0n/4b38cQHFE2BW+g5Wuxm0jxq8AHQ0x/YLDTBUY85pa0d8 J/DHvrluw57PYinrCMDEiI5pVuYKyY5lrvX6fTPqZxzwZQxwlEYaBAvKTGvpnj8k 77CdRr1xH+xmTZWScIrxJtsSwFPb9/YspxLGhjsoerIhPzuFLE1B/TKPZLXvr4Mv q2Nm6uwByZLAXkFsuRrAvki4NQwhQxEE9fEfztFOvl19GJpXScOOsqy61nDpJV5r ja2SGyyVdJZ55lo2ypUWzKEG7a4mRAIR7UENKxZdSi/Eqx52h+VTlqjBHHJ+L0MZ UxBjGgGFQfDZ9RxNkeX8XrxenUdPQE1OAlKLR9NVDJbMoqBgKErY336+hnWqoL6Z 9gyr6gqX7G6kKvVu9ObmFg7gff6ZrfTAxH9PPGLHaR53ONw4fDV3u6HzRomyjRH9 SOYRhTtFiyRykYlBZC9LKks0RsgW9363UkSVDSsxPmwQt3u6evo= =T0mA -----END PGP SIGNATURE----- --wSq95SjGPZBE6hCW--