|
From: | Harald Koenig |
Subject: | Re: $* and $@ broken on some (64 bit?) platforms in bash 3.1 |
Date: | Mon, 27 Mar 2006 11:47:58 +0200 |
User-agent: | Mutt/1.5.11 |
Hi Chet, thanks for your answer! On Mar 26, Chet Ramey wrote: > Harald Koenig wrote: > > > I've tried both bash 3.1 patch level 5 and 14 on Mac OS X, no difference. > > I can't reproduce this on any platform, and Mac OS X is my primary > development environment. hmm, strange. I digged a bit deeper into my build logs and realized: - that it's not a 32 vs. 64 bti issue (HP-UX 11.00 is ok (build with gcc), 11.11 and 11.22 break (using cc, gcc gives va_args errors)). AIX 4.3 with gcc (32 bit) is broken too. - the easiest test for _this_ problem is ./bash -c 'set -- a b c ; echo $*' giving aabac - the bash test suite ("make tests") show _many_ more errors for DEC alpha, HP-UX 11.11 and 11.22 and Mac OS X, but not for AIX 4.3 I've attached the output of "make tests" for those platforms (plus the "good" output for bash 3.0.pl16 on alpha), maybe this can give you any hint which change from 3.0.16 to 3.1 might cause our problems, or maybe you can at least give me some pointers where to start debugging... for Mac OS X I've included the full build log for reference, maybe you notice any significant difference to your setup ?! vemac1 koenig > uname -a Darwin vemac1 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc vemac1 koenig > gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) thanks for any help or hint, Harald Koenig -- "I hope to die ___ _____ before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig \/\/\/\/\/\/\/\/\/ science+computing ag // / \\ \ koenig@science-computing.de ^^^^^ ^^^^^
bash31.alpha
Description: Text document
bash31.hpux1111
Description: Text document
bash31.hpux1122
Description: Text document
bash31.aix43
Description: Text document
bash31.macosx
Description: Text document
bash3016.alpha
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |