Configuration Information [Automatically generated, do not change]: Machine: mipsel OS: linux-gnu Compiler: /home/dino/sandbox/trunk/TARGET_LINUX_MIPSTOOLS/debug/bin/mipsel-unkno wn-linux-gnu-gcc -march=mips32 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='mipsel' -DCONF_OSTYPE='li nux-gnu' -DCONF_MACHTYPE='mipsel-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLO CALEDIR='/home/dino/sandbox/trunk/TARGET_LINUX_BCM/debug/share/locale' -DPACKAGE ='bash' -DSHELL -DHAVE_CONFIG_H -I. -I/home/dino/sandbox/trunk/tools/bash/bash -3.0 -I/home/dino/sandbox/trunk/tools/bash/bash-3.0/include -I/home/dino/sandbox /trunk/tools/bash/bash-3.0/lib -I/home/dino/sandbox/trunk/TARGET_LINUX_BCM/deb ug/include -I/home/dino/sandbox/trunk/TARGET_LINUX_BCM/debug/sysinclude -I /include -I/home/dino/sandbox/trunk/TARGET_LINUX_BCM/debug/include -isystem /hom e/dino/sandbox/trunk/TARGET_LINUX_BCM/debug/sysinclude uname output: Linux dinospc.vvond-int.com 2.6.12-1.1447_FC4smp #1 SMP Fri Aug 26 20:57:13 EDT 2005 i686 i686 i386 GNU/Linux Machine Type: mipsel-unknown-linux-gnu
Bash Version: 3.0 Patch Level: 0 Release Status: release Description: The list of signal names is wrong when cross compiling. Repeat-By: Build for a cross target that has signal numbers different from your host system and try to do "kill -l" on your target. The signal numbers are wrong. Fix: This may or may not be the right fix. It seems to work for me. Set env variable TARGET_SIGNUM_H to the path to your target system's signum.h file. Then cross compile with the patch below. ==== //depot/trunk/tools/bash/bash-3.0/Makefile.in#1 - /home/dino/sandbox/trunk/ tools/bash/bash-3.0/Makefile.in ==== 609a610,613 > ifneq ($(TARGET_SIGNUM_H),) > TARGET_SIGNUM_SWITCH=-DTARGET_SIGNUM_H=\"$(TARGET_SIGNUM_H)\" > endif > 611c615 < $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)mksignames.c --- > $(CC_FOR_BUILD) $(TARGET_SIGNUM_SWITCH) $(CCFLAGS_FOR_BUILD) -o $@ $(SUP PORT_SRC)mksignames.c ==== //depot/trunk/tools/bash/bash-3.0/support/mksignames.c#1 - /home/dino/sandb ox/trunk/tools/bash/bash-3.0/support/mksignames.c ==== 21a22,28 > #ifdef TARGET_SIGNUM_H > #define _SIGNAL_H > #include TARGET_SIGNUM_H > #else > #include <signal.h> > #endif > 26d32 < #include <signal.h> _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash