[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2017-02-02 Thread Kj
I came across the same issue today (2/2/2017), i.e. "unsupported RELA relocation: 275", while using "Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-59-generic aarch64)". I read above messages and have verified that arch/arm64/Makefile does have -mpc-relative-literal-loads as shown below. The kernel config

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-09-06 Thread Tim Gardner
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- xenial' to 'verification-done-xenial'. If verification is not done by 5 working days from

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-03-14 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.13.0-83.127 --- linux (3.13.0-83.127) trusty; urgency=low [ Brad Figg ] * Release Tracking Bug - LP: #1555839 [ Florian Westphal ] * SAUCE: [nf,v2] netfilter: x_tables: don't rely on well-behaving userspace - LP:

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-03-14 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.19.0-56.62 --- linux (3.19.0-56.62) vivid; urgency=low [ Brad Figg ] * Release Tracking Bug - LP: #1555832 [ Florian Westphal ] * SAUCE: [nf,v2] netfilter: x_tables: don't rely on well-behaving userspace - LP:

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-03-14 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.2.0-34.39 --- linux (4.2.0-34.39) wily; urgency=low [ Brad Figg ] * Release Tracking Bug - LP: #1555821 [ Florian Westphal ] * SAUCE: [nf] netfilter: x_tables: check for size overflow - LP: #1555353 * SAUCE: [nf,v2]

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-03-03 Thread dann frazier
ubuntu@ubuntu:~$ cat /proc/version Linux version 4.2.0-32-generic (buildd@bos01-arm64-007) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #37-Ubuntu SMP Fri Feb 26 02:21:04 UTC 2016 ubuntu@ubuntu:~$ lsmod Module Size Used by nls_utf8 16384 0 isofs

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-03-03 Thread dann frazier
ubuntu@ubuntu:~$ cat /proc/version Linux version 3.19.0-54-generic (buildd@bos01-arm64-004) (gcc version 4.9.2 (Ubuntu/Linaro 4.9.2-10ubuntu13) ) #60-Ubuntu SMP Wed Mar 2 17:44:06 UTC 2016 ubuntu@ubuntu:~$ lsmod Module Size Used by nls_utf8 16384 0 isofs

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-03-03 Thread dann frazier
ubuntu@ubuntu:~$ cat /proc/version Linux version 3.13.0-81-generic (buildd@bos01-arm64-020) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #125-Ubuntu SMP Wed Mar 2 17:30:16 UTC 2016 ubuntu@ubuntu:~$ lsmod Module Size Used by dm_crypt 21007 0 ofpart

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-02-25 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/linux-lts-vivid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in Linaro GCC:

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-02-25 Thread Brad Figg
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- vivid' to 'verification-done-vivid'. If verification is not done by 5 working days from

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-02-25 Thread Brad Figg
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- wily' to 'verification-done-wily'. If verification is not done by 5 working days from

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-02-25 Thread Brad Figg
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- trusty' to 'verification-done-trusty'. If verification is not done by 5 working days from

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-02-22 Thread Brad Figg
** Also affects: linux (Ubuntu Vivid) Importance: Undecided Status: New ** Also affects: gcc-5 (Ubuntu Vivid) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Wily) Importance: Undecided Status: New ** Also affects: gcc-5 (Ubuntu Wily)

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-02-22 Thread Brad Figg
** Also affects: linux (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: gcc-5 (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Trusty) Status: New => Fix Committed -- You received this bug notification because you are a

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-02-02 Thread Martin Pitt
Confirming that 4.4.0-2 works fine on an arm64 box. Thanks! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in Linaro GCC:

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-02-01 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.4.0-2.16 --- linux (4.4.0-2.16) xenial; urgency=low [ Andy Whitcroft ] * Release Tracking Bug - LP: #1539090 * SAUCE: hv: hv_set_ifconfig -- convert to python3 - LP: #1506521 * SAUCE: dm: introduce a target_ioctl op to

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-26 Thread Christophe Lyon
I have posted a GCC patch: https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01986.html to change the default of -mpc-relative-literal-loads when -mfix-cortex-a53-843419 is used. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-25 Thread Matthias Klose
** Changed in: gcc-5 (Ubuntu Xenial) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-25 Thread dann frazier
v2 patch: http://www.spinics.net/lists/arm-kernel/msg476773.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in Linaro

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-25 Thread Tim Gardner
** Also affects: linux (Ubuntu Xenial) Importance: High Status: Triaged ** Also affects: gcc-5 (Ubuntu Xenial) Importance: Undecided Status: Confirmed ** Changed in: linux (Ubuntu Xenial) Status: Triaged => Fix Committed ** Changed in: linux (Ubuntu Xenial)

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-22 Thread Christophe Lyon
I prefer you submit the Makefile patch upstream, since I'm not very familiar with kernel lists. I am going to look at a patch for GCC-6, such that this optimization is disabled by default when compiling with -mfix-cortex-a53-843419. You could then use -mfix-cortex-a53-843419 to compile the

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-22 Thread dann frazier
Patch sent upstream: http://www.spinics.net/lists/arm-kernel/msg476149.html ** Tags added: patch-forwarded-upstream -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title:

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-21 Thread Christophe Lyon
We backported fixes for GCC PR63304 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63304) in our 2015.12 snapshot. By default, GCC now uses adrp / ldr or adrp / add instructions to address the literal pools under the use of a command line option, and this mode is on by default. OTOH,

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-21 Thread Christophe Lyon
Updating arch/arm64/Makefile to have: ifeq ($(CONFIG_ARM64_ERRATUM_843419), y) KBUILD_CFLAGS_MODULE+= -mcmodel=large KBUILD_CFLAGS_MODULE+= $(call cc-option, -mpc-relative-literal-loads) endif does the trick. Is this a good solution for you? -- You received this bug notification

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-21 Thread dann frazier
Thanks Christophe. I can verify that -mpc-relative-literal-loads does produce loadable modules. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-21 Thread dann frazier
On Thu, Jan 21, 2016 at 9:59 AM, Christophe Lyon wrote: > Updating arch/arm64/Makefile to have: > > ifeq ($(CONFIG_ARM64_ERRATUM_843419), y) > KBUILD_CFLAGS_MODULE+= -mcmodel=large > KBUILD_CFLAGS_MODULE+= $(call cc-option, -mpc-relative-literal-loads) > endif

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-21 Thread dann frazier
btw, I've also reproduced this with FSF GCC 6 (probably not surprising, since the Linaro change was a backport). -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64:

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-20 Thread dann frazier
On Sat, Jan 16, 2016 at 2:44 AM, Matthias Klose wrote: > --- fsf/multipath.mod.s 2016-01-15 22:23:24.0 +0100 > +++ linaro/multipath.mod.s 2016-01-15 22:20:11.0 +0100 > @@ -1,7 +1,6 @@ > - .cpu generic+fp+simd > .file "multipath.mod.c" >

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-20 Thread Christophe Lyon
I've cross compiled the kernel+modules, mostly following the steps in comment #18. Then, I've scanned the generated module for the AARCH64_ADR_PREL_PG_HI21 relocation. When compiled with Linaro-2015.12, this relocation is present. When compiled with Linaro-2015.10, it is not. When using

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-20 Thread Christophe Lyon
That's what I expected: this has nothing to do with relocations. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in Linaro

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-19 Thread dann frazier
On Tue, Jan 19, 2016 at 2:24 PM, Christophe Lyon 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

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-19 Thread Christophe Lyon
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? -- You received this bug notification because you are a member

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-19 Thread dann frazier
On Tue, Jan 19, 2016 at 3:31 PM, Dann Frazier wrote: > On Tue, Jan 19, 2016 at 2:24 PM, Christophe Lyon > 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

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-18 Thread Ming Lei
Dann, In my test, the issue is nothing to do with kernel, and only related with modules built by the affected gcc 5.3. For example, the kernel running is built from gcc 5.2, then I rebuilt some modules by gcc 5.3, the issue comes when I try to load the just built module. BTW, '-mcmodel=large'

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-16 Thread Matthias Klose
--- fsf/multipath.mod.s 2016-01-15 22:23:24.0 +0100 +++ linaro/multipath.mod.s 2016-01-15 22:20:11.0 +0100 @@ -1,7 +1,6 @@ - .cpu generic+fp+simd .file "multipath.mod.c" .global __this_module - .section.modinfo,"a",%progbits +

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-16 Thread Matthias Klose
** Also affects: gcc-linaro via https://bugs.linaro.org/show_bug.cgi?id=1994 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title:

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread Matthias Klose
please attach the preprocessed source and the exact command line options to build the libahci module. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gcc-5 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread Ming Lei
On Fri, Jan 15, 2016 at 6:29 PM, Matthias Klose wrote: > please attach the preprocessed source and the exact command line options > to build the libahci module. Not only libahci modules, all built modules has the problem. Follows the command line for building libahci.ko: 1)

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread Martin Pitt
> BTW, the issue can only be reproduced on Xenial. Confirmed, from my duplicate bug 1534545. I reproduced that with "ip link add dev lxcbr0 type bridge", supposedly that also needs to load a module. -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread dann frazier
Rebuilding xenial's gcc w/o the linaro patchset, and rebuilding the kernel with it, results in a functional build. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64:

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread dann frazier
Attaching the config I'm using. Note that, unless otherwise noted, my build tests are being performed with the pristine Ubuntu kernel package (4.3.0-6.17) and using gcc-5 5.3.1-5ubuntu3, both from current xenial. ** Bug watch added: Linaro Bug Tracking System #1994

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread dann frazier
dannf, ming: can you check building the kernel with -mfix- cortex-a53-835769 -mfix-cortex-a53-843419 ? I did so, and observed no change in behavior. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread dann frazier
On Fri, Jan 15, 2016 at 3:29 AM, Matthias Klose wrote: > please attach the preprocessed source and the exact command line options > to build the libahci module. I used multipath instead of libahci just because it was easier for me, but the same is attached. Note - building the

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread dann frazier
I've also reproduced by building latest linux git (@ 7d1fc01a), using very close to the defconfig (just enabled multipath modules for testing, for consistency). Attached is the actual config I used. ** Attachment added: "defconfigish"

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread dann frazier
> Note - building the kernel w/ linaro's toolchain and the module with > the FSF toolchain > still results in an unsupported RELA relocation failure. I need to correct this. The problem was that I rebuilt only dm- multipath, and not it's dependency dm-mod. If I rebuild both modules with the FSF

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-15 Thread Ming Lei
Looks the latest proposed gcc-5.3.1-6ubuntu1 has the problem too. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in gcc-5

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-14 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in gcc-5

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-13 Thread Ming Lei
Hi, Wrt. the build environment, the built kernel/modules can work fine just after switching gcc from gcc-5 to gcc-4.9 and keep other things not changed in Xenial. So I am sure the issue is in Xenial gcc-5, and the bug should be introduced after 5.2.1-22ubuntu2 because Wily gcc-5 hasn't this

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-13 Thread Ming Lei
When same kernel tree is built with gcc 5.3.1 from Xenial, the generated modlues can't be loaded any more and '-mcmodel=large' is still passed to gcc during kernel building, so it looks like a compiler bug: ubuntu@ubuntu:~/git$ gcc -v Using built-in specs. COLLECT_GCC=gcc

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-13 Thread dann frazier
** Also affects: gcc-5 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-12 Thread Raghuram Kota
** Tags added: hs-arm64 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in linux package in Ubuntu: Confirmed Bug

[Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-12 Thread Christopher M. Penalver
** Changed in: linux (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1533009 Title: arm64: "unsupported RELA relocation" Status in linux

Re: [Kernel-packages] [Bug 1533009] Re: arm64: "unsupported RELA relocation"

2016-01-12 Thread Ming Lei
When I built 4.3.0-7-generic on arm64(mustang) Wily with the following steps, fakeroot debian/rules clean fakeroot debian/rules binary-generic by this compiler: ubuntu@ubuntu:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc