Project

General

Profile

Bug #14146

Updated by Yuri Pankov 4 months ago

Build errors with gcc10: 
 <pre> 
 ld: fatal: symbol 'debug_value' is multiply-defined: 
         (file prof.o type=OBJT; file symintOpen.o type=OBJT); 
 ld: fatal: symbol 'debug_value' is multiply-defined: 
         (file prof.o type=OBJT; file symintClose.o type=OBJT); 
 ld: fatal: symbol 'debug_value' is multiply-defined: 
         (file prof.o type=OBJT; file symintUtil.o type=OBJT); 
 ld: fatal: symbol 'debug_value' is multiply-defined: 
         (file prof.o type=OBJT; file symintLoad.o type=OBJT); 
 ld: fatal: file processing errors. No output written to prof 
 </pre> 

 To test this, I simply ran the resulting prof binary (it runs) -- all uses of @debug_value@ are hidden under @OLD_DEBUG()@ (the fix does the same for @debug_value@).    More so, after uncommenting @OLD_DEBUG@ (i.e. @#define OLD_DEBUG(x) x@) build fails because of the other issues unrelated to @debug_value@ (probably the code is showing its age).

Back