[Bug 248736] devel/json-glib: 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:31 UTC 2020


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

            Bug ID: 248736
           Summary: devel/json-glib: 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: gnome at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(gnome at FreeBSD.org)
          Assignee: gnome at FreeBSD.org

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