Timo Aaltonen pushed to branch debian-experimental at X Strike Force / lib / 
mesa


Commits:
e1dd2ad1 by WANG Xuerui at 2024-08-16T12:26:30+08:00
rules: disable TLSDESC for loong64 for now

The feature is relatively new and occasionally crashes the BFD linker.
Before we are able to debug and fix the problem upstream, disable the
TLSDESC optimization in Mesa for loong64 for now.

See: https://github.com/loongson-community/discussions/issues/64

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -25,6 +25,10 @@ ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
   # Workaround for a variant of LP: #725126
   DEB_CFLAGS_MAINT_APPEND += -fno-optimize-sibling-calls
   DEB_CXXFLAGS_MAINT_APPEND += -fno-optimize-sibling-calls
+else ifneq (,$(filter $(DEB_HOST_ARCH), loong64))
+  # Workaround loong64 BFD linker crash related to TLSDESC
+  DEB_CFLAGS_MAINT_APPEND += -mtls-dialect=trad
+  DEB_CXXFLAGS_MAINT_APPEND += -mtls-dialect=trad
 else ifneq (,$(filter $(DEB_HOST_ARCH), m68k))
   # This library has huge jump tables: Debian #1067207
   DEB_CFLAGS_MAINT_APPEND += -mlong-jump-table-offsets



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/commit/e1dd2ad10068f3ae57814659810e3b01efb20c75

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


Reply via email to