Date: Thu, 17 Jul 2014 22:06:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191935] New: Namespace conflicts between kern/inflate.c and net/zlib.c Message-ID: <bug-191935-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191935 Bug ID: 191935 Summary: Namespace conflicts between kern/inflate.c and net/zlib.c Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: yaneurabeya@gmail.com kern/inflate.c and net/zlib.c both provide incompatible unzip implementations which export symbols named the same thing (inflate for instance). If one compiles gzip support into the kernel and either crypto or geom_uzip or ipsec or mxge or netgraph_deflate or ddb_ctf or gzio or geom_uncompress, they will hit this namespace conflict and the buildkernel will fail. 2866 kern/inflate.c optional gzip ... 3198 net/zlib.c optional crypto | geom_uzip | ipsec | \ 3199 mxge | netgraph_deflate | \ 3200 ddb_ctf | gzio | geom_uncompress The only user of inflate.c's inflate appears to be sys/boot/i386/kgzldr/boot.c -- it should probably be changed to use net/zlib.c , or kern/inflate.c should be moved to sys/boot/i386/kgzldr/ . -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191935-8>