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''
This commit is contained in:
parent
3812c801fb
commit
88ae398e67
2 changed files with 14 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -178982,6 +178982,20 @@ env.Chmod(installed[0], 0o644)</code></pre>
|
|||
</html></richcontent>
|
||||
</node>
|
||||
</node>
|
||||
<node BACKGROUND_COLOR="#fdfdcf" COLOR="#ff0000" CREATED="1764032703964" ID="ID_765634393" MODIFIED="1764032782082" TEXT="TICKET #965 hab ich mit Trixie gelöst">
|
||||
<richcontent TYPE="NOTE"><html>
|
||||
<head>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
...aber derzeit läuft unser Trac nicht, und ich kann nicht auf das Ticket zugreifen. Hab die Zeile mit dem Workaround einfach wieder rausgenommen
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
</richcontent>
|
||||
<icon BUILTIN="bell"/>
|
||||
</node>
|
||||
</node>
|
||||
<node CREATED="1447978374453" HGAP="140" ID="ID_156552320" MODIFIED="1742180980658" TEXT="Compiler" VSHIFT="-10">
|
||||
<icon BUILTIN="prepare"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue