1ifeq ($(subdir),misc) 2sysdep_routines += ioperm 3sysdep_headers += sys/io.h 4endif 5 6ifeq ($(subdir),debug) 7gen-as-const-headers += signal-defines.sym 8endif 9 10ifeq ($(subdir),setjmp) 11gen-as-const-headers += signal-defines.sym 12endif 13 14ifeq ($(subdir),csu) 15ifeq (yes,$(build-shared)) 16sysdep_routines += divdi3 17shared-only-routines += divdi3 18CPPFLAGS-divdi3.c = -Din_divdi3_c 19endif 20endif 21 22ifeq ($(subdir),conform) 23# For bugs 23081, 23082, 23083, 23084, 23085, 23086. 24# (type conformance) 25conformtest-xfail-conds += i386-gnu 26 27# For bug 23088 28# (sched_* visibility) 29test-xfail-POSIX/fcntl.h/conform = yes 30test-xfail-POSIX/signal.h/conform = yes 31test-xfail-POSIX/semaphore.h/conform = yes 32test-xfail-POSIX/regex.h/conform = yes 33test-xfail-POSIX/aio.h/conform = yes 34test-xfail-POSIX/mqueue.h/conform = yes 35test-xfail-POSIX/sys/types.h/conform = yes 36test-xfail-UNIX98/fcntl.h/conform = yes 37test-xfail-UNIX98/netdb.h/conform = yes 38test-xfail-UNIX98/signal.h/conform = yes 39test-xfail-UNIX98/semaphore.h/conform = yes 40test-xfail-UNIX98/regex.h/conform = yes 41test-xfail-UNIX98/aio.h/conform = yes 42test-xfail-UNIX98/ftw.h/conform = yes 43test-xfail-UNIX98/mqueue.h/conform = yes 44test-xfail-UNIX98/netinet/in.h/conform = yes 45test-xfail-UNIX98/sys/wait.h/conform = yes 46test-xfail-UNIX98/sys/sem.h/conform = yes 47test-xfail-UNIX98/sys/uio.h/conform = yes 48test-xfail-UNIX98/sys/socket.h/conform = yes 49test-xfail-UNIX98/sys/types.h/conform = yes 50test-xfail-UNIX98/stdlib.h/conform = yes 51test-xfail-UNIX98/arpa/inet.h/conform = yes 52test-xfail-POSIX2008/fcntl.h/conform = yes 53test-xfail-POSIX2008/netdb.h/conform = yes 54test-xfail-POSIX2008/signal.h/conform = yes 55test-xfail-POSIX2008/semaphore.h/conform = yes 56test-xfail-POSIX2008/regex.h/conform = yes 57test-xfail-POSIX2008/aio.h/conform = yes 58test-xfail-POSIX2008/mqueue.h/conform = yes 59test-xfail-POSIX2008/netinet/in.h/conform = yes 60test-xfail-POSIX2008/sys/wait.h/conform = yes 61test-xfail-POSIX2008/sys/socket.h/conform = yes 62test-xfail-POSIX2008/sys/types.h/conform = yes 63test-xfail-POSIX2008/arpa/inet.h/conform = yes 64test-xfail-XOPEN2K/fcntl.h/conform = yes 65test-xfail-XOPEN2K/netdb.h/conform = yes 66test-xfail-XOPEN2K/signal.h/conform = yes 67test-xfail-XOPEN2K/semaphore.h/conform = yes 68test-xfail-XOPEN2K/regex.h/conform = yes 69test-xfail-XOPEN2K/aio.h/conform = yes 70test-xfail-XOPEN2K/ftw.h/conform = yes 71test-xfail-XOPEN2K/mqueue.h/conform = yes 72test-xfail-XOPEN2K/netinet/in.h/conform = yes 73test-xfail-XOPEN2K/sys/wait.h/conform = yes 74test-xfail-XOPEN2K/sys/sem.h/conform = yes 75test-xfail-XOPEN2K/sys/uio.h/conform = yes 76test-xfail-XOPEN2K/sys/socket.h/conform = yes 77test-xfail-XOPEN2K/sys/types.h/conform = yes 78test-xfail-XOPEN2K/stdlib.h/conform = yes 79test-xfail-XOPEN2K/arpa/inet.h/conform = yes 80test-xfail-XOPEN2K8/fcntl.h/conform = yes 81test-xfail-XOPEN2K8/netdb.h/conform = yes 82test-xfail-XOPEN2K8/signal.h/conform = yes 83test-xfail-XOPEN2K8/semaphore.h/conform = yes 84test-xfail-XOPEN2K8/regex.h/conform = yes 85test-xfail-XOPEN2K8/aio.h/conform = yes 86test-xfail-XOPEN2K8/ftw.h/conform = yes 87test-xfail-XOPEN2K8/mqueue.h/conform = yes 88test-xfail-XOPEN2K8/netinet/in.h/conform = yes 89test-xfail-XOPEN2K8/sys/wait.h/conform = yes 90test-xfail-XOPEN2K8/sys/sem.h/conform = yes 91test-xfail-XOPEN2K8/sys/uio.h/conform = yes 92test-xfail-XOPEN2K8/sys/socket.h/conform = yes 93test-xfail-XOPEN2K8/sys/types.h/conform = yes 94test-xfail-XOPEN2K8/stdlib.h/conform = yes 95test-xfail-XOPEN2K8/arpa/inet.h/conform = yes 96endif 97 98# For bug 23286 99ifeq ($(subdir),hurd) 100test-xfail-check-abi-libhurduser = yes 101endif 102ifeq ($(subdir),mach) 103test-xfail-check-abi-libmachuser = yes 104endif 105 106# For bug 25521 107# (setpshared support) 108ifeq ($(subdir),malloc) 109test-xfail-tst-mallocfork2 = yes 110test-xfail-tst-mallocfork2-mcheck = yes 111test-xfail-tst-mallocfork2-malloc-check = yes 112test-xfail-tst-mallocfork2-malloc-hugetlb1 = yes 113test-xfail-tst-mallocfork2-malloc-hugetlb2 = yes 114endif 115ifeq ($(subdir),htl) 116test-xfail-tst-mutex4 = yes 117test-xfail-tst-cancel16 = yes 118test-xfail-tst-cancelx16 = yes 119test-xfail-tst-cond4 = yes 120test-xfail-tst-cond6 = yes 121test-xfail-tst-cond12 = yes 122test-xfail-tst-cond13 = yes 123test-xfail-tst-cond23 = yes 124test-xfail-tst-rwlock4 = yes 125test-xfail-tst-rwlock12 = yes 126test-xfail-tst-barrier2 = yes 127test-xfail-tst-pututxline-cache = yes 128test-xfail-tst-pututxline-lockfail = yes 129test-xfail-tst-flock2 = yes 130test-xfail-tst-signal1 = yes 131test-xfail-tst-signal2 = yes 132endif 133 134ifeq ($(subdir),htl) 135# For bug 25522 136# (setprotocol support) 137test-xfail-tst-cond24 = yes 138test-xfail-tst-cond25 = yes 139 140# For bug 25563 141# (robust support against dead threads) 142test-xfail-tst-robust1 = yes 143test-xfail-tst-robust2 = yes 144test-xfail-tst-robust3 = yes 145test-xfail-tst-robust4 = yes 146test-xfail-tst-robust5 = yes 147test-xfail-tst-robust6 = yes 148test-xfail-tst-robust7 = yes 149test-xfail-tst-robust9 = yes 150endif 151 152ifeq ($(subdir),elf) 153# We do use nested functions involving creation of trampolines, notably for 154# callbacks whose parameters don't permit to get the context parameters. 155check-execstack-xfail += ld.so libc.so libpthread.so 156# We always create a thread for signals 157test-xfail-tst-single_threaded-pthread-static = yes 158endif 159 160ifeq ($(subdir),stdlib) 161gen-as-const-headers += ucontext_i.sym 162endif 163