From 88ae398e67bb78f7955de72611e624dcee90ba3f Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Mon, 24 Nov 2025 23:12:39 +0100 Subject: [PATCH] Build: remove old workaround for transitive shared object lookup (closes: #965) Lumiera is built such that it can be invoked from a ''bundle directory'' without the need to install it into the system; this requires to perform a relative lookup of shared modules loaded as dependencies. Since Lumiera has a layered architecture, and each layer is built into a shared object, we get transitive dependencies and thus transitive relative lookup. There was a bug in binutils 2.23, which caused that transitive relative lookup to fail. * as of 2025, Debian/Trixie is defined as ''Reference Platform'' * in Trixie the binutils version is v2.44-3 * after removing the workaround, Lumiera and all tests can be launched * thus ''considering this workaround as obsolete now'' --- admin/scons/LumieraEnvironment.py | 1 - wiki/thinkPad.ichthyo.mm | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/admin/scons/LumieraEnvironment.py b/admin/scons/LumieraEnvironment.py index 196b619a1..5a759e995 100644 --- a/admin/scons/LumieraEnvironment.py +++ b/admin/scons/LumieraEnvironment.py @@ -300,7 +300,6 @@ class LumieraExeBuilder(WrappedStandardExeBuilder): """ custEnv = lumiEnv.Clone() custEnv.Append( LINKFLAGS = "-Wl,-rpath=\\$$ORIGIN/modules,--enable-new-dtags" ) - custEnv.Append( LINKFLAGS = "-Wl,-rpath-link=target/modules" ) ### Workaround for bug in binutils > 2.23 /////TICKET #965 if 'addLibs' in kw: custEnv.Append(LIBS = kw['addLibs']) return custEnv diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index 79190b7ce..0af6e08bd 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -178982,6 +178982,20 @@ env.Chmod(installed[0], 0o644) + + + + + + +

+ ...aber derzeit läuft unser Trac nicht, und ich kann nicht auf das Ticket zugreifen. Hab die Zeile mit dem Workaround einfach wieder rausgenommen +

+ + +
+ +