Re: [PATCH 4.14 09/69] x86: vdso: Use $LD instead of $CC to link

2019-04-27 Thread gre...@linuxfoundation.org
On Fri, Apr 26, 2019 at 06:34:22AM -0700, Nathan Chancellor wrote: > On Fri, Apr 26, 2019 at 01:23:17PM +, Rantala, Tommi T. (Nokia - > FI/Espoo) wrote: > > On Fri, 2019-04-26 at 05:48 -0700, Nathan Chancellor wrote: > > > On Fri, Apr 26, 2019 at 11:41:30AM +, Rantala, Tommi T. (Nokia - >

Re: [PATCH 4.14 09/69] x86: vdso: Use $LD instead of $CC to link

2019-04-26 Thread Nathan Chancellor
On Fri, Apr 26, 2019 at 01:23:17PM +, Rantala, Tommi T. (Nokia - FI/Espoo) wrote: > On Fri, 2019-04-26 at 05:48 -0700, Nathan Chancellor wrote: > > On Fri, Apr 26, 2019 at 11:41:30AM +, Rantala, Tommi T. (Nokia - > > FI/Espoo) wrote: > > > On Mon, 2019-04-15 at 20:58 +0200, Greg

Re: [PATCH 4.14 09/69] x86: vdso: Use $LD instead of $CC to link

2019-04-26 Thread Rantala, Tommi T. (Nokia - FI/Espoo)
On Fri, 2019-04-26 at 05:48 -0700, Nathan Chancellor wrote: > On Fri, Apr 26, 2019 at 11:41:30AM +, Rantala, Tommi T. (Nokia - > FI/Espoo) wrote: > > On Mon, 2019-04-15 at 20:58 +0200, Greg Kroah-Hartman wrote: > > > commit 379d98ddf41344273d9718556f761420f4dc80b3 upstream. > > > > > > > Hi,

Re: [PATCH 4.14 09/69] x86: vdso: Use $LD instead of $CC to link

2019-04-26 Thread Nathan Chancellor
On Fri, Apr 26, 2019 at 11:41:30AM +, Rantala, Tommi T. (Nokia - FI/Espoo) wrote: > On Mon, 2019-04-15 at 20:58 +0200, Greg Kroah-Hartman wrote: > > commit 379d98ddf41344273d9718556f761420f4dc80b3 upstream. > > > > Hi, > > With this patch in 4.14.112 build-id is now missing in vdso32.so: >

Re: [PATCH 4.14 09/69] x86: vdso: Use $LD instead of $CC to link

2019-04-26 Thread Rantala, Tommi T. (Nokia - FI/Espoo)
On Mon, 2019-04-15 at 20:58 +0200, Greg Kroah-Hartman wrote: > commit 379d98ddf41344273d9718556f761420f4dc80b3 upstream. > Hi, With this patch in 4.14.112 build-id is now missing in vdso32.so: $ file arch/x86/entry/vdso/vdso*so* arch/x86/entry/vdso/vdso32.so: ELF 32-bit LSB pie executable,

[PATCH 4.14 09/69] x86: vdso: Use $LD instead of $CC to link

2019-04-15 Thread Greg Kroah-Hartman
commit 379d98ddf41344273d9718556f761420f4dc80b3 upstream. The vdso{32,64}.so can fail to link with CC=clang when clang tries to find a suitable GCC toolchain to link these libraries with. /usr/bin/ld: arch/x86/entry/vdso/vclock_gettime.o: access beyond end of merged section (782) This happens