Bug 1160275

Summary: libfabric fails with -fno-common
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Nicolas Morey <nicolas.morey>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alynx.zhou, nicolas.morey
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1160244    

Description Martin Liška 2020-01-07 13:57:44 UTC
The package fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:M/libfabric/standard/x86_64

Please take a look at the META issue for the instructions.
Comment 1 Nicolas Morey-Chaisemartin 2020-01-08 07:40:08 UTC
PR sent upstream: https://github.com/ofiwg/libfabric/pull/5535
Comment 2 Nicolas Morey-Chaisemartin 2020-03-20 08:34:28 UTC
Should be fixed by https://build.opensuse.org/request/show/786353

$ git show  a6322cc4d15bcb5ee9b72e18fdc7f50b622103e7 --no-patch
commit a6322cc4d15bcb5ee9b72e18fdc7f50b622103e7
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Date:   Thu Jan 9 05:01:16 2020 -0800

    Fix compilation with -fno-common
    
    Starting from the upcoming GCC release 10, the default of -fcommon option will change to -fno-common:
    In C, global variables with multiple tentative definitions will result in linker errors.
    Global variable accesses are also more efficient on various targets.
    
    This patches adds missing extern keywords to global variables in headers and declarations outside of headers when needed.
    
    Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
$  git tag --contains a6322cc4d15bcb5ee9b72e18fdc7f50b622103e
v1.9.1