Skip to content

pv-adverb: Show contents of ld.so.cache if debug output is enabled

Simon McVittie requested to merge wip/task357 into main

This would have helped to diagnose steamrt/tasks#357, aka steam-runtime#630. It doesn't provide a workaround for steamrt/tasks#357: I did consider adding one, but it would have been relatively "expensive" and still wouldn't always work. I think the resolution to steamrt/tasks#357 needs to be that the glibc bug needs to be fixed instead.

  • pv-adverb: Fix a typo

  • pv-adverb: Don't try to change LD_LIBRARY_PATH if no value was provided

    In principle we could be invoked with --regenerate-ld.so.cache but without --set-ld-library-path (although pv-wrap never actually does this).

  • pv-adverb: If --verbose, read back the contents of the new ld.so.cache

    Helps: steamrt/tasks#357, steam-runtime#630

  • Make SRT_LOG=debug activate extra output

    Previously, only --verbose or PRESSURE_VESSEL_VERBOSE would have activated this.

Edited by Simon McVittie

Merge request reports