Re: static build: DestroyDrawInfo: Assertion `draw_info->signature == MagickSignature' failed

Bob Friesenhahn <[email protected]> Fri, 12 Nov 2021 09:10:21 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
On Thu, 11 Nov 2021, Michael Melcher wrote:

> Greetings,
>
> when building GM statically I get the above mentioned error followed by a SIGABRT
>
> It does not matter whether I use an Ubuntu system as build host and 
> build the dependencies (libpng, libtiff, libjpeg, jasper, webp, 
> lcms2 and freetype) from their current sources or whether I use a 
> Gentoo system as build system with "static-libs" and "pie" as 
> useflags. As soon as I configure with LDFLAGS="-static-pie" 
> CFLAGS="-fPIE" I get the following error:

Unfortunately, the 1.3.36 release is rather old.  A great many issues 
have been fixed in the development version

I am not familiar with the requirements for static PIE.  Perhaps all 
involved static libraries need to be compiled and linked similarly?

Regardless, the type of assertion encountered sounds like something 
which might have been corrected since the 1.3.36 release.

Are you able to try a build using the latest Mercurial or snapshot 
version to see if the same error is encountered?

I tried your command using latest code (but without the PIE options) 
and it did not throw an assersion.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt