sysdeps/generic changes

Steven Munroe munroesj@us.ibm.com
Fri Dec 23 04:49:00 GMT 2005


Roland McGrath wrote:

>I tried to do a somewhat exhaustive change of #include "" to <> in cases
>where it might have been wrong.  I left many "" cases that were clearly
>right or clearly didn't matter, though I also changed some that didn't
>really matter.  Hopefully I changed all the ones that matter and didn't
>change any that shouldn't have been changed.
>
>After this it's probably possible to move header files from sysdeps/generic
>into respective subdirs for headers that are only referenced within their
>own subdir (the top-level subdir whose Makefile lists that header).
>Similarly, nptl/sysdeps/{pthread,generic} files that are only used in the
>libpthread build can move to nptl/.
>
>  
>
The latest changes are causing a build breaks. The first problem is with 
the tricky include recussion in nptl/sysdeps/pthread/sigaction.c. With 
the new directory structure it is getting the ENOSYS stub instead of the 
__libc_sigaction from sysdeps/unix/sysv/linux. This seems to be problem 
for any arch that does not have a arch specific sigaction down the 
sysdeps/unix/sysv/linux path (powerpc being an example).

Placing a include stub in sysdeps/unix/sysv/linux/powerpc/sigaction.c is 
an effective work around.

There also seems to be a problem with the declaration of 
__libc_cleanup_routine in libc-lock.h (at least with gcc-3.4) still 
looking at this one ...

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-sigaction-20051222.txt
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20051223/2b2e8412/attachment.txt>


More information about the Libc-hacker mailing list