[Bug 248738] multimedia/libv4l: 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:44 UTC 2020


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

            Bug ID: 248738
           Summary: multimedia/libv4l: 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: multimedia at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(multimedia at FreeBSD.org)
          Assignee: multimedia at FreeBSD.org

Created attachment 217323
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217323&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-multimedia mailing list