[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/libglvnd][debian-unstable] Add bin/symbols-check.py fix for mips*



Title: GitLab

Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / libglvnd

Commits:

2 changed files:

Changes:

  • debian/patches/0001-pass-egl-symbols-check-test-on-mips64el.patch
    1
    +From 2f07c675b911ff4d630556608e5d7d867c7e690c Mon Sep 17 00:00:00 2001
    
    2
    +From: suijingfeng <suijingfeng@loongson.cn>
    
    3
    +Date: Mon, 19 Jul 2021 21:05:54 +0800
    
    4
    +Subject: pass egl-symbols-check test on mips64el
    
    5
    +
    
    6
    +Without this patch the egl symbols check test fail on mips platform:
    
    7
    +
    
    8
    +72/87 mesa:egl / egl-symbols-check        FAIL        0.20s (exit status 1)
    
    9
    +
    
    10
    +src/egl/libEGL.so.1.0.0: unknown symbol exported: _fbss
    
    11
    +src/egl/libEGL.so.1.0.0: unknown symbol exported: _fdata
    
    12
    +src/egl/libEGL.so.1.0.0: unknown symbol exported: _ftext
    
    13
    +
    
    14
    +See Mips Run say thoes special symbols are automatically defined by the
    
    15
    +linker to allow programs to discover the start and end of their various
    
    16
    +section. They are descended from conventions that grew up in UNIX-like OSs,
    
    17
    +and are peculiar to the MIPS environment.
    
    18
    +
    
    19
    +_fbss  :  Start of uninitialized data segment
    
    20
    +_fdata :  Start of initialized data segment
    
    21
    +_ftext :  Start of text segment
    
    22
    +
    
    23
    +Reviewed-by: Adam Jackson <ajax@redhat.com>
    
    24
    +Signed-off-by: suijingfeng <suijingfeng@loongson.cn>
    
    25
    +Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11955>
    
    26
    +---
    
    27
    + bin/symbols-check.py | 3 +++
    
    28
    + 1 file changed, 3 insertions(+)
    
    29
    +
    
    30
    +diff --git a/bin/symbols-check.py b/bin/symbols-check.py
    
    31
    +index c53b20bccbf..c284d4c7a48 100644
    
    32
    +--- a/bin/symbols-check.py
    
    33
    ++++ b/bin/symbols-check.py
    
    34
    +@@ -21,6 +21,9 @@ PLATFORM_SYMBOLS = [
    
    35
    +     '_end',
    
    36
    +     '_fini',
    
    37
    +     '_init',
    
    38
    ++    '_fbss',
    
    39
    ++    '_fdata',
    
    40
    ++    '_ftext',
    
    41
    + ]
    
    42
    + 
    
    43
    + def get_symbols_nm(nm, lib):
    
    44
    +-- 
    
    45
    +2.20.1
    
    46
    +

  • debian/patches/series
    1 1
     #placeholder
    
    2
    +0001-pass-egl-symbols-check-test-on-mips64el.patch


  • Reply to: