Keep the logs just plain unformatted text.
This really is a workaround for an apparent bug with gcc 8.3
-fsanitizer=undefined on arm32, which complains about the
'right' formatter:
debuginfod.cxx:3472:12: runtime error: reference binding to
misaligned address 0x00561ec9 for type '<unknown>', which
requires 2 byte alignment
Signed-off-by: Mark Wielaard <mark@klomp.org>
+2021-12-09 Mark Wielaard <mark@klomp.org>
+
+ * debuginfod.cxx (database_stats_report): Don't format clog
+ using 'right' and 'setw(20)'.
+
2021-12-04 Mark Wielaard <mark@klomp.org>
* debuginfod.cxx (main): Call debuginfod_pool_groom before exit.
throw sqlite_exception(rc, "step");
obatched(clog)
- << right << setw(20) << ((const char*) sqlite3_column_text(ps_query, 0) ?: (const char*) "NULL")
+ << ((const char*) sqlite3_column_text(ps_query, 0) ?: (const char*) "NULL")
<< " "
<< (sqlite3_column_text(ps_query, 1) ?: (const unsigned char*) "NULL")
<< endl;