Hello, under linux and GCC 8, compilation of MAME 0.211 fails with the following message:

Code
In function ‘char* strcat(char*, const char*)’,
    inlined from ‘void nubus_image_device::file_cmd_w(address_space&, offs_t, u32, u32)’ at ../../../../../src/devices/bus/nubus/nubus_image.cpp:262:10:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:33: error: ‘char* __builtin___strcat_chk(char*, const char*, long unsigned int)’ accessing 129 or more bytes at offsets 1028 and 900 may overlap 1 byte at offset 1028 [-Werror=restrict]
   return __builtin___strcat_chk (__dest, __src, __bos (__dest));
          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/devices/bus/nubus/nubus_wsportrait.cpp...
Compiling src/devices/bus/nubus/pds30_30hr.cpp...
cc1plus: all warnings being treated as errors
Compiling src/devices/bus/nubus/pds30_cb264.cpp...
optional.make:16346: recipe for target '../../../../linux_gcc/obj/x64/Release/src/devices/bus/nubus/nubus_image.o' failed
make[2]: *** [../../../../linux_gcc/obj/x64/Release/src/devices/bus/nubus/nubus_image.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:94: recipe for target 'optional' failed
make[1]: *** [optional] Error 2
makefile:1292: recipe for target 'linux_x64' failed
make: *** [linux_x64] Error 2

Any ideas what could be causing this?