[Mesa-dev] [PATCH] src: replace RTLD_NOW with RTLD_LAZY
⚛
0xe2.0x9a.0x9b at gmail.com
Sat Aug 6 16:52:11 UTC 2016
On Sat, Aug 6, 2016 at 5:52 PM, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> The situation I'm concerned about is as
> follows:
> 1.) mesa builds fine using existing build environment.
>
> 2.) I update LLVM. This update changes symbols (function parameter
> changed type, a function was moved to header, or devirtualization pass
> did a better job, ...)
>
> I want to know whether this happened and mesa rebuild is necessary.
After updating LLVM:
$ qlist mesa | grep \\.so | LD_PRELOAD=/usr/\${LIB}/libGL.so xargs ldd
-d -r | grep defined
qlist is a Gentoo-specific command, other Linux distributions might
have an equivalent program under a different name.
> surely most llvm symbols are used immediately, but if optimizations
> like shader cache are present it can take some time before the compiler
> path is exercised, postponing failed symbol lookups well into the
> future.
More information about the mesa-dev
mailing list