Re: [PATCH] Correct handling of gcc-[ar|nm|ranlib] exit codes

2012-09-27 Thread Richard Guenther
On Thu, Sep 27, 2012 at 3:01 PM, Meador Inge wrote: > Hi All, > > The gcc-[ar|nm|ranlib] LTO utils use 'pex_one' to spawn the wrapped binutils > program. However, currently it is blindly returning the value of the 'err' > parameter for the exit code. According the documentation [1] 'err' is only

[PATCH] Correct handling of gcc-[ar|nm|ranlib] exit codes

2012-09-27 Thread Meador Inge
Hi All, The gcc-[ar|nm|ranlib] LTO utils use 'pex_one' to spawn the wrapped binutils program. However, currently it is blindly returning the value of the 'err' parameter for the exit code. According the documentation [1] 'err' is only set for an error return and 'status' is only set for a succes