qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] qemu-user: fix build with LLVM lld 10
@ 2020-03-26 13:43 Roger Pau Monne
  2020-03-26 16:56 ` Richard Henderson
  0 siblings, 1 reply; 10+ messages in thread
From: Roger Pau Monne @ 2020-03-26 13:43 UTC (permalink / raw)
  To: qemu-devel
  Cc: Daniel P. Berrangé,
	Dimitry Andric, Richard Henderson, Laurent Vivier, Paolo Bonzini,
	Philippe Mathieu-Daudé,
	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 <dim@FreeBSD.org>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
Cc: Laurent Vivier <laurent@vivier.eu>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>
---
 configure | 42 +++++++++++++++++++++++-------------------
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/configure b/configure
index da09c35895..92d57d84fa 100755
--- a/configure
+++ b/configure
@@ -6514,27 +6514,31 @@ if ( [ "$linux_user" = yes ] || [ "$bsd_user" = yes ] ) && [ "$pie" = no ]; then
     cat > $TMPC <<EOF
     int main(void) { return 0; }
 EOF
-    textseg_ldflags="-Wl,-Ttext-segment=$textseg_addr"
+    # Test with image-base first, which appeared in lld 10.0.0
+    textseg_ldflags="-Wl,--image-base=$textseg_addr"
     if ! compile_prog "" "$textseg_ldflags"; then
-      # In case ld does not support -Ttext-segment, edit the default linker
-      # script via sed to set the .text start addr.  This is needed on FreeBSD
-      # at least.
-      if ! $ld --verbose >/dev/null 2>&1; then
-        error_exit \
-            "We need to link the QEMU user mode binaries at a" \
-            "specific text address. Unfortunately your linker" \
-            "doesn't support either the -Ttext-segment option or" \
-            "printing the default linker script with --verbose." \
-            "If you don't want the user mode binaries, pass the" \
-            "--disable-user option to configure."
-      fi
+      textseg_ldflags="-Wl,-Ttext-segment=$textseg_addr"
+      if ! compile_prog "" "$textseg_ldflags"; then
+        # In case ld does not support -Ttext-segment, edit the default linker
+        # script via sed to set the .text start addr.  This is needed on FreeBSD
+        # at least.
+        if ! $ld --verbose >/dev/null 2>&1; then
+          error_exit \
+              "We need to link the QEMU user mode binaries at a" \
+              "specific text address. Unfortunately your linker" \
+              "doesn't support either the --image-base or -Ttext-segment" \
+              "options or printing the default linker script with" \
+              "--verbose. If you don't want the user mode binaries," \
+              "pass the --disable-user option to configure."
+        fi
 
-      $ld --verbose | sed \
-        -e '1,/==================================================/d' \
-        -e '/==================================================/,$d' \
-        -e "s/[.] = [0-9a-fx]* [+] SIZEOF_HEADERS/. = $textseg_addr + SIZEOF_HEADERS/" \
-        -e "s/__executable_start = [0-9a-fx]*/__executable_start = $textseg_addr/" > config-host.ld
-      textseg_ldflags="-Wl,-T../config-host.ld"
+        $ld --verbose | sed \
+          -e '1,/==================================================/d' \
+          -e '/==================================================/,$d' \
+          -e "s/[.] = [0-9a-fx]* [+] SIZEOF_HEADERS/. = $textseg_addr + SIZEOF_HEADERS/" \
+          -e "s/__executable_start = [0-9a-fx]*/__executable_start = $textseg_addr/" > config-host.ld
+        textseg_ldflags="-Wl,-T../config-host.ld"
+      fi
     fi
   fi
 fi
-- 
2.26.0



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-26 13:43 [PATCH] qemu-user: fix build with LLVM lld 10 Roger Pau Monne
@ 2020-03-26 16:56 ` Richard Henderson
  2020-03-27 10:16   ` Roger Pau Monné
  2020-03-27 10:51   ` Laurent Vivier
  0 siblings, 2 replies; 10+ messages in thread
From: Richard Henderson @ 2020-03-26 16:56 UTC (permalink / raw)
  To: Roger Pau Monne, qemu-devel
  Cc: Philippe Mathieu-Daudé, Daniel P. Berrangé,
	Dimitry Andric, Laurent Vivier, Paolo Bonzini

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 <dim@FreeBSD.org>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> ---
> Cc: Laurent Vivier <laurent@vivier.eu>
> Cc: Richard Henderson <richard.henderson@linaro.org>
> Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: "Daniel P. Berrangé" <berrange@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.


r~


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-26 16:56 ` Richard Henderson
@ 2020-03-27 10:16   ` Roger Pau Monné
  2020-03-27 11:28     ` Alex Bennée
  2020-03-27 10:51   ` Laurent Vivier
  1 sibling, 1 reply; 10+ messages in thread
From: Roger Pau Monné @ 2020-03-27 10:16 UTC (permalink / raw)
  To: Richard Henderson
  Cc: Daniel P. Berrangé,
	Dimitry Andric, qemu-devel, Laurent Vivier, Paolo Bonzini,
	Philippe Mathieu-Daudé

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 <dim@FreeBSD.org>
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> > ---
> > Cc: Laurent Vivier <laurent@vivier.eu>
> > Cc: Richard Henderson <richard.henderson@linaro.org>
> > Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
> > Cc: Paolo Bonzini <pbonzini@redhat.com>
> > Cc: "Daniel P. Berrangé" <berrange@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.

Thanks, Roger.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-26 16:56 ` Richard Henderson
  2020-03-27 10:16   ` Roger Pau Monné
@ 2020-03-27 10:51   ` Laurent Vivier
  2020-03-27 23:00     ` Richard Henderson
  1 sibling, 1 reply; 10+ messages in thread
From: Laurent Vivier @ 2020-03-27 10:51 UTC (permalink / raw)
  To: Richard Henderson, Roger Pau Monne, qemu-devel
  Cc: Philippe Mathieu-Daudé,
	Dimitry Andric, Daniel P. Berrangé,
	Paolo Bonzini

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.
>>
>> Signed-off-by: Dimitry Andric <dim@FreeBSD.org>
>> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>> ---
>> Cc: Laurent Vivier <laurent@vivier.eu>
>> Cc: Richard Henderson <richard.henderson@linaro.org>
>> Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
>> Cc: Paolo Bonzini <pbonzini@redhat.com>
>> Cc: "Daniel P. Berrangé" <berrange@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.

Richard,

will you propose another fix to fix build with LLVM lld 10?

Thanks,
Laurent


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-27 10:16   ` Roger Pau Monné
@ 2020-03-27 11:28     ` Alex Bennée
  2020-03-27 14:08       ` Roger Pau Monné
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Bennée @ 2020-03-27 11:28 UTC (permalink / raw)
  To: Roger Pau Monné
  Cc: Daniel P. Berrangé,
	Dimitry Andric, Richard Henderson, Laurent Vivier, qemu-devel,
	Paolo Bonzini, Philippe Mathieu-Daudé


Roger Pau Monné <roger.pau@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 <dim@FreeBSD.org>
>> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>> > ---
>> > Cc: Laurent Vivier <laurent@vivier.eu>
>> > Cc: Richard Henderson <richard.henderson@linaro.org>
>> > Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
>> > Cc: Paolo Bonzini <pbonzini@redhat.com>
>> > Cc: "Daniel P. Berrangé" <berrange@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.

-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-27 11:28     ` Alex Bennée
@ 2020-03-27 14:08       ` Roger Pau Monné
  2020-03-27 15:44         ` Alex Bennée
  0 siblings, 1 reply; 10+ messages in thread
From: Roger Pau Monné @ 2020-03-27 14:08 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Daniel P. Berrangé,
	Dimitry Andric, Richard Henderson, Laurent Vivier, qemu-devel,
	Paolo Bonzini, Philippe Mathieu-Daudé

On Fri, Mar 27, 2020 at 11:28:04AM +0000, Alex Bennée wrote:
> 
> Roger Pau Monné <roger.pau@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 <dim@FreeBSD.org>
> >> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> >> > ---
> >> > Cc: Laurent Vivier <laurent@vivier.eu>
> >> > Cc: Richard Henderson <richard.henderson@linaro.org>
> >> > Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
> >> > Cc: Paolo Bonzini <pbonzini@redhat.com>
> >> > Cc: "Daniel P. Berrangé" <berrange@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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-27 14:08       ` Roger Pau Monné
@ 2020-03-27 15:44         ` Alex Bennée
  2020-03-27 15:48           ` Daniel P. Berrangé
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Bennée @ 2020-03-27 15:44 UTC (permalink / raw)
  To: Roger Pau Monné
  Cc: Daniel P. Berrangé,
	Dimitry Andric, Richard Henderson, Laurent Vivier, qemu-devel,
	Paolo Bonzini, Philippe Mathieu-Daudé


Roger Pau Monné <roger.pau@citrix.com> writes:

> On Fri, Mar 27, 2020 at 11:28:04AM +0000, Alex Bennée wrote:
>> 
>> Roger Pau Monné <roger.pau@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 <dim@FreeBSD.org>
>> >> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>> >> > ---
>> >> > Cc: Laurent Vivier <laurent@vivier.eu>
>> >> > Cc: Richard Henderson <richard.henderson@linaro.org>
>> >> > Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
>> >> > Cc: Paolo Bonzini <pbonzini@redhat.com>
>> >> > Cc: "Daniel P. Berrangé" <berrange@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?

QEMU's supported build platforms are based on what is currently shipping
as stable versions:

  https://www.qemu.org/docs/master/system/build-platforms.html

> Can this be applied to stable branches then please if QEMU master
> doesn't have that chunk in configure anymore?

Usually platforms released after a given QEMU release will just carry
their own patches in the local packaging. When is the current HEAD due
to be cut as the next release? The schedule for QEMU's release is
documented on out planning pages:

  https://wiki.qemu.org/Planning/5.0

> 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.

Now the vsyscalls patch is in this can be cleaned up I think. Richard?

-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-27 15:44         ` Alex Bennée
@ 2020-03-27 15:48           ` Daniel P. Berrangé
  2020-03-27 15:57             ` Alex Bennée
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel P. Berrangé @ 2020-03-27 15:48 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Richard Henderson, Dimitry Andric, Laurent Vivier, qemu-devel,
	Paolo Bonzini, Philippe Mathieu-Daudé, Roger Pau Monné

On Fri, Mar 27, 2020 at 03:44:47PM +0000, Alex Bennée wrote:
> 
> Roger Pau Monné <roger.pau@citrix.com> writes:
> 
> > On Fri, Mar 27, 2020 at 11:28:04AM +0000, Alex Bennée wrote:
> >> 
> >> Roger Pau Monné <roger.pau@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 <dim@FreeBSD.org>
> >> >> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> >> >> > ---
> >> >> > Cc: Laurent Vivier <laurent@vivier.eu>
> >> >> > Cc: Richard Henderson <richard.henderson@linaro.org>
> >> >> > Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
> >> >> > Cc: Paolo Bonzini <pbonzini@redhat.com>
> >> >> > Cc: "Daniel P. Berrangé" <berrange@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?
> 
> QEMU's supported build platforms are based on what is currently shipping
> as stable versions:
> 
>   https://www.qemu.org/docs/master/system/build-platforms.html

FWIW, when I wrote that my intention was *not* to exclude the bleeding
edge distro development branches.

Obviously we can break on those distros at any time as they're moving
targets, but IMHO we should treat bugs as we would for any other
released distros and aim to fix them promptly when bugs occurr.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-27 15:48           ` Daniel P. Berrangé
@ 2020-03-27 15:57             ` Alex Bennée
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Bennée @ 2020-03-27 15:57 UTC (permalink / raw)
  To: Daniel P. Berrangé
  Cc: Richard Henderson, Dimitry Andric, Laurent Vivier, qemu-devel,
	Paolo Bonzini, Philippe Mathieu-Daudé, Roger Pau Monné


Daniel P. Berrangé <berrange@redhat.com> writes:

> On Fri, Mar 27, 2020 at 03:44:47PM +0000, Alex Bennée wrote:
>> 
>> Roger Pau Monné <roger.pau@citrix.com> writes:
>> 
>> > On Fri, Mar 27, 2020 at 11:28:04AM +0000, Alex Bennée wrote:
>> >> 
>> >> Roger Pau Monné <roger.pau@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 <dim@FreeBSD.org>
>> >> >> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>> >> >> > ---
>> >> >> > Cc: Laurent Vivier <laurent@vivier.eu>
>> >> >> > Cc: Richard Henderson <richard.henderson@linaro.org>
>> >> >> > Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
>> >> >> > Cc: Paolo Bonzini <pbonzini@redhat.com>
>> >> >> > Cc: "Daniel P. Berrangé" <berrange@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?
>> 
>> QEMU's supported build platforms are based on what is currently shipping
>> as stable versions:
>> 
>>   https://www.qemu.org/docs/master/system/build-platforms.html
>
> FWIW, when I wrote that my intention was *not* to exclude the bleeding
> edge distro development branches.
>
> Obviously we can break on those distros at any time as they're moving
> targets, but IMHO we should treat bugs as we would for any other
> released distros and aim to fix them promptly when bugs occurr.

Sure - I think there are now patches incoming from Richard to delete the
linker code which should meet the criteria for an RC fix, especially if
they solve the LLVM 10.0 problem as well. 

-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] qemu-user: fix build with LLVM lld 10
  2020-03-27 10:51   ` Laurent Vivier
@ 2020-03-27 23:00     ` Richard Henderson
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Henderson @ 2020-03-27 23:00 UTC (permalink / raw)
  To: Laurent Vivier, Roger Pau Monne, qemu-devel
  Cc: Philippe Mathieu-Daudé,
	Dimitry Andric, Daniel P. Berrangé,
	Paolo Bonzini

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~


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-03-27 23:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 13:43 [PATCH] qemu-user: fix build with LLVM lld 10 Roger Pau Monne
2020-03-26 16:56 ` Richard Henderson
2020-03-27 10:16   ` Roger Pau Monné
2020-03-27 11:28     ` Alex Bennée
2020-03-27 14:08       ` Roger Pau Monné
2020-03-27 15:44         ` Alex Bennée
2020-03-27 15:48           ` Daniel P. Berrangé
2020-03-27 15:57             ` Alex Bennée
2020-03-27 10:51   ` Laurent Vivier
2020-03-27 23:00     ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).