Closed vicgal closed 5 years ago
The kernel modules need to be compiled with the -fno-pic flag to avoid errors of this type:
[ 14.213347] uio: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 14.273328] uio: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 14.333581] uio: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) ....... [ 15.893587] xt_owner: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 15.937744] xt_owner: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 16.043144] xt_owner: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 16.087544] xt_owner: Unknown symbol _GLOBAL_OFFSETTABLE (err 0)
The flags don't apply for OOT modules.
Changelog-entry: Added fno-pic flag for modules Signed-off-by: Vicentiu Galanopulo vicentiu@balena.io
Can one of the admins verify this patch?
@resin-jenkins add to whitelist
@resin-ci retest
The kernel modules need to be compiled with the -fno-pic flag to avoid errors of this type:
[ 14.213347] uio: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 14.273328] uio: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 14.333581] uio: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) ....... [ 15.893587] xt_owner: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 15.937744] xt_owner: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 16.043144] xt_owner: Unknown symbol _GLOBAL_OFFSETTABLE (err 0) [ 16.087544] xt_owner: Unknown symbol _GLOBAL_OFFSETTABLE (err 0)
The flags don't apply for OOT modules.
Changelog-entry: Added fno-pic flag for modules Signed-off-by: Vicentiu Galanopulo vicentiu@balena.io