[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc fails to build w/bash-4.4_alpha
From: |
Chet Ramey |
Subject: |
Re: gcc fails to build w/bash-4.4_alpha |
Date: |
Tue, 14 Jul 2015 08:22:41 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/14/15 2:33 AM, Mike Frysinger wrote:
> running it with set -x shows that it runs the xgcc & rm steps, but that's
it.
> using strace shows xgcc and rm both exit(0), but for some reason bash doe
s
> not continue to the following commands like it should.
>
> if i change the && to a ; after the first rm, it still stops executing at
that
> point. if i change the && to a ; after the xgcc command, then the rest o
f the
> commands run fine.
>
> attached is the strace. it is not in fork mode, yet the shell clearly do
es an
> exec into the rm tool. looks like bash, for some reason, thinks this is
the
> end of the possible commands and so does an optimization to exec into it
?
Thanks for the report. That's probably it; I'll take a look.
Chet
- --
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlWk/wYACgkQu1hp8GTqdKuD3wCfQf5/ktYjfnWQo/QTo/pUPQs2
uoEAn0+D8ZdwwFvznlgppuAIntwoNmPy
=YHvf
-----END PGP SIGNATURE-----