Bug 248739

Summary: net/isc-dhcp44-server: Fix build with -fno-common (clang 11 and gcc 10)
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: Ryan Steinmetz <zi>
Status: Closed FIXED    
Severity: Affects Many People CC: yasu
Priority: --- Flags: bugzilla: maintainer-feedback? (zi)
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 248756    
Attachments:
Description Flags
Fix build with -fno-common (clang 11 and gcc 10) none

Description Dimitry Andric freebsd_committer freebsd_triage 2020-08-18 21:11:49 UTC
Created attachment 217324 [details]
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.
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2020-08-18 23:23:26 UTC
Thanks!  I've submitted this upstream and will commit shortly.
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2020-09-03 17:46:36 UTC
The problem is fixed with ports r546952. So please close this bug report now.