Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-19 Thread Matthias Kaehlcke
On Mon, Mar 18, 2019 at 04:55:38PM -0700, h...@zytor.com wrote: > On March 18, 2019 4:52:19 PM PDT, Matthias Kaehlcke wrote: > >On Mon, Mar 18, 2019 at 04:44:03PM -0700, h...@zytor.com wrote: > >> On March 18, 2019 3:16:39 PM PDT, Matthias Kaehlcke > > wrote: > >> >On Mon, Mar 18, 2019 at

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread hpa
On March 18, 2019 4:52:19 PM PDT, Matthias Kaehlcke wrote: >On Mon, Mar 18, 2019 at 04:44:03PM -0700, h...@zytor.com wrote: >> On March 18, 2019 3:16:39 PM PDT, Matthias Kaehlcke > wrote: >> >On Mon, Mar 18, 2019 at 02:50:44PM -0700, h...@zytor.com wrote: >> >> On March 18, 2019 2:31:13 PM PDT,

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread hpa
On March 18, 2019 4:52:19 PM PDT, Matthias Kaehlcke wrote: >On Mon, Mar 18, 2019 at 04:44:03PM -0700, h...@zytor.com wrote: >> On March 18, 2019 3:16:39 PM PDT, Matthias Kaehlcke > wrote: >> >On Mon, Mar 18, 2019 at 02:50:44PM -0700, h...@zytor.com wrote: >> >> On March 18, 2019 2:31:13 PM PDT,

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread Matthias Kaehlcke
On Mon, Mar 18, 2019 at 04:44:03PM -0700, h...@zytor.com wrote: > On March 18, 2019 3:16:39 PM PDT, Matthias Kaehlcke wrote: > >On Mon, Mar 18, 2019 at 02:50:44PM -0700, h...@zytor.com wrote: > >> On March 18, 2019 2:31:13 PM PDT, Matthias Kaehlcke > > wrote: > >> >On Fri, Mar 15, 2019 at

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread hpa
On March 18, 2019 3:16:39 PM PDT, Matthias Kaehlcke wrote: >On Mon, Mar 18, 2019 at 02:50:44PM -0700, h...@zytor.com wrote: >> On March 18, 2019 2:31:13 PM PDT, Matthias Kaehlcke > wrote: >> >On Fri, Mar 15, 2019 at 01:54:50PM -0700, Matthias Kaehlcke wrote: >> >> The compiler may emit calls to

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread Matthias Kaehlcke
On Mon, Mar 18, 2019 at 02:50:44PM -0700, h...@zytor.com wrote: > On March 18, 2019 2:31:13 PM PDT, Matthias Kaehlcke wrote: > >On Fri, Mar 15, 2019 at 01:54:50PM -0700, Matthias Kaehlcke wrote: > >> The compiler may emit calls to __lshrti3 from the compiler runtime > >> library, which results in

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread hpa
On March 18, 2019 2:31:13 PM PDT, Matthias Kaehlcke wrote: >On Fri, Mar 15, 2019 at 01:54:50PM -0700, Matthias Kaehlcke wrote: >> The compiler may emit calls to __lshrti3 from the compiler runtime >> library, which results in undefined references: >> >> arch/x86/kvm/x86.o: In function

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread Matthias Kaehlcke
On Fri, Mar 15, 2019 at 01:54:50PM -0700, Matthias Kaehlcke wrote: > The compiler may emit calls to __lshrti3 from the compiler runtime > library, which results in undefined references: > > arch/x86/kvm/x86.o: In function `mul_u64_u64_shr': > include/linux/math64.h:186: undefined reference to

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread Matthias Kaehlcke
On Fri, Mar 15, 2019 at 04:53:40PM -0700, h...@zytor.com wrote: > On March 15, 2019 4:47:01 PM PDT, Matthias Kaehlcke wrote: > >On Fri, Mar 15, 2019 at 03:12:08PM -0700, h...@zytor.com wrote: > >> On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > > wrote: > >> >On Fri, Mar 15, 2019 at 1:54 PM

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread Peter Zijlstra
On Mon, Mar 18, 2019 at 02:43:41PM +, David Laight wrote: > From: Peter Zijlstra > > Sent: 18 March 2019 09:14 > > On Fri, Mar 15, 2019 at 03:06:37PM -0700, Nick Desaulniers wrote: > > > On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke > > > wrote: > > > > > > > > The compiler may emit

RE: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread David Laight
From: Peter Zijlstra > Sent: 18 March 2019 09:14 > On Fri, Mar 15, 2019 at 03:06:37PM -0700, Nick Desaulniers wrote: > > On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke wrote: > > > > > > The compiler may emit calls to __lshrti3 from the compiler runtime > > > library, which results in

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 03:06:37PM -0700, Nick Desaulniers wrote: > On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke wrote: > > > > The compiler may emit calls to __lshrti3 from the compiler runtime > > library, which results in undefined references: > > > > arch/x86/kvm/x86.o: In function

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread hpa
On March 15, 2019 4:47:01 PM PDT, Matthias Kaehlcke wrote: >On Fri, Mar 15, 2019 at 03:12:08PM -0700, h...@zytor.com wrote: >> On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > wrote: >> >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke >> >wrote: >> >> >> >> The compiler may emit calls to

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread hpa
On March 15, 2019 4:34:10 PM PDT, Matthias Kaehlcke wrote: >Hi Peter, > >On Fri, Mar 15, 2019 at 03:08:57PM -0700, h...@zytor.com wrote: >> On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > wrote: >> >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke >> >wrote: >> >> >> >> The compiler may

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Matthias Kaehlcke
On Fri, Mar 15, 2019 at 03:12:08PM -0700, h...@zytor.com wrote: > On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > wrote: > >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke > >wrote: > >> > >> The compiler may emit calls to __lshrti3 from the compiler runtime > >> library, which results

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Matthias Kaehlcke
Hi Peter, On Fri, Mar 15, 2019 at 03:08:57PM -0700, h...@zytor.com wrote: > On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > wrote: > >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke > >wrote: > >> > >> The compiler may emit calls to __lshrti3 from the compiler runtime > >> library,

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Matthias Kaehlcke
On Fri, Mar 15, 2019 at 03:06:37PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke wrote: > > > > The compiler may emit calls to __lshrti3 from the compiler runtime > > library, which results in undefined references: > > > >

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread hpa
On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers wrote: >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke >wrote: >> >> The compiler may emit calls to __lshrti3 from the compiler runtime >> library, which results in undefined references: >> >> arch/x86/kvm/x86.o: In function

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread hpa
On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers wrote: >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke >wrote: >> >> The compiler may emit calls to __lshrti3 from the compiler runtime >> library, which results in undefined references: >> >> arch/x86/kvm/x86.o: In function

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Nick Desaulniers
On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke wrote: > > The compiler may emit calls to __lshrti3 from the compiler runtime > library, which results in undefined references: > > arch/x86/kvm/x86.o: In function `mul_u64_u64_shr': > include/linux/math64.h:186: undefined reference to

[PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Matthias Kaehlcke
The compiler may emit calls to __lshrti3 from the compiler runtime library, which results in undefined references: arch/x86/kvm/x86.o: In function `mul_u64_u64_shr': include/linux/math64.h:186: undefined reference to `__lshrti3' Add a copy of the __lshrti3 libgcc routine (from gcc v4.9.2).