mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Add more headers to include/ for conform tests.
Carlos reported failures in conform/ tests in environments where the compiler used could only find headers in glibc's source and build trees, not any previously installed headers <https://sourceware.org/ml/libc-alpha/2014-09/msg00040.html>. This patch adds wrappers for two of the affected headers to include/, which is the normal way to make headers visible when building or testing in directories other than the one containing the header (I suppose these headers weren't needed in any such directories except conform/, or other build or test failures would have resulted). I believe the same issue applies at least to regexp.h and re_comp.h - we don't currently have conform/ expectations for those, but when such expectations are added we'll also need to add header wrappers. Tested for x86_64 (testsuite, and that installed stripped shared libraries are unchanged by the patch). I did *not* test a configuration such as that in which Carlos saw failure. * include/cpio.h: New file. * include/fmtmsg.h: Likewise.
This commit is contained in:
parent
47d51f4f07
commit
a1edbf3cb8
3 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2014-12-11 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* include/cpio.h: New file.
|
||||
* include/fmtmsg.h: Likewise.
|
||||
|
||||
* tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
|
||||
corresponding format argument to size_t.
|
||||
* tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
|
||||
|
|
1
include/cpio.h
Normal file
1
include/cpio.h
Normal file
|
@ -0,0 +1 @@
|
|||
#include <posix/cpio.h>
|
1
include/fmtmsg.h
Normal file
1
include/fmtmsg.h
Normal file
|
@ -0,0 +1 @@
|
|||
#include <stdlib/fmtmsg.h>
|
Loading…
Add table
Reference in a new issue