Bug 1160380

Summary: Mesa-drivers fails with -fno-common
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: alynx.zhou
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://lists.freedesktop.org/archives/mesa-dev/2020-January/224017.html
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1160244, 1160578    

Description Martin Liška 2020-01-08 09:33:07 UTC
The package fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:M/Mesa-drivers/standard/x86_64

Please take a look at the META issue for the instructions.
Comment 1 Stefan Dirsch 2020-01-20 14:34:02 UTC
Ok. I would say adjusting Mesa to this looks like a nightmare. Even workarounding this by using somewhat "-fcommon" by default doesn't appear to be simple. meson/ninja is just a weird build system. No idea how to adjust this.  :-(

I will ask on the Mesa developer list, whether there are plans for addressing this once gcc 10 will be released, but chances are that my voice will be completely ignored ...
Comment 3 Stefan Dirsch 2020-01-21 15:14:30 UTC
(In reply to Stefan Dirsch from comment #2)
> https://lists.freedesktop.org/archives/mesa-dev/2020-January/224017.html

As expected. Nobody cares about this issue. :-(
Comment 4 Stefan Dirsch 2020-01-22 03:41:52 UTC
(In reply to Stefan Dirsch from comment #3)
> (In reply to Stefan Dirsch from comment #2)
> > https://lists.freedesktop.org/archives/mesa-dev/2020-January/224017.html
> 
> As expected. Nobody cares about this issue. :-(

Meanwhile I received feedback! :-)
Comment 5 Stefan Dirsch 2020-01-22 15:56:12 UTC
Date: Tue, 21 Jan 2020 18:49:59 +0100
From: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
To: Stefan Dirsch <sndirsch@suse.de>
Cc: mesa-dev <mesa-dev@lists.freedesktop.org>
Subject: Re: [Mesa-dev] -fno-common build failures (default from upcoming gcc
        release 10)

I think this ended up spawning a bunch of work in
https://gitlab.freedesktop.org/mesa/mesa/issues/2385
Comment 6 Stefan Dirsch 2020-01-22 16:11:56 UTC
Fixed.