Checking patch csu/init-first.c... Checking patch csu/libc-start.c... Checking patch include/unistd.h... Checking patch posix/environ.c... Checking patch stdlib/Makefile... error: while searching for: tst-setcontext9 \ tst-setcontext10 \ tst-setcontext11 \ tst-stdbit-Wconversion \ tst-stdbit-builtins \ tst-stdc_bit_ceil \ error: patch failed: stdlib/Makefile:316 error: stdlib/Makefile: patch does not apply Checking patch stdlib/setenv.c... error: while searching for: ep[1] = NULL; else { /* We cannot use __environ as is and need to copy over the __environ contents into an array managed via __environ_array_list. */ struct environ_array *target_array; if (__environ_array_list != NULL && required_size <= __environ_array_list->allocated) /* Existing array has enough room. Contents is copied below. */ target_array = __environ_array_list; else { /* Allocate a new array. */ target_array = __environ_new_array (required_size); if (target_array == NULL) { UNLOCK; return -1; } } /* Copy over the __environ array contents. This forward copy slides backwards part of the array if __environ points into target_array->array. This happens if an application makes an assignment like: environ = &environ[1]; The forward copy avoids clobbering values that still needing copying. This code handles the case start_environ == ep == NULL, too. */ size_t i; for (i = 0; start_environ + i < ep; ++i) /* Regular store because unless there has been direct manipulation of the environment, target_array is still a private copy. */ target_array->array[i] = atomic_load_relaxed (start_environ + i); /* This is the new place where we should add the element. */ ep = target_array->array + i; /* Add the null terminator in case there was a pointer there previously. */ ep[1] = NULL; /* And __environ should be repointed to our array. */ result_environ = &target_array->array[0]; } } error: patch failed: stdlib/setenv.c:191 error: stdlib/setenv.c: patch does not apply Checking patch stdlib/tst-setenv-malloc.c...