First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 153524
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Drake <dsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rumi Szabolcs <rumi@rtfm.hu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config kernel .config file text/plain Rumi Szabolcs 2006-10-31 08:40 0000 43.08 KB Details
config-2.6.18-gentoo-r2-mks1 kernel .config for 2.6.18-gentoo-r2 text/plain bugzilla@schoenhaber.de 2006-11-11 06:33 0000 39.01 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 153524 depends on: Show dependency tree
Show dependency graph
Bug 153524 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-31 01:18 0000
Overview:

Kernel 2.6.18-gentoo-r1 fails to compile module xt_physdev.c

Actual results:

[...]

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
net/built-in.o: In function `checkentry':
xt_physdev.c:(.text+0x1fba5): undefined reference to `brnf_deferred_hooks'
xt_physdev.c:(.text+0x1fbcf): undefined reference to `brnf_deferred_hooks'
make: *** [.tmp_vmlinux1] Error 1

Additional info:

xt_physdev.c is apparently the implementation of
CONFIG_NETFILTER_XT_MATCH_PHYSDEV ("physdev" match support)
which was enabled in the kernel config.

xt_physdev.c includes <linux/netfilter_bridge.h> and in
netfilter_bridge.h the declaration
"extern int brnf_deferred_hooks;" is a conditional of
CONFIG_BRIDGE_NETFILTER (Bridged IP/ARP packets filtering)
but this was also enabled in the kernel config.

Disabling CONFIG_NETFILTER_XT_MATCH_PHYSDEV makes the
kernel compile.

------- Comment #1 From Daniel Drake 2006-10-31 08:01:13 0000 -------
Please attach your .config

------- Comment #2 From Rumi Szabolcs 2006-10-31 08:40:45 0000 -------
Created an attachment (id=100896) [edit]
kernel .config file

------- Comment #3 From bugzilla@schoenhaber.de 2006-11-11 06:31:56 0000 -------
I experience the same problem as Rumi reported, with the same workaround
(disabeling "physdev" match support), but using gentoo-sources-2.6.18-r2 which
has been declared stable yesterday.

------- Comment #4 From bugzilla@schoenhaber.de 2006-11-11 06:33:25 0000 -------
Created an attachment (id=101679) [edit]
kernel .config for 2.6.18-gentoo-r2

------- Comment #5 From Michael Hoegler 2006-11-13 08:40:11 0000 -------
Confirm the same problem with gentoo-sources-2.6.18-r2.
Im trying to recompile with 
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
Results will follow!

------- Comment #6 From Daniel Drake 2006-11-14 11:27:14 0000 -------
You need to enable CONFIG_BRIDGE_NETFILTER. This will be fixed in the next
release.

------- Comment #7 From Daniel Drake 2006-11-20 08:55:47 0000 -------
Fixed in gentoo-sources-2.6.18-r3 (genpatches-2.6.18-4)

First Last Prev Next    No search results available      Search page      Enter new bug