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


Commits:
25d96c05 by Adrian Bunk at 2021-09-12T23:01:29+03:00
Add bin/symbols-check.py fix for mips*

- - - - -


2 changed files:

- + debian/patches/0001-pass-egl-symbols-check-test-on-mips64el.patch
- debian/patches/series


Changes:

=====================================
debian/patches/0001-pass-egl-symbols-check-test-on-mips64el.patch
=====================================
@@ -0,0 +1,46 @@
+From 2f07c675b911ff4d630556608e5d7d867c7e690c Mon Sep 17 00:00:00 2001
+From: suijingfeng <[email protected]>
+Date: Mon, 19 Jul 2021 21:05:54 +0800
+Subject: pass egl-symbols-check test on mips64el
+
+Without this patch the egl symbols check test fail on mips platform:
+
+72/87 mesa:egl / egl-symbols-check        FAIL        0.20s (exit status 1)
+
+src/egl/libEGL.so.1.0.0: unknown symbol exported: _fbss
+src/egl/libEGL.so.1.0.0: unknown symbol exported: _fdata
+src/egl/libEGL.so.1.0.0: unknown symbol exported: _ftext
+
+See Mips Run say thoes special symbols are automatically defined by the
+linker to allow programs to discover the start and end of their various
+section. They are descended from conventions that grew up in UNIX-like OSs,
+and are peculiar to the MIPS environment.
+
+_fbss  :  Start of uninitialized data segment
+_fdata :  Start of initialized data segment
+_ftext :  Start of text segment
+
+Reviewed-by: Adam Jackson <[email protected]>
+Signed-off-by: suijingfeng <[email protected]>
+Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11955>
+---
+ bin/symbols-check.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/bin/symbols-check.py b/bin/symbols-check.py
+index c53b20bccbf..c284d4c7a48 100644
+--- a/bin/symbols-check.py
++++ b/bin/symbols-check.py
+@@ -21,6 +21,9 @@ PLATFORM_SYMBOLS = [
+     '_end',
+     '_fini',
+     '_init',
++    '_fbss',
++    '_fdata',
++    '_ftext',
+ ]
+ 
+ def get_symbols_nm(nm, lib):
+-- 
+2.20.1
+


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



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/libglvnd/-/commit/25d96c05fb0ba93895af9c1b55069e6e53423caf

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/libglvnd/-/commit/25d96c05fb0ba93895af9c1b55069e6e53423caf
You're receiving this email because of your account on salsa.debian.org.


Reply via email to