Summary: | net-firewall/ebtables: support running 32-bit ebtables on 64-bit kernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raju Konduru <rkonduru> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | net-firewall/ebtables/ebtables-2.0.10.4-r2.ebuild |
Description
Raju Konduru
2019-07-23 23:32:00 UTC
Created attachment 584258 [details, diff]
net-firewall/ebtables/ebtables-2.0.10.4-r2.ebuild
Hi!
Please find attached patch for net-firewall/ebtables/ebtables-2.0.10.4-r2.ebuild
to support running 32-bit ebtables on 64-bit kernel.
When net-firewall/ebtables is built with 32-bit toolchain and deployed onto
64-bit kernel, ebtables command is failing with following reason. Adding
'-DKERNEL_64_USERSPACE_32' option to CFLAGS allows it to run on 64-bit kernel.
Attached patch to enable this when 'kernel64_userspace32' USE flag is set.
Thanks,
Raju Konduru
the tool should handle this dynamically instead of being a build-time constant. otherwise it breaks and needs recompiling when used across diff kernel builds. |