This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: AIX atomicity.h support
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: AIX atomicity.h support
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 27 Sep 2000 15:41:43 -0400
- cc: libstdc++ at sources dot redhat dot com, Mark Mitchell <mark at codesourcery dot com>, Geoff Keating <geoffk at cygnus dot com>
_G_config.h is complaining about:
1) mbstate_t typedef not defined.
This is defined in AIX wchar.h if _XOPEN_SOURCE=500, which is the
default. Somehow the build is causing _XOPEN_SOURCE to be defined to
something else.
2) __off_t and __off64_t typedefs not defined.
I cannot see where these typedefs would be defined. This appears to be
a glibc extension in bits/types.h.
I would have expected __off_t and __off64_t to be defined in terms of
off_t and off64_t, as with __mbstate_t.
libio.h is complaining about:
1) _IO_lock_t undefined:
/* Handle lock. */
#ifdef _IO_MTSAFE_IO
# if defined __GLIBC__ && __GLIBC__ >= 2
# include <bits/stdio-lock.h>
# else
/*# include <comthread.h>*/
# endif
#else
typedef void _IO_lock_t;
#endif
_IO_MTSAFE_IO is defined by _G_config.h and the system is not using glibc,
therefore _IO_lock_t never is defined.
Those are the failures that I have tracked down so far.
David