This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/4] Miscellaneous 'safe' testsuite changes.
* Zack Weinberg:
> wordexp-test.c is currently not even using the old test skeleton, and
> does some fairly hairy things with fork handlers. I would prefer not to
> go down a rabbit hole. Instead I propose to do something similar to
> what I did for the DIAG_* macros: introduce a new header in include/
> called libc-pointer-arith.h; move cast_to_integer, ALIGN_UP, ALIGN_DOWN,
> PTR_ALIGN_UP, and PTR_ALIGN_DOWN there; have libc-internal.h include it;
> have wordexp-test.c include it instead of libc-internal.h; and call that
> good enough for now. OK?
If we move into that direction, can we also replace #include
<libc-internal.h> in sysdeps/x86_64/nptl/tls.h?
I think this is one major cause why things compile on x86-64, but not
other architectures.