[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#107081: PowerPC: reuse same va_list more that once failed



On Mon, Jul 30, 2001 at 07:19:30PM +0200, Michael Schmitz wrote:
> > > And stdarg doesn't have these issues? The problem is that va_list isn't a
> > > pointer on powerpc so it gets modified across calls. Saving the initial
> > > va_list state and restoring it before reuse should solve this for varargs.
> > 
> > No, stdarg and vararg are both implemented in gcc, so the bug is not in
> > glibc. Which is why I reassigned it to gcc. I agree with your bug, since
> > on sparc it works as expected. It was just filed against the wrong
> > package.
> 
> This is not a bug in gcc, or glibc. It's a feature of the PPC
> va_list implementation, mandated by the PPC ABI that we
> need to follow (otherwise all sort of hell breaks loose). 

Thanks. I'll close the bug now.

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: