For bash, I normally build a rescue shell using the option --disable-alias
When testing bash 4.0 with patches 001 through 024 applied, and this configure: ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libdir=/lib \ --sbindir=/sbin \ --bindir=/bin \ --mandir=/usr/man \ --infodir=/usr/info \ --without-bash-malloc \ --disable-rpath \ --disable-nls \ --enable-static-link \ --disable-alias \ --disable-history \ --disable-progcomp \ --disable-readline \ --build=i586-pc-linux-gnu I get this: variables.o: In function `build_aliasvar': variables.c:(.text+0x1756): undefined reference to `aliases' variables.c:(.text+0x1789): undefined reference to `aliases' variables.c:(.text+0x17ef): undefined reference to `aliases' variables.o: In function `assign_aliasvar': variables.c:(.text+0x4918): undefined reference to `add_alias' collect2: ld returned 1 exit status The attached patch, applied after patches 001 through 0024, fixes this for me. John Gatewood Ham
alias.patch
Description: Binary data