From: Kevin Buettner <kev@primenet.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
"linuxppc-dev@lists.linuxppc.org"
<linuxppc-dev@lists.linuxppc.org>,
Jason Kim <jwk2@eecs.lehigh.edu>
Subject: Re: patch for problem with va-ppc.h included with egcs and gcc-2.95.2
Date: Thu, 2 Dec 1999 00:27:19 -0700 [thread overview]
Message-ID: <991202072719.ZM11771@saguaro.lan> (raw)
In-Reply-To: Jason Kim <jwk2@eecs.lehigh.edu> "Re: patch for problem with va-ppc.h included with egcs and gcc-2.95.2" (Dec 2, 12:20am)
On Dec 2, 12:20am, Jason Kim wrote:
> Anybody have any examples of where there IS va_list passage from
> user code to existing dynlib code (or vice versa)? I tried a bit,
> and couldn't find any, and am thinking that there isn't any. If
> that is the case, then applying the patch en-mass seems harmless way
> for getting rid of the array based va_list once and for all.
How about anything that calls vprintf, vsprintf, or vsnprintf?
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 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@primenet.com, kevinb@cygnus.com
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~1999-12-02 7:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-30 6:00 patch for problem with va-ppc.h included with egcs and gcc-2.95.2 Jason Kim
1999-11-30 10:58 ` Franz Sirl
1999-11-30 18:05 ` Jason Kim
1999-11-30 23:28 ` Jason Kim
1999-12-01 15:33 ` Franz Sirl
1999-12-01 19:18 ` Jason Kim
1999-12-01 19:41 ` Kevin Hendricks
1999-12-02 5:20 ` Jason Kim
1999-12-02 7:15 ` Richard Henderson
1999-12-02 7:27 ` Kevin Buettner [this message]
1999-12-02 16:15 ` Jason Kim
1999-12-01 19:43 ` David A. Gatwood
1999-12-02 2:04 ` Jason Kim
-- strict thread matches above, loose matches on Subject: below --
1999-11-29 21:03 Jason Kim
1999-11-29 22:45 ` Franz Sirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=991202072719.ZM11771@saguaro.lan \
--to=kev@primenet.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jwk2@eecs.lehigh.edu \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).