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!
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!
FS#50002 - [linux-grsec-headers] Missing objtool
Attached to Project:
Community Packages
Opened by Giuseppe (G-G) - Saturday, 09 July 2016, 12:53 GMT
Last edited by Daniel Micay (thestinger) - Thursday, 29 September 2016, 21:12 GMT
Opened by Giuseppe (G-G) - Saturday, 09 July 2016, 12:53 GMT
Last edited by Daniel Micay (thestinger) - Thursday, 29 September 2016, 21:12 GMT
|
DetailsDescription:
STACK_VALIDATION flag enabled in kernel conf but objtool is not installed in kernel headers package Additional info: linux-grsec 4.6.3.201607070721-1 |
This task depends upon
Closed by Daniel Micay (thestinger)
Thursday, 29 September 2016, 21:12 GMT
Reason for closing: Fixed
Thursday, 29 September 2016, 21:12 GMT
Reason for closing: Fixed
You can just copy 4 lines from the stock Arch kernel PKGBUILD(lines 255 to 259) to _package-headers() to fix the problem.
# 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
From a quick peek inside the PKGBUILD it contains the objtool stuff again.
I've talked about this with Thore and if he builds the abs PKGBUILD in a chroot it contains the file, but the package doesn't.