[PATCH] Fix binary compatibility of bits/types.h
Steve Munroe
sjmunroe@us.ibm.com
Wed Sep 10 19:55:00 GMT 2003
Ulrich Drepper writes:
> But this is exactly what we are talking about. Keeping the size alone
> isn't enough. The mangled name in C++ mustn't change either.
This change does create a problem for powerpc and the new c++-types-check.
The data file names are only qualified with $base-machine (as in
c++-types-powerpc-linux-gnu.data) but 64-bit types will require different
data files between powerpc32 and powerpc64. Perhaps libc/Makefile can
check scripts/c++-types-$(base-machine)-$(config-os).data and if not found
try scripts/c++-types-$(config-machine)-$(config-os).data?
There also seems to be a problem with pthread_t between linuxthreads and
nptl. pthread_t:m is OK for Linuxthreads but nplt needs
pthread_t:P16__opaque_pthread.
More information about the Libc-hacker
mailing list