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

Tobias Nygren <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Fri, 27 May 2022 06:56:57 +0200
Martin Husemann <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.