gnuastro-devel
[Top][All Lists]
Advanced

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

[gnuastro-devel] [bug #49459] rpl_malloc: make check fails when linking


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [bug #49459] rpl_malloc: make check fails when linking with library
Date: Thu, 27 Oct 2016 16:41:50 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

URL:
  <http://savannah.gnu.org/bugs/?49459>

                 Summary: rpl_malloc: make check fails when linking with
library
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Fri 28 Oct 2016 01:41:48 AM JST
                Category: Installation
                Severity: 3 - Normal
              Item Group: Crash
                  Status: Confirmed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Autoconf's test of `malloc' can fail some times. So it will call a function
called `rpl_malloc' instead. The situation is described described in the
autoconf manual
<https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Particular-Functions.html>
(under the `AC_FUNC_MALLOC' macro). 

This problem was reported by Alan Lefor and Antonio Diaz Diaz. Since I didn't
have time to implement it immediately, a temporary fix was found by Alan to be
run at configure time and explained in the Known issues
<https://www.gnu.org/software/gnuastro/manual/html_node/Known-issues.html>
section of the manual. In short, if the configure script is run like the
following the problem will go:


./configure ac_cv_func_malloc_0_nonnull=yes


But the better solution is to do what Autoconf has suggested (to actually make
this function available in the library). I find this puzzling however, because
`rpl_malloc' is included in Gnuastro as part of Gnulib (in
`bootstrapped/lib/malloc.c').




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49459>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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