Date: Tue, 18 Aug 2020 21:11:43 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 248738] multimedia/libv4l: Fix build with -fno-common (clang 11 and gcc 10) Message-ID: <bug-248738-12827@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(multimedia@FreeBSD.org) Assignee: multimedia@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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248738-12827>
