tag 801665 +help
reassign 801665 src:bashdb
thanks
user debian-...@lists.debian.org
usertag 801665 kfreebsd
thanks


The error on Debian kfreebsd for set0 is as follows:

-/«BUILDDIR»/bashdb-4.3.0.91+ds/command/set_sub/dollar0.sh: line 23: enable: cannot open shared object /«BUILDDIR»/bashdb-4.3.0.91+ds/builtin/set0: /«BUILDDIR»/bashdb-4.3.0.91+ds/builtin/set0: undefined symbol: dollar_vars


The issue in set0 is the dollar_vars variable from variables.c

/* Some funky variables which are known about specially.  Here is where
   "$*", "$1", and all the cruft is kept. */
char *dollar_vars[10];


For readc it appears to be terminate_immediately from sig.c.

/* When non-zero, we call the terminating signal handler immediately. */
int terminate_immediately = 0;


So it seems that on non-linux platforms bash has difficulty loading the compiled builtins IF those builtins reference data defined in the bash binary itself.

Reply via email to