Summary: | x11-drivers/ati-drivers-13.4[pax_kernel] and sys-kernel/gentoo-sources fglrx/build_mod/2.6.x/kcl_acpi.c:152:1: error: unknown type name ‘notifier_block_no_const’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Matějka (RETIRED) <yac> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | jekarlson, zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Jan Matějka (RETIRED)
2013-07-23 08:00:24 UTC
Created attachment 353998 [details]
build.log
It's coming from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-drivers/ati-drivers/files/const-notifier-block.patch?view=log which is applied conditionaly on ati-drivers[pax_kernel] which I seem to have enabled by default. *shrug*. with USE=-pax_kernel emerge is successful USE="pax_kernel" is only intended for building against a PaX enabled kernel. It will fail to build or run on non-PaX kernels. The ebuild used to call die in this case. Maybe we should put a warning back. There are dozens of ebuilds in the tree with optional pax_kernel patches that will fail hard if the user is not using a pax_kernel. If the user isn't using a pax_kernel they shouldn't have USE=pax_kernel set. This is an invalid setup. Note I have not set up the pax_kernel use flag myself. (In reply to Jan Matějka from comment #6) > Note I have not set up the pax_kernel use flag myself. If I had to guess you are running a hardened profile without a hardened kernel. I don't know if that is officially supported, but that would be the subject of a new bug. (In reply to Rick Farina (Zero_Chaos) from comment #7) > (In reply to Jan Matějka from comment #6) > > Note I have not set up the pax_kernel use flag myself. > > If I had to guess you are running a hardened profile without a hardened > kernel. I don't know if that is officially supported, but that would be the > subject of a new bug. We can support a hardened userland with a vanilla kernel. To get that configuration you can eselect a hardened profile but set USE="-pax_kernel" in your make.conf. That would be valid. (In reply to Rick Farina (Zero_Chaos) from comment #7) > (In reply to Jan Matějka from comment #6) > > Note I have not set up the pax_kernel use flag myself. > > If I had to guess you are running a hardened profile without a hardened > kernel. Oh yes. I did not know the kernel hardening is done also in config. Thanks for the clarification. |