On Mon, Jan 8, 2018 at 8:44 AM, David Brown <david@xxxxxxxxxxxxxxx> wrote: > On 08/01/18 12:31, Jeffrey Walton wrote: >> ... > If you have got "common" symbols, you have problems in your code. > "common" symbols result from having more than one source file containing > definitions for the same external linkage identifier. That might be > just poor quality code (like having "int globalVar" in two files, > instead of defining it in one and using "extern int globalVar" in the > other) - or it might be a serious flaw (like having "int globalVar" in > one file and "double globalVar" in antoerh). > > It is better to compile with -fno-common and /correct/ each finding by > identifying the multiple definitions, and using just one. In our case it was due to the compiler inlining some variables that existed in only one source (cpp) file. I guess it was the As-If rule... Jeff