https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87182

--- Comment #6 from Ian Lance Taylor <ian at airs dot com> ---
In my testing I don't see any reference to -lz in libbacktrace.la.

It is not the case that using

AC_CHECK_LIB([z], [compress],
    [AC_DEFINE(HAVE_ZLIB, 1, [Define if -lz is available.])])

in libbacktrace/configure.ac causes -lz to be added to LIBS.  This happens
temporarily during the configure script, but the assignment to LIBS is undone. 
It is not reflected in the generated Makefile.

So while I'm certainly willing to fix this, I can't recreate the problem and I
don't understand the problem.  Can you explain further?  Thanks.

Reply via email to