Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall uname output: Linux Thinkpad 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 i686 i686 GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 4.3.30
Release Status: release

Description:
        at link step there is a conflict between gcc library in
        lib/gcc/i686-linux-gnu/libc.a
        and bash library
        lib/malloc/libmalloc.a
        for malloc and free functions

Repeat-By:
        generation with --enable-static-link

Fix:
        adding option --without-bash-malloc look a simple fix
    but this generate another issue because in file
    lib/sh/shmatch.c there is a reference to sh_xfree
    The solution is to add
    #include "xmalloc.h"
    in file
    lib/sh/shmatch.c

I hope I was clear (and my solution was really a good one)
as it's the first time I report a bug.
Of course you can ask me some details if necessary,
I will do my best to help you.
Thibaut

Reply via email to