Summary: | net-firewall/ipset-2.4.[8-9] gethostbyname alignment issue | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Antixrict <antixrict> |
Component: | New packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | antixrict, hppa, pva |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | HPPA | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 371525 | ||
Attachments: |
debug logs
debug logs test ebuild for ipset 2.4.9 patch for ipset.c new patch from netfilter.org |
Description
Antixrict
2009-02-27 09:51:37 UTC
Please, attach full build.log. Also as I see there is no ebuild for ipset-2.4.9 and ipset-2.4.8 has all -W options disabled so I don't get what you are talking about... Ok. i attached that. Yes i can compile 2.4.8 because all warnings are off, but i can't load some modules after install - example : ipt_set and ipt_SET. Debug: gcc-4.2.4-r1 modprobe ipt_set ... Unknown symbol in module, or unknown parameter dmesg: ipt_SET: Unknown symbol ip_set_put_byindex ipt_set: Unknown symbol ip_set_put_byindex I also attache ebuild for 2.4.9 (it's my test ebuild ofcourse) and logs for that. I can compile without any problem at that moment with gcc-4.1.2 and glibc-2.9_p20081201-r2 Then 2.4.8 works correctly. Created attachment 183364 [details]
debug logs
Created attachment 183365 [details]
debug logs
Created attachment 183367 [details]
test ebuild for ipset 2.4.9
Created attachment 183412 [details, diff]
patch for ipset.c
It's small patch and after patching all compiling done successful with all errors on. I compile it with gcc-4.1.2.
Comment on attachment 183367 [details]
test ebuild for ipset 2.4.9
ebuild don't work correctly and don't use it.
*** Bug 260483 has been marked as a duplicate of this bug. *** > Yes i can compile 2.4.8 because all warnings are off, but > i can't load some modules after install - example : ipt_set and ipt_SET. > Debug: > gcc-4.2.4-r1 > modprobe ipt_set ... Unknown symbol in module, or unknown parameter > dmesg: > ipt_SET: Unknown symbol ip_set_put_byindex > ipt_set: Unknown symbol ip_set_put_byindex What happens if you ran depmod -a? Also provide full build log for the modules build. > I can compile without any problem at that moment with gcc-4.1.2 and > glibc-2.9_p20081201-r2. Then 2.4.8 works correctly. You mean if you build with older compiler it works right?... Or why did you mention glibc version here? (In reply to comment #6) > Created an attachment (id=183412) [edit] > patch for ipset.c What bug it fixes? Also I don't get why you need to + 0. any number + 0 == any number so this patch looks like fixing nothing... (In reply to comment #7) > (From update of attachment 183367 [details] [edit]) > ebuild don't work correctly and don't use it. What's broken with that? Sorry you are posting many different issues to this bug so I'm not quite following what you did and what you got. The only problem I see is modprobe issue with gcc-4.2.4 and it looks like compiler issue. Have you tried with newer compiler too? Without additional information I don't know what to do here. (In reply to comment #9) > > Yes i can compile 2.4.8 because all warnings are off, but > > i can't load some modules after install - example : ipt_set and ipt_SET. > > Debug: > > gcc-4.2.4-r1 > > modprobe ipt_set ... Unknown symbol in module, or unknown parameter > > dmesg: > > ipt_SET: Unknown symbol ip_set_put_byindex > > ipt_set: Unknown symbol ip_set_put_byindex > > What happens if you ran depmod -a? Also provide full build log for the modules > build. i test that also tha same messages. > > > I can compile without any problem at that moment with gcc-4.1.2 and > > glibc-2.9_p20081201-r2. Then 2.4.8 works correctly. > > You mean if you build with older compiler it works right?... Or why did you > mention glibc version here? yes i men with older gcc version all ok. glibc i don't know maybe also, i only post that i compile with that version of glibc. > > (In reply to comment #6) > > Created an attachment (id=183412) [edit] > > patch for ipset.c > > What bug it fixes? Also I don't get why you need to + 0. any number + 0 == any > number so this patch looks like fixing nothing... it's fixing :) you can't compile 2.4.9 version ipset on hppa without that "+0" and 2.4.8 compiling because there all warning off. > Sorry you are posting many different issues to this bug so I'm not quite > following what you did and what you got. The only problem I see is modprobe > issue with gcc-4.2.4 and it looks like compiler issue. Have you tried with > newer compiler too? no 4.3 i don't test but i can do that i post. Created attachment 183759 [details, diff] new patch from netfilter.org It's moree correct patch from netfilter.org http://bugzilla.netfilter.org/show_bug.cgi?id=582 Thank you for feedback. I'll apply patch from upstream... Patch applied in ipset-2.4.9-r1. Thank you for report. Fixed. |