Hi Alexander, Go, On Mon, Jul 31, 2006 at 09:25:53AM +0600, Alexander E. Patrakov wrote: > > Could you please build bash as a normal user (but not install), save > config.log and config.h, build bash as root, and post the difference in > those config.log and config.h files in those cases? > I have now built it as root, and copied it over to the 'boot' system where it passes the 'grep foo <(ls)' test.
Diff follows, the hunk at 4347 seems to be key and matches what Go reported. I've got to go out now. I'll look at the configure script to see about overriding this after I get back, unless somebody else is in a rush to fix this. I suspect I'd better open a ticket too, this probably affects clfs2 as well as clfs1. Ken --- user/bash-3.1/config.log 2006-07-31 13:31:51.000000000 +0100 +++ root/bash-3.1/config.log 2006-07-31 13:36:18.000000000 +0100 @@ -27,9 +27,11 @@ /usr/bin/oslevel = unknown /bin/universe = unknown +PATH: /sbin PATH: /bin +PATH: /usr/sbin PATH: /usr/bin -PATH: /cross-tools/bin/ +PATH: /cross-tools/bin ## ----------- ## @@ -1279,7 +1281,7 @@ configure:10109: result: yes configure:10116: checking for _doprnt configure:10159: powerpc64-unknown-linux-gnu-gcc -m64 -o conftest -g -O2 conftest.c >&5 -/tmp/ccg00q2S.o:(.toc+0x8): undefined reference to `_doprnt' +/tmp/cc8wq0Xm.o:(.toc+0x8): undefined reference to `_doprnt' collect2: ld returned 1 exit status configure:10162: $? = 1 configure: failed program was: @@ -1329,7 +1331,7 @@ configure:10346: result: void configure:10355: checking for __setostype configure:10398: powerpc64-unknown-linux-gnu-gcc -m64 -o conftest -g -O2 conftest.c >&5 -/tmp/cc69r1U8.o:(.toc+0x8): undefined reference to `__setostype' +/tmp/ccyKQp1j.o:(.toc+0x8): undefined reference to `__setostype' collect2: ld returned 1 exit status configure:10401: $? = 1 configure: failed program was: @@ -1482,7 +1484,7 @@ configure:10735: result: yes configure:10673: checking for setdtablesize configure:10716: powerpc64-unknown-linux-gnu-gcc -m64 -o conftest -g -O2 conftest.c >&5 -/tmp/ccS23s1Q.o:(.toc+0x8): undefined reference to `setdtablesize' +/tmp/ccm7ATmm.o:(.toc+0x8): undefined reference to `setdtablesize' collect2: ld returned 1 exit status configure:10719: $? = 1 configure: failed program was: @@ -4238,7 +4240,7 @@ configure:22607: result: yes configure:22750: checking for tgetent configure:22793: powerpc64-unknown-linux-gnu-gcc -m64 -o conftest -g -O2 conftest.c -ldl >&5 -/tmp/ccedSIKx.o:(.toc+0x8): undefined reference to `tgetent' +/tmp/ccgxdoUZ.o:(.toc+0x8): undefined reference to `tgetent' collect2: ld returned 1 exit status configure:22796: $? = 1 configure: failed program was: @@ -4347,7 +4349,7 @@ configure:23063: checking which library has the termcap functions configure:23066: result: using libcurses configure:23093: checking whether /dev/fd is available -configure:23115: result: absent +configure:23115: result: standard configure:23137: checking whether /dev/stdin stdout stderr are available configure:23152: result: present configure:23161: checking for default mail directory @@ -4387,8 +4389,8 @@ config.status:699: creating examples/loadables/perl/Makefile config.status:699: creating pathnames.h config.status:803: creating config.h -config.status:1723: executing default-1 commands -config.status:1723: executing default commands +config.status:1727: executing default-1 commands +config.status:1727: executing default commands ## ---------------- ## ## Cache variables. ## @@ -4689,7 +4691,7 @@ bash_cv_decl_strtoull=yes bash_cv_decl_strtoumax=yes bash_cv_decl_under_sys_siglist=yes -bash_cv_dev_fd=absent +bash_cv_dev_fd=standard bash_cv_dev_stdin=present bash_cv_dirent_has_d_fileno=yes bash_cv_dirent_has_d_namlen=no @@ -5055,6 +5057,8 @@ #define FIONREAD_IN_SYS_IOCTL 1 #define HAVE_GETPW_DECLS 1 #define UNUSABLE_RT_SIGNALS 1 +#define HAVE_DEV_FD 1 +#define DEV_FD_PREFIX "/dev/fd/" #define HAVE_DEV_STDIN 1 #define DEFAULT_MAIL_DIRECTORY "/var/mail" #define PGRP_PIPE 1 --- user/bash-3.1/config.h 2006-07-31 13:31:51.000000000 +0100 +++ root/bash-3.1/config.h 2006-07-31 13:36:17.000000000 +0100 @@ -458,10 +458,10 @@ #define HAVE_HASH_BANG_EXEC 1 /* Define if you have the /dev/fd devices to map open files into the file system. */ -/* #undef HAVE_DEV_FD */ +#define HAVE_DEV_FD 1 /* Defined to /dev/fd or /proc/self/fd (linux). */ -/* #undef DEV_FD_PREFIX */ +#define DEV_FD_PREFIX "/dev/fd/" /* Define if you have the /dev/stdin device. */ #define HAVE_DEV_STDIN 1 -- das eine Mal als Tragödie, das andere Mal als Farce _______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev
