patch for problem with va-ppc.h included with egcs and gcc-2.95.2

Jason Kim jwk2 at eecs.lehigh.edu
Fri Dec 3 03:15:50 EST 1999


Kevin Buettner wrote:

> How about anything that calls vprintf, vsprintf, or vsnprintf?

Works with my patches. no probs.  

> A more concrete example: Suppose you've compiled the perl library
> to use the old interface and then compile an application which
> uses it with your va_list interface.  Then suppose the application
> calls sv_vsetpvfn() in the perl library.  Would it work?

I'll try this as soon as I hack up some src to test it (sometime today, 
hopefully). 

(crossed fingers??)

-jason.

> 
> I feel like I'm playing devil's advocate here because I would really
> like it if you (or someone) could straighten out the ppc va_list
> issues.  I've been bitten by problems similar to the ones that you've
> encountered more than once over the years.  Recently I had to fix a
> problem in gdb where it would've been nice to do a va_list copy.
> Instead, I restructured the code so that a copy wasn't necessary.  It
> turned out to be doable in this instance, but I'm aware of some code
> in libiberty that can't be restructured so easily.  (But for some
> reason, it seems to be working now on linux/ppc.  I remember a time
> when it didn't.)
> 
> Kevin
> 
> --
> Kevin Buettner
> kev at primenet.com, kevinb at cygnus.com

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list