Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-27 Thread Richard Henderson
On 3/27/20 3:51 AM, Laurent Vivier wrote: >> The Plan is still to drop this whole section of code. >> >> However, it's still blocked on getting the x86_64 vsyscall patches upstream. > > Richard, > > will you propose another fix to fix build with LLVM lld 10? Sent. r~

Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-27 Thread Alex Bennée
Daniel P. Berrangé writes: > On Fri, Mar 27, 2020 at 03:44:47PM +, Alex Bennée wrote: >> >> Roger Pau Monné writes: >> >> > On Fri, Mar 27, 2020 at 11:28:04AM +, Alex Bennée wrote: >> >> >> >> Roger Pau Monné writes: >> >> >> >> > On Thu, Mar 26, 2020 at 09:56:38AM -0700, Richard

Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-27 Thread Daniel P . Berrangé
On Fri, Mar 27, 2020 at 03:44:47PM +, Alex Bennée wrote: > > Roger Pau Monné writes: > > > On Fri, Mar 27, 2020 at 11:28:04AM +, Alex Bennée wrote: > >> > >> Roger Pau Monné writes: > >> > >> > On Thu, Mar 26, 2020 at 09:56:38AM -0700, Richard Henderson wrote: > >> >> On 3/26/20 6:43

Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-27 Thread Alex Bennée
Roger Pau Monné writes: > On Fri, Mar 27, 2020 at 11:28:04AM +, Alex Bennée wrote: >> >> Roger Pau Monné 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 -

Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-27 Thread Roger Pau Monné
On Fri, Mar 27, 2020 at 11:28:04AM +, Alex Bennée wrote: > > Roger Pau Monné 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

Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-27 Thread Alex Bennée
Roger Pau Monné 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 fixe

Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-27 Thread Laurent Vivier
Le 26/03/2020 à 17:56, Richard Henderson a écrit : > 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.

Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-27 Thread Roger Pau Monné
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 usin

Re: [PATCH] qemu-user: fix build with LLVM lld 10

2020-03-26 Thread Richard Henderson
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 > Signed-off-by: Rog

[PATCH] qemu-user: fix build with LLVM lld 10

2020-03-26 Thread Roger Pau Monne
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 Signed-off-by: Roger Pau Monné --- Cc: Laurent Vivier Cc: Richard Henders