Red Hat Bugzilla – Bug 55546
undefined symbol: __divdi3 error when specifying 'limit' module
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
The following rule doesn't work on ia64, but it will work on x86:
[root@dhcpd204 root]# iptables -A INPUT -s 0/0 -p icmp --icmp-type ping \
-m limit --limit 1/sec --limit-burst 2 -j ACCEPT
iptables v1.2.3: Couldn't load match
`limit':/lib/iptables/libipt_limit.so: undefined symbol: __divdi3
Try `iptables -h' or 'iptables --help' for more information.
Version-Release number of selected component (if applicable):
(FWIW, I verified this behavior w/ iptables-1.2.4-1 as well.)
Steps to Reproduce:
1. try to set up iptables w/ the attached script. All of the rules that
don't use the limit module work as expected.
The makefiles for the shared objects should be ussing gcc -shared, *not* ld -shared.
At least, I think that's the proper solution to this - jakub?
Created attachment 38123 [details]
iptables.sh - opens 22 and 68, exposes bug in limits module
Deferring, reopen if this persists in AS3-ish.