Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50036 - [linux-grsec-headers] objtool missing

Attached to Project: Community Packages
Opened by Alexander Kempen (chron) - Thursday, 14 July 2016, 08:46 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 14 July 2016, 14:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The linux-grsec-headers package is missing objtool, which is needed to build external modules.

Additional info:
* linux-grsec-headers >= 4.6


Steps to reproduce:
Try to compile external modules.


Fix:
You can just copy 4 lines from the stock Arch kernel PKGBUILD(lines 255 to 259).

# add objtool for external module building and enabled VALIDATION_STACK option
if [ -f tools/objtool/objtool ]; then
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool"
cp -a tools/objtool/objtool ${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool/
fi
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 14 July 2016, 14:36 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#50002 

Loading...