Bug 248735

Summary: devel/binutils: Fix build with -fno-common (clang 11 and gcc 10)
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed DUPLICATE    
Severity: Affects Some People CC: kbowling, zeising
Priority: --- Flags: bugzilla: maintainer-feedback? (bapt)
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:24 UTC
Created attachment 217320 [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 Niclas Zeising freebsd_committer freebsd_triage 2020-08-18 23:31:26 UTC

*** This bug has been marked as a duplicate of bug 248701 ***