Fix warnings when building Blender with mold linker on linux.

Remove the three problematic entries:
- `aligned_free` is not a 'real' function and does not need to be
  handled here. There is no symetry with the `aligned_malloc` symbol
  here.
- `__end` and `_bss_start` seem to have been mis-typed from the
  beginning (actual symbols seem to be `_end` and `__bss_start`).
  Regardless, neither `gold` nor `mold` seem to take these directives
  from the LD version script into account (result is the same for them
  when removed for the `.map` file), so removing them.

Pull Request: https://projects.blender.org/blender/blender/pulls/127761
This commit is contained in:
Bastien Montagne
2024-09-17 19:20:01 +02:00
committed by Gitea
parent 3a555b60f7
commit 5e4c76accc
-3
View File
@@ -5,8 +5,6 @@
{
global:
/* Essential symbols for the program to start and exit. */
_bss_start;
__end;
_fini;
_init;
/* Needed for Python modules to work. */
@@ -24,7 +22,6 @@ global:
__Zdl*;
__Zda*;
aligned_alloc;
aligned_free;
calloc*;
free;
mallinfo;