https://sourceware.org/bugzilla/show_bug.cgi?id=27366
--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
I see you are using -flto=auto. Sadly LTO isn't supported at the moment.
Although it would be nice if it didn't totally break with -flto-partition=none.
The problem with lto might be:
/* HACK. This is a simple workaround for a combination of old glibc
and valgrind. libdw will try to dlopen libdebuginfod this causes
some unsuppressable memory leak warnings when the process is
multi-threaded under valgrind because of some bad backtraces.
So simply override dlopen and always return NULL so libdebuginfod
(and libcurl) are never loaded. This test doesn't rely on
libdebuginfod anyway. */
void *dlopen (void)
{
return NULL;
}
Maybe it needs some __attribute__((__used__)) to make sure it is kept around?
--
You are receiving this mail because:
You are on the CC list for the bug.