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