lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+_MTtzgL2pNY3nu6xTAKWdSYKWHEyWXM6PSA8iFMK-Pub2z1w@mail.gmail.com>
Date:   Mon, 2 Jul 2018 11:27:20 +0200
From:   Martijn Coenen <maco@...gle.com>
To:     monstr@...str.eu
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Greg KH <gregkh@...uxfoundation.org>
Subject: 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 <lkp@...el.com> 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 infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ