On Tue, Jan 19, 2016 at 3:31 PM, Dann Frazier <dann.fraz...@canonical.com> wrote: > On Tue, Jan 19, 2016 at 2:24 PM, Christophe Lyon > <christophe.l...@linaro.org> wrote: >> It's not clear to me how I can reproduce the problem as a GCC developper. >> Should I build kernel-4.3.0 (vanilla), using the defconfig attached on >> comment #13, build the modules and look for the relocation mentioned by Ard >> Biesheuvel? > > Hi Christophe, > Here's the steps to reproduce (I'm doing this in an Ubuntu > 16.04/arm64 QEMU/KVM VM): > > tar xfJ linux-4.3.3.tar.xz > cd linux-4.3.3 > make defconfig > # enable simple module for testing > echo "CONFIG_OVERLAY_FS=m" >> .config > make oldconfig > make Image modules
Forgot one step: sudo make modules_install -dann > sudo make install > sudo reboot > > Then, on reboot: > > $ sudo dmesg -c > /dev/null > $ sudo modprobe overlay > modprobe: ERROR: could not insert 'overlay': Exec format error > $ dmesg > [ 336.449238] module overlay: unsupported RELA relocation: 275 > ubuntu@ubuntu:~$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1533009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs