On 5/12/17 9:55 AM, Eduardo Bustamante wrote: > FWIW, I'm able to compile bash statically with: > > dualbus@debian:~/src/gnu/bash$ ./configure --enable-static-link > --without-bash-malloc > [...] > dualbus@debian:~/src/gnu/bash$ make > [...]
During which you get a million warnings about using any of the username/ group/service/hostname lookup functions in a static executable without the dynamic libraries available. > It fails if I try to use clang though: [...] > It seems to be caused by the combination of `-static' and `rdynamic' > (from LOCAL_LDFLAGS). This "works" though: The -rdynamic is in there to support `enable -f', though I don't know whether it's reasonable to expect that to work when you link with the static libraries. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/