On Fri, Mar 27, 2020 at 11:28:04AM +0000, Alex Bennée wrote: > > Roger Pau Monné <roger....@citrix.com> writes: > > > On Thu, Mar 26, 2020 at 09:56:38AM -0700, Richard Henderson wrote: > >> On 3/26/20 6:43 AM, Roger Pau Monne wrote: > >> > lld 10.0.0 introduced a new linker option --image-base equivalent to > >> > the GNU -Ttext-segment one, hence use it when available. > >> > > >> > This fixes the build of QEMU on systems using lld 10 or greater. > >> > > >> > Signed-off-by: Dimitry Andric <d...@freebsd.org> > >> > Signed-off-by: Roger Pau Monné <roger....@citrix.com> > >> > --- > >> > Cc: Laurent Vivier <laur...@vivier.eu> > >> > Cc: Richard Henderson <richard.hender...@linaro.org> > >> > Cc: "Philippe Mathieu-Daudé" <phi...@redhat.com> > >> > Cc: Paolo Bonzini <pbonz...@redhat.com> > >> > Cc: "Daniel P. Berrangé" <berra...@redhat.com> > >> > --- > >> > >> The Plan is still to drop this whole section of code. > >> > >> However, it's still blocked on getting the x86_64 vsyscall patches > >> upstream. > > > > While this doesn't materialize, could it be possible to get this patch > > accepted? > > > > This is currently blocking the build of QEMU on FreeBSD HEAD, which > > has already switched to LLVM 10.0.0. > > I think the vsyscall patch has just been merged, however way I don't > think targeting HEAD of a OS release during the rc phase is appropriate.
I'm not sure I understand what you mean. If QEMU doesn't build on FreeBSD HEAD it won't build on the next release. Also the LLVM toolchain used is not a development version AFAIK, but the actual 10.0.0 release, which QEMU should aim to support? Can this be applied to stable branches then please if QEMU master doesn't have that chunk in configure anymore? FWIW, I've just looked at configure from git master branch and it still has that exact same linker detection chunk that this patch is trying to fix. Thanks, Roger.