• Simon McVittie's avatar
    Revert "capture-libs: Compare symbols and versions to determine order" · 6d9833be
    Simon McVittie authored
    This crashes when tests/capture-libs.pl loads libgobject-2.0.so.0 on
    Debian 10 'buster' or on Debian unstable:
    
        Stack trace of thread 87172:
        #0  0x00007f6cad431176 g_slice_free1 (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6200.2)
        #1  0x00007f6cad431bc0 g_slist_remove (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6200.2)
        #2  0x00007f6cad43bf47 g_once_init_leave (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6200.2)
        #3  0x00007f6cad4f8e24 n/a (/tmp/fpzde0iMLo/host/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6200.2)
    
    I suspect this might be because the version of GLib in /usr and the
    version in /tmp/.../host/usr both get loaded into the same address
    space?
    
    This reverts commit fff84ffb.
    Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
    6d9833be
Name
Last commit
Last update
..
capture-libs.c Loading commit data...
debug.h Loading commit data...
dump.c Loading commit data...
dump.h Loading commit data...
elf-dump.c Loading commit data...
ld-cache.c Loading commit data...
ld-cache.h Loading commit data...
ld-libs.c Loading commit data...
ld-libs.h Loading commit data...
mmap-info.c Loading commit data...
mmap-info.h Loading commit data...
print-libstubs.c Loading commit data...
print-version.c Loading commit data...
process-pt-dynamic.c Loading commit data...
process-pt-dynamic.h Loading commit data...
tools.c Loading commit data...
tools.h Loading commit data...
utils.c Loading commit data...
utils.h Loading commit data...