module compile error for aarch64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When compiling an external module for aarch64 on Ubuntu 14.04, the compiler generates the following error:
In file included from /home/ctuffli/
<edited>
/home/ctuffli/
/home/ctuffli/
off == frag->page_offset + skb_frag_
^
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
Although something like the below quiets the warning, it isn't clear to me this is the correct change
diff --git a/include/
index e9b1a3c..e3623cc 100644
--- a/include/
+++ b/include/
@@ -2252,7 +2252,7 @@ static inline bool skb_can_
const struct skb_frag_struct *frag = &skb_shinfo(
return page == skb_frag_page(frag) &&
- off == frag->page_offset + skb_frag_
+ off == (int)(frag-
}
return false;
}
---
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg: [ 17.335985] init: plymouth-
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: console=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.4
RfKill: Error: [Errno 2] No such file or directory
Tags: trusty
Uname: Linux 3.13.0-32-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
---
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg: [ 17.335985] init: plymouth-
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: console=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.4
RfKill: Error: [Errno 2] No such file or directory
Tags: trusty
Uname: Linux 3.13.0-32-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: kernel-bug-exists-upstream |
tags: | added: kernel-da-key |
tags: |
added: kernel-key removed: kernel-da-key |
tags: |
added: kernel-da-key removed: kernel-key |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1348277
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.