This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC/RFT: split up pexecute.c
- From: Zack Weinberg <zack at codesourcery dot com>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org, dj at redhat dot com
- Date: Sat, 25 Jan 2003 20:59:24 -0800
- Subject: Re: RFC/RFT: split up pexecute.c
- References: <200301260437.h0Q4b02j001730@hiauly1.hia.nrc.ca>
"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:
> This patch causes a bootstrap failure on hppa2.0w-hp-hpux11.11. When
> linking libgcc_s.1, the following error occurs:
>
> collect2: /opt/gnu/hppa2.0w-hp-hpux11.11/bin/nm returned 28 exit status
>
> I verified manually that the actual exit status for nm is 0. I changed
> pex-unix.c to use wait and things work again.
That smells like a bug in collect2. Can you instrument pex-unix.c and
find out whether collect2 is calling pwait with the right process ID?
zw