[Bug 191935] New: Namespace conflicts between kern/inflate.c and net/zlib.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 17 22:06:43 UTC 2014


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 at FreeBSD.org
          Reporter: yaneurabeya at 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.


More information about the freebsd-bugs mailing list