[bugs] [illumos gate - Feature #1230] need support for recent gcc stdarg builtins

illumos bugs bugs at lists.illumos.org
Wed Jul 20 19:20:50 PDT 2011


Issue #1230 has been updated by Rich Lowe.


We should be using __builtin_va_start for any GCC >= 3.3, based on when the change was made to their ginclude copy, see here:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ginclude/stdarg.h

It's actually probable that we could use it for a wider range of versions, but this seems safest.
----------------------------------------
Feature #1230: need support for recent gcc stdarg builtins
https://www.illumos.org/issues/1230

Author: Artem Dmitriev
Status: In Progress
Priority: Normal
Assignee: Rich Lowe
Category: 
Target version: 
Difficulty: Bite-size
Tags: 


When i tried to compile something, what used macros va_start(), i get error:
<pre>
libc.so.1: perl: fatal: relocation error: file /root/libzfs-perl-tst1/blib/arch/auto/ZFS/ZFS.so: symbol __builtin_stdarg_start: referenced symbol not found
</pre>

__builtin_stdarg_start has been removed as it was broken and not used by GCC's headers any more (it was really internal to GCC's stdards headers).
__builtin_va_start is the replacement.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26264

Maybe we need to replace it in illumos headers too?
These macros defines here: .../illumos-gate/usr/src/uts/common/sys/va_impl.h


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the bugs mailing list