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 f
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 t
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: #1555
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: #1555338
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] netf
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
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
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
** 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:
Un
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 tod
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 today
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 t
** 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)
Importance:
** 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
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:
Un
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 allow
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 Ubuntu
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 GCC:
** 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 Lin
** 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)
Assign
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:
arm64
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,
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: "uns
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
>
> does the trick.
Cool.
>
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 rel
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 becaus
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, CONFIG_ARM64
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 Linaro-20
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 GCC:
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"
> .global __this_m
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 the defconfig attached on
>> comment #13, build the module
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 mentioned by Ard
> Biesheuvel?
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
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' i
** 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:
--- 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
+ .sectio
> 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 c
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"
https://bugs.launchpad.net/linux/+bug/1533009/+attachment/4
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 w/ linaro's
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.
https://bugs.launchpa
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
https://bugs.linaro.org/show
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: "u
> 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 subsc
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) apt-get source linux
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
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 RE
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 pac
** 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 pack
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 probl
** 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
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
COLLECT_LTO_WRAPPER=/usr/
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
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lt
** 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 package
** 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 descriptio
54 matches
Mail list logo