This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: VAX Ultrix bootstrap failure with gcc-2.96
- To: dave at hiauly1 dot hia dot nrc dot ca
- Subject: Re: VAX Ultrix bootstrap failure with gcc-2.96
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Tue, 20 Jun 2000 16:27:48 -0400 (EDT)
- Cc: bkorb at sco dot COM, gcc-patches at gcc dot gnu dot org, law at cygnus dot com
> From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
>
> > Yes, I understand the namespace pollution issue. I think the solution
> > that Dave is working on will not leave GETGROUPS_T in unistd.h, but I
> > have yet to actually see it. :-)
>
> Here is the patch for review.
>
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
>
> 2000-06-16 J. David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
> * configure.in (TARGET_GETGROUPS_T): Evaluate.
> * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
> of second argument of getgroups.
> * configure, config.in: Rebuilt.
I built native stage1 with this patch on sunos4 and fixproto created
the correct prototype for getgroups(). So looks good.
I noticed you used TARGET_GETGROUPS_T [] instead of TARGET_GETGROUPS_T *.
Are the two equivalent in prototypes? (I think I recall they are, but
I wanted to be sure.)
Thanks,
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions