Fix: ASAN build does not link
When building an ASAN build, I get this link error currently: ``` ld.lld: error: version script assignment of 'global' to symbol '__progname' failed: symbol not defined ld.lld: error: version script assignment of 'global' to symbol 'environ' failed: symbol not defined ``` The solution (as proposed by Brecht) is to change the symbol names into patterns with a wildcard. That way the linker does not fail when the symbols are not found. Pull Request: https://projects.blender.org/blender/blender/pulls/137153
This commit is contained in:
@@ -36,9 +36,9 @@ global:
|
||||
realpath;
|
||||
sched_*;
|
||||
valloc;
|
||||
/* needed on FreeBSD */
|
||||
__progname;
|
||||
environ;
|
||||
/* Needed on FreeBSD. Uses wildcard to avoid linker error when symbols are not found. */
|
||||
__progname*;
|
||||
environ*;
|
||||
local:
|
||||
*;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user