This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C ABI changes between gcc 2.96 and gcc 3.2?


On Tue, Oct 15, 2002 at 01:35:55AM +0100, Joseph S. Myers wrote:
> On Mon, 14 Oct 2002, H. J. Lu wrote:
> 
> > Is that a known issue? I guess I can extract a testcase out of it. I
> > think it may impact people who try to use gcc 2.96 with glibc compiled
> > with gcc 3.2.
> 
> This would be the broken <stdbool.h> in 2.9x.  An untested patch for that
> is at <http://gcc.gnu.org/ml/gcc/2002-09/msg00797.html> (without the
> removal of the configure test for <stdbool.h> that should accompany it).  
> Unless glibc uses or used <stdbool.h> this is irrelevant to glibc.

In the current glibc from CVS:

# find -type f | xargs grep stdbool.h
./elf/dl-load.c:#include <stdbool.h>
./elf/rtld.c:#include <stdbool.h>
./iconv/iconv_prog.c:#include <stdbool.h>
./iconvdata/tst-e2big.c:#include <stdbool.h>
./locale/programs/localedef.c:#include <stdbool.h>
./locale/programs/localedef.h:#include <stdbool.h>
./locale/programs/locarchive.c:#include <stdbool.h>
./locale/loadarchive.c:#include <stdbool.h>
./localedata/gen-unicode-ctype.c:#include <stdbool.h>
./malloc/memusage.c:#include <stdbool.h>
./nscd/grpcache.c:#include <stdbool.h>
./nscd/hstcache.c:#include <stdbool.h>
./nscd/pwdcache.c:#include <stdbool.h>
./nss/getXXbyYY_r.c:#include <stdbool.h>
./sysdeps/generic/ldsodefs.h:#include <stdbool.h>
./sysdeps/posix/readv.c:#include <stdbool.h>
./sysdeps/posix/writev.c:#include <stdbool.h>
./sysdeps/pthread/aio_suspend.c:#include <stdbool.h>

Since no header files use <stdbool.h>, I guess it may be ok.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]