-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error #38
Comments
Finally I have looked up the solution for this issue. For your further inspection I have attached the patches below.
|
Hey, thank you for the information and the patches! I haven't tried installing this firewall on a Gentoo Linux server yet. That is going to be my next project and I'll keep this issue open until I do so. From what I can see, you added the |
I would like to highlight an important thing - it seems like this issue arises only if toolchain hardening is enabled, and in my case I have both "hardened" USE-flag enabled and
Yes. |
I see now! Thank you for the information and I updated the README with a section regarding this here. I mentioned this issue and you in the README since you were the one that discovered the issue and provided a fix. If you want your name or this issue omitted from the README, please let me know! |
I'm going to close this issue as well since information was added to the README. Thank you again for the info! |
I have followed guidance from README but encountered the following error while executing
make
:error: <unknown>:0:0: in function xdp_prog_main i32 (ptr): A call to built-in function '__stack_chk_fail' is not supported.
I have also tried to apply fix from #30 (
cd libbpf && git checkout 7fc4d50
), but that didn't solve the issue.UPD: The host is AMD Ryzen 5 3600, Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller, gentoo-kernel-6.1.24 built from own config.txt
The text was updated successfully, but these errors were encountered: