Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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.  I am getting this error when attempting a buildworld:
> 
> ===> usr.sbin/jail (cleandir)
> make[4]: "/usr/home/pete/git/freebsd/usr.sbin/jail/Makefile" line 21:
> Malformed conditional (${LINKER_TYPE} == "bfd" && ${MACHINE} == "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
> 
> 
> here's the code in question:
>  18 # workaround for GNU ld (GNU Binutils) 2.33.1:
>  19 #   relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR2'
>  20 # https://bugs.freebsd.org/242109
>  21 .if ${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv"
>  22 CFLAGS+=-Wl,--no-relax
>  23 .endif
> 
> 
> 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 :)
> 

Reverted out of frustration in r354935.

Glen


[-- Attachment #2 --]
-----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-----

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