more cancellation work

Steven Munroe sjmunroe@us.ibm.com
Thu Jul 17 18:07:00 GMT 2003


Found that glibc cvs will not build -enable-add-ons=linuxthreads any more
because of cancelation changes made to misc/syslog.c 

syslog.c:238: warning: implicit declaration of function `__libc_cleanup_push'
syslog.c:238: warning: implicit declaration of function `__libc_cleanup_push'
syslog.c:238: warning: implicit declaration of function `__libc_cleanup_push'
/home/sjmunroe/work/build-23/libc.so.6: undefined reference to
`__libc_cleanup_push'
/home/sjmunroe/work/build-23/libc.so.6: undefined reference to
`__libc_cleanup_push'

the __libc_cleanup_push and __libc_cleanup_pop macros are defined in:

nptl/sysdeps/pthread/bits/libc-lock.h

but not in:

linuxthreads/sysdeps/pthread/bits/libc-lock.h

What is the intent for this? Should linuxthreads just noop these macros or are
there equalent cleanup function fo linuxthreads?


-- 
Steven Munroe
sjmunroe@us.ibm.com
Linux on PowerPC-64 Development
GLIBC for PowerPC-64 Development



More information about the Libc-hacker mailing list