Linker warnings for apparmor.o
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Building the Ubuntu kernel at version 4.4.0-97.120 or 4.4.0-98.121 gives warnings when linking apparmor.o such as:
LD security/
WARNING: security/
(next build fault)
The function param_get_mode() references
the variable __initdata apparmor_
This is often because param_get_mode lacks a __initdata
annotation or the annotation of apparmor_
I believe this is because the __initdata annotation was removed from security/
The following patch cleans the compilation warnings, but may not be the correct fix:
--- security/
+++ security/
@@ -56,7 +56,7 @@
} while (0)
/* Flag indicating whether initialization completed */
-extern int apparmor_
+extern int apparmor_
/* fn's in lib */
char *aa_split_
summary: |
- Linker warnings for apparmor.h + Linker warnings for apparmor.o |
affects: | linux (Ubuntu) → apparmor (Ubuntu) |
Changed in apparmor (Ubuntu): | |
status: | Confirmed → New |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1729634
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.