On Wed, 2020-02-05 at 01:38 +0000, Sérgio Basto wrote:
Hi,
Packages gpm, VirtualBox and webalizer have the building problem as
described for gpm in [1] , but VirtualBox have thousands of lines
with
this error , I'd like disable this check on VirtualBox until
VirtualBox
fix it ,
the author of pull request [1] also comment "The error also happens
if
CFLAGS=-fno-common passed explicitly." , any quick way to fix these
builds ?
The easiest way is to add -fcommon to the build flags for the package:
https://gcc.gnu.org/gcc-10/porting_to.html#common
(but FWIW it's best to fix it properly by adding extern to the decls in
the headers, as C can generate slightly faster code that way).
Dave