Date: Thu, 21 Nov 2019 04:13:17 +0000 From: Glen Barber <gjb@freebsd.org> To: Pete Wright <pete@nomadlogic.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: breakage at usr.sbin/jail/Makefile Message-ID: <20191121041317.GL5599@FreeBSD.org> In-Reply-To: <0e3dd332-91d7-0aa1-43cb-43528db7c63a@nomadlogic.org> References: <0e3dd332-91d7-0aa1-43cb-43528db7c63a@nomadlogic.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191121041317.GL5599>