tech-toolchain archive

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

Re: Gimp does not build on macppc: No space available for static Thread Local Storage



On Fri, 27 May 2022 06:56:57 +0200
Martin Husemann <martin%duskware.de@localhost> wrote:

> trying to build Gimp from pkgsrc-current on NetBSD/macppc -current
> fails with:
> 
> mkdir -p `dirname 64/gimp-info.png` && GEGL_USE_OPENCL=no GEGL_SWAP=ram /usr/pkg/bin/gegl ../../icons/Symbolic/64/gimp-info.png -o 64/gimp-info.png -- cast-format input-format="R'G'B'A float" output-format="RGBA float" brightness-contrast contrast=1.5 cast-format input-format="RGBA float" output-format="R'G'B'A float"
> GEGL-Message: 06:50:10.625: Module '/usr/pkg/lib/gegl-0.4/exr-save.so' load error: /usr/lib/libstdc++.so.9: No space available for static Thread Local Storage
> 
> What is the correct fix for that?

Seeing gegl mentioned automatically makes me assume the package does
something non-portable / wrong. But it could also be triggering some
macppc bug because it does unusually many dlopen()/dlclose() calls.
Please try to run "/usr/pkg/bin/gegl --list-all" and see if that
reproduces the problem. If it does, run the same command with

LD_PRELOAD=/usr/lib/libstdc++.so.9

and see if that results in a somehow different error message
mentioning some other solib.



Home | Main Index | Thread Index | Old Index