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

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Fri, May 27, 2022 at 12:39:44PM +0200, Tobias Nygren wrote:
> 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.

Yes, this gives interesting results:

 > /usr/pkg/bin/gegl --list-all
GEGL-Message: 18:14:37.643: 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

(gegl:1223): GLib-GObject-WARNING **: 18:14:37.647: Fatal error - Could not reload previously loaded plugin '(unknown)'

And with LD_PRELOAD of /usr/lib/libstdc++.so.9 it works:

 > /usr/pkg/bin/gegl --list-all
gegl:absolute
gegl:add
gegl:alien-map
gegl:antialias
gegl:apply-lens
gegl:bayer-matrix
gegl:bilateral-filter
gegl:bloom
gegl:border-align
gegl:box-blur
gegl:brightness-contrast
gegl:buffer-sink
gegl:buffer-source
gegl:bump-map
gegl:c2g
gegl:cache
gegl:cartoon
gegl:cast-format
gegl:cast-space
gegl:cell-noise
gegl:channel-mixer
gegl:checkerboard
gegl:clone
gegl:color
gegl:color-assimilation-grid
gegl:color-enhance
gegl:color-exchange
gegl:color-overlay
gegl:color-rotate
gegl:color-temperature
gegl:color-to-alpha
gegl:color-warp
gegl:component-extract
gegl:contrast-curve
gegl:convert-format
gegl:convert-space
gegl:convolution-matrix
gegl:copy-buffer
gegl:crop
gegl:cubism
gegl:deinterlace
gegl:difference-of-gaussians
gegl:diffraction-patterns
gegl:displace
gegl:display
gegl:distance-transform
gegl:dither
gegl:divide
gegl:domain-transform
gegl:dropshadow
gegl:edge
gegl:edge-laplace
gegl:edge-neon
gegl:edge-sobel
gegl:emboss
gegl:engrave
gegl:exp-combine
gegl:exposure
gegl:exr-load
gegl:exr-save
gegl:fattal02
gegl:fill-path
gegl:focus-blur
gegl:fractal-explorer
gegl:fractal-trace
gegl:gamma
gegl:gaussian-blur
gegl:gaussian-blur-selective
gegl:gblur-1d
gegl:gegl
gegl:gegl-buffer-load
gegl:gegl-buffer-save
gegl:gif-load
gegl:gray
gegl:grid
gegl:high-pass
gegl:hue-chroma
gegl:icc-load
gegl:icc-save
gegl:illusion
gegl:image-compare
gegl:image-gradient
gegl:introspect
gegl:invert-gamma
gegl:invert-linear
gegl:jpg-load
gegl:jpg-save
gegl:json:dropshadow2
gegl:json:grey2
gegl:layer
gegl:lcms-from-profile
gegl:lens-blur
gegl:lens-distortion
gegl:lens-flare
gegl:levels
gegl:linear-gradient
gegl:linear-sinusoid
gegl:load
gegl:long-shadow
gegl:mantiuk06
gegl:map-absolute
gegl:map-relative
gegl:matting-global
gegl:maze
gegl:mblur
gegl:mean-curvature-blur
gegl:median-blur
gegl:mirrors
gegl:mix
gegl:mono-mixer
gegl:mosaic
gegl:motion-blur-circular
gegl:motion-blur-linear
gegl:motion-blur-zoom
gegl:multiply
gegl:negative-darkroom
gegl:newsprint
gegl:noise-cie-lch
gegl:noise-hsv
gegl:noise-hurl
gegl:noise-pick
gegl:noise-reduction
gegl:noise-rgb
gegl:noise-slur
gegl:noise-solid
gegl:noise-spread
gegl:nop
gegl:normal-map
gegl:npd
gegl:npy-save
gegl:oilify
gegl:opacity
gegl:open-buffer
gegl:pack
gegl:panorama-projection
gegl:path
gegl:perlin-noise
gegl:photocopy
gegl:piecewise-blend
gegl:pixbuf
gegl:pixelize
gegl:plasma
gegl:png-load
gegl:png-save
gegl:polar-coordinates
gegl:posterize
gegl:ppm-load
gegl:ppm-save
gegl:radial-gradient
gegl:rectangle
gegl:recursive-transform
gegl:red-eye-removal
gegl:reflect
gegl:reinhard05
gegl:remap
gegl:reset-origin
gegl:rgb-clip
gegl:rgbe-load
gegl:rgbe-save
gegl:ripple
gegl:rotate
gegl:rotate-on-center
gegl:saturation
gegl:save
gegl:save-pixbuf
gegl:scale-ratio
gegl:scale-size
gegl:scale-size-keepaspect
gegl:sdl2-display
gegl:seamless-clone
gegl:seamless-clone-compose
gegl:sepia
gegl:shadows-highlights
gegl:shadows-highlights-correction
gegl:shear
gegl:shift
gegl:simplex-noise
gegl:sinus
gegl:slic
gegl:snn-mean
gegl:soft-light
gegl:softglow
gegl:spherize
gegl:spiral
gegl:stereographic-projection
gegl:stress
gegl:stretch-contrast
gegl:stretch-contrast-hsv
gegl:subtract
gegl:supernova
gegl:svg-huerotate
gegl:svg-load
gegl:svg-luminancetoalpha
gegl:svg-matrix
gegl:svg-saturate
gegl:text
gegl:texturize-canvas
gegl:threshold
gegl:tiff-load
gegl:tiff-save
gegl:tile
gegl:tile-glass
gegl:tile-paper
gegl:tile-seamless
gegl:transform
gegl:translate
gegl:unpremultiply
gegl:unsharp-mask
gegl:value-invert
gegl:value-propagate
gegl:variable-blur
gegl:vector-stroke
gegl:video-degradation
gegl:vignette
gegl:warp
gegl:waterpixels
gegl:watershed-transform
gegl:wavelet-blur
gegl:wavelet-blur-1d
gegl:waves
gegl:webp-load
gegl:webp-save
gegl:weighted-blend
gegl:whirl-pinch
gegl:wind
gegl:write-buffer
svg:clear
svg:color-burn
svg:color-dodge
svg:darken
svg:difference
svg:dst
svg:dst-atop
svg:dst-in
svg:dst-out
svg:dst-over
svg:exclusion
svg:hard-light
svg:lighten
svg:overlay
svg:plus
svg:screen
svg:src
svg:src-atop
svg:src-in
svg:src-out
svg:src-over
svg:xor
> 


Martin
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.