On Sat, Sep 17, 2016 at 01:31:42PM -0400, Chet Ramey wrote: > On 9/16/16 9:12 PM, Ben wrote: > > Hello, > > > > bash-4.4 doesn't build with --enable-static-link. Buidling with an > > additional --without-bash-malloc makes it work. > > Sigh. There's another function defined in the same file where glibc > defines malloc/realloc/free, and it's using that function internally, > causing that file to be dragged in. What are the functions defined > in that file? I don't have a system with a static C library to look > at right now.
Here there are: V __after_morecore_hook T __calloc T __cfree T __free V __free_hook T __libc_calloc T __libc_free T __libc_mallinfo T __libc_malloc D __libc_malloc_initialized T __libc_mallopt T __libc_memalign T __libc_pvalloc T __libc_realloc T __libc_valloc T __mallinfo T __malloc T __malloc_check_init T __malloc_get_state V __malloc_hook V __malloc_initialize_hook T __malloc_set_state T __malloc_stats T __malloc_trim T __malloc_usable_size T __mallopt T __memalign V __memalign_hook D __morecore T __posix_memalign T __pvalloc T __realloc V __realloc_hook T __valloc W calloc W cfree T free W mallinfo T malloc W malloc_get_state T malloc_info W malloc_set_state W malloc_stats W malloc_trim W malloc_usable_size W mallopt W memalign W posix_memalign W pvalloc T realloc W valloc -- Benoît Dejean --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus