bug-gnu-libiconv
[Top][All Lists]
Advanced

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

Re: [bug-gnu-libiconv] Address Sanitizer finding in libiconv_open iconv.


From: Jeffrey Walton
Subject: Re: [bug-gnu-libiconv] Address Sanitizer finding in libiconv_open iconv.c:234
Date: Sun, 12 May 2019 06:52:01 -0400

On Sun, May 12, 2019 at 6:14 AM Jeffrey Walton <address@hidden> wrote:
> ...
> > ***
> > *** The system does not provide a working iconv function.  Please
> > *** install a suitable library; for example GNU Libiconv which is
> > *** available at:
> > ***   https://ftp.gnu.org/gnu/libiconv/
> > ***
> > configure: error:
> > ***
> > *** Required libraries not found. Please consult the above messages
> > *** and install them before running configure again.
> > ***
> >
> > iconv is there, it is just causing a build error.
>
> Here are the m4 macro changes: https://dev.gnupg.org/T4504
>
> It was reported to the Autoconf folks. Hopefully they will pick it up.

Here is a patch for iConvert. The project is welcomed to it. It should
avoid failures with tooling like Asan.

An improvement would be an Autoconf to check for
__attribute__((destructor)), and then enable do_cleanup() for more
compilers and platforms. I believe the Intel compiler on x86 and IBM
XLC on AIX support the attribute.

Jeff

Attachment: iconv.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]