drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'
Hi Martijn, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f313b43be461f157755a57c1156f86abe10588de commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove 32-bit binder interface. date: 3 months ago config: microblaze-allmodconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1190b4e38f97023154e6b3bef61b251aa5f970d0 # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=microblaze All errors (new ones prefixed by >>): drivers/android/binder.o: In function `binder_thread_write': >> drivers/android/.tmp_gl_binder.o:(.text+0xcbb0): undefined reference to >> `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcbdc): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcfc4): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xd650): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xdbc8): undefined reference to `__user_bad' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'
Hi Martijn, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f313b43be461f157755a57c1156f86abe10588de commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove 32-bit binder interface. date: 3 months ago config: microblaze-allmodconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1190b4e38f97023154e6b3bef61b251aa5f970d0 # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=microblaze All errors (new ones prefixed by >>): drivers/android/binder.o: In function `binder_thread_write': >> drivers/android/.tmp_gl_binder.o:(.text+0xcbb0): undefined reference to >> `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcbdc): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcfc4): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xd650): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xdbc8): undefined reference to `__user_bad' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'
Hi Martijn, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ffaddd029c867d134a1dde39f540dcc8c52e274 commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove 32-bit binder interface. date: 3 months ago config: microblaze-allmodconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1190b4e38f97023154e6b3bef61b251aa5f970d0 # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=microblaze All errors (new ones prefixed by >>): drivers/android/binder.o: In function `binder_thread_write': >> drivers/android/.tmp_gl_binder.o:(.text+0xcbb0): undefined reference to >> `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcbdc): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcfc4): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xd650): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xdbc8): undefined reference to `__user_bad' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'
Hi Martijn, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ffaddd029c867d134a1dde39f540dcc8c52e274 commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove 32-bit binder interface. date: 3 months ago config: microblaze-allmodconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1190b4e38f97023154e6b3bef61b251aa5f970d0 # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=microblaze All errors (new ones prefixed by >>): drivers/android/binder.o: In function `binder_thread_write': >> drivers/android/.tmp_gl_binder.o:(.text+0xcbb0): undefined reference to >> `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcbdc): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcfc4): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xd650): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xdbc8): undefined reference to `__user_bad' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'
Hi Michal, See below - this error was introduced because the binder driver uses a 64-bit get_user(), even on a 32-bit architecture. Would it be possible to implement a 64-bit get_user() for microblaze? Thanks, Martijn On Mon, Jul 2, 2018 at 6:53 AM kbuild test robot wrote: > > Hi Martijn, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 021c91791a5e7e85c567452f1be3e4c2c6cb6063 > commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove > 32-bit binder interface. > date: 7 weeks ago > config: microblaze-allmodconfig (attached as .config) > compiler: microblaze-linux-gcc (GCC) 8.1.0 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O > ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 1190b4e38f97023154e6b3bef61b251aa5f970d0 > # save the attached .config to linux build tree > GCC_VERSION=8.1.0 make.cross ARCH=microblaze > > All errors (new ones prefixed by >>): > >drivers/android/binder.o: In function `binder_thread_write': > >> drivers/android/.tmp_gl_binder.o:(.text+0xcbb0): undefined reference to > >> `__user_bad' >drivers/android/.tmp_gl_binder.o:(.text+0xcbdc): undefined reference to > `__user_bad' >drivers/android/.tmp_gl_binder.o:(.text+0xcfc4): undefined reference to > `__user_bad' >drivers/android/.tmp_gl_binder.o:(.text+0xd650): undefined reference to > `__user_bad' >drivers/android/.tmp_gl_binder.o:(.text+0xdbc8): undefined reference to > `__user_bad' > > --- > 0-DAY kernel test infrastructureOpen Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation
Re: drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'
Hi Michal, See below - this error was introduced because the binder driver uses a 64-bit get_user(), even on a 32-bit architecture. Would it be possible to implement a 64-bit get_user() for microblaze? Thanks, Martijn On Mon, Jul 2, 2018 at 6:53 AM kbuild test robot wrote: > > Hi Martijn, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 021c91791a5e7e85c567452f1be3e4c2c6cb6063 > commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove > 32-bit binder interface. > date: 7 weeks ago > config: microblaze-allmodconfig (attached as .config) > compiler: microblaze-linux-gcc (GCC) 8.1.0 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O > ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 1190b4e38f97023154e6b3bef61b251aa5f970d0 > # save the attached .config to linux build tree > GCC_VERSION=8.1.0 make.cross ARCH=microblaze > > All errors (new ones prefixed by >>): > >drivers/android/binder.o: In function `binder_thread_write': > >> drivers/android/.tmp_gl_binder.o:(.text+0xcbb0): undefined reference to > >> `__user_bad' >drivers/android/.tmp_gl_binder.o:(.text+0xcbdc): undefined reference to > `__user_bad' >drivers/android/.tmp_gl_binder.o:(.text+0xcfc4): undefined reference to > `__user_bad' >drivers/android/.tmp_gl_binder.o:(.text+0xd650): undefined reference to > `__user_bad' >drivers/android/.tmp_gl_binder.o:(.text+0xdbc8): undefined reference to > `__user_bad' > > --- > 0-DAY kernel test infrastructureOpen Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation
drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'
Hi Martijn, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 021c91791a5e7e85c567452f1be3e4c2c6cb6063 commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove 32-bit binder interface. date: 7 weeks ago config: microblaze-allmodconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1190b4e38f97023154e6b3bef61b251aa5f970d0 # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=microblaze All errors (new ones prefixed by >>): drivers/android/binder.o: In function `binder_thread_write': >> drivers/android/.tmp_gl_binder.o:(.text+0xcbb0): undefined reference to >> `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcbdc): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcfc4): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xd650): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xdbc8): undefined reference to `__user_bad' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'
Hi Martijn, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 021c91791a5e7e85c567452f1be3e4c2c6cb6063 commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove 32-bit binder interface. date: 7 weeks ago config: microblaze-allmodconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1190b4e38f97023154e6b3bef61b251aa5f970d0 # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=microblaze All errors (new ones prefixed by >>): drivers/android/binder.o: In function `binder_thread_write': >> drivers/android/.tmp_gl_binder.o:(.text+0xcbb0): undefined reference to >> `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcbdc): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xcfc4): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xd650): undefined reference to `__user_bad' drivers/android/.tmp_gl_binder.o:(.text+0xdbc8): undefined reference to `__user_bad' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip