From: Troy Benjegerdes <hozer@drgw.net>
To: khendricks@ivey.uwo.ca, linuxppc-dev@lists.linuxppc.org
Subject: Re: What's up with gcc 2.95.1 and "__va_arg_type_violation"
Date: Mon, 11 Oct 1999 22:54:40 -0500 [thread overview]
Message-ID: <3802B100.740FCB7B@drgw.net> (raw)
In-Reply-To: 99100721144003.26148@localhost.localdomain
Kevin Hendricks wrote:
>
> Hi,
>
> When attempting to run the latest build of the jdk, I get the following error
> message (but only on non-debug builds).
>
> Unsatisfied Link error: __va_arg_type_violation
>
> Figuring, I simply forgot some new piece of glibc 2.1.2, I used
>
> nm -o `find /lib -name "*"` | grep va_arg_type
>
> (for /lib, /usr/lib, /usr/local/lib, /opt/lib, etc)
>
> and this damn routine simply does not exist on my machine.
Actually, this generally means you are attempting to pass a 'char' through
a va_args function. This is a "bad thing" since the char silently gets
converted to an integer, and the compiler can't type check it. I would like
for any character (or I think short int also) arguments to va_arg functions
and explicitly typecast them to a 32 bit value type in the function call.
Franz Sirl would be the guy to ask if you want to know the actually reasons
and full technical details for this.
--
--------------------------------------------------------------------------
| Troy Benjegerdes | troy@blacklablinux.com | hozer@drgw.net |
| Unix is user friendly... You just have to be friendly to it first. |
| This message composed with 100% free software. http://www.gnu.org |
--------------------------------------------------------------------------
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~1999-10-12 3:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-08 1:08 What's up with gcc 2.95.1 and "__va_arg_type_violation" Kevin Hendricks
1999-10-08 13:30 ` schinder
1999-10-12 3:54 ` Troy Benjegerdes [this message]
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=3802B100.740FCB7B@drgw.net \
--to=hozer@drgw.net \
--cc=khendricks@ivey.uwo.ca \
--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).