[Bug 248739] net/isc-dhcp44-server: Fix build with -fno-common (clang 11 and gcc 10)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 18 21:11:50 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248739

            Bug ID: 248739
           Summary: net/isc-dhcp44-server: Fix build with -fno-common
                    (clang 11 and gcc 10)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: dim at FreeBSD.org
          Assignee: zi at FreeBSD.org
             Flags: maintainer-feedback?(zi at FreeBSD.org)

Created attachment 217324
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217324&action=edit
Fix build with -fno-common (clang 11 and gcc 10)

In base r364284, I imported clang 11 into head. Like gcc 10, it now defaults to
-fno-common, meaning that duplicated global symbols will most likely lead to
link errors. Here is a patch to fix this port's duplicated global symbols.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list