[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT/MUSL PATCH 07/19] Update Makefiles to exclude functions that use __pthread_self()
wip: This commit leaves out all internal functions that use __pthread_self() in order to avoid compilation errors. Indeed, musl and pthread-embedded use two different representations/structures of pthread. It is necessary to re-write these functions by considering pthread-embedded declarations. In this commit, musl COMPILES but does NOT link. Signed-off-by: Gaulthier Gain <gaulthier.gain@xxxxxxxxx> --- Makefile.uk | 6 +- Makefile.uk.musl.env | 6 +- Makefile.uk.musl.ldso | 4 +- Makefile.uk.musl.locale | 2 +- Makefile.uk.musl.misc | 18 ++-- Makefile.uk.musl.process | 48 +++++----- Makefile.uk.musl.stdio | 2 +- Makefile.uk.musl.thread | 245 +++++++++++++++++++++++------------------------ Makefile.uk.musl.time | 10 +- 9 files changed, 168 insertions(+), 173 deletions(-) diff --git a/Makefile.uk b/Makefile.uk index 4f8480a..b54d414 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -126,7 +126,7 @@ LIBMUSL_CXXFLAGS-y += $(SUPPRESS_FLAGS) # OS dependencies code - Glue between Unicore and musl ################################################################################ LIBMUSL_SRCS-y += $(LIBMUSL_BASE)/mem.c -LIBMUSL_SRCS-y += $(LIBMUSL_BASE)/syscall.c +#LIBMUSL_SRCS-y += $(LIBMUSL_BASE)/syscall.c ################################################################################ # musl code -- one external Makefile per sub-lib @@ -143,7 +143,7 @@ include $(LIBMUSL_BASE)/Makefile.uk.musl.fcntl include $(LIBMUSL_BASE)/Makefile.uk.musl.stdio include $(LIBMUSL_BASE)/Makefile.uk.musl.conf include $(LIBMUSL_BASE)/Makefile.uk.musl.math -include $(LIBMUSL_BASE)/Makefile.uk.musl.aio +#include $(LIBMUSL_BASE)/Makefile.uk.musl.aio include $(LIBMUSL_BASE)/Makefile.uk.musl.stat include $(LIBMUSL_BASE)/Makefile.uk.musl.search include $(LIBMUSL_BASE)/Makefile.uk.musl.crypt @@ -165,7 +165,7 @@ include $(LIBMUSL_BASE)/Makefile.uk.musl.ctype include $(LIBMUSL_BASE)/Makefile.uk.musl.linux include $(LIBMUSL_BASE)/Makefile.uk.musl.internal include $(LIBMUSL_BASE)/Makefile.uk.musl.network -include $(LIBMUSL_BASE)/Makefile.uk.musl.sched +#include $(LIBMUSL_BASE)/Makefile.uk.musl.sched include $(LIBMUSL_BASE)/Makefile.uk.musl.string include $(LIBMUSL_BASE)/Makefile.uk.musl.regex include $(LIBMUSL_BASE)/Makefile.uk.musl.termios diff --git a/Makefile.uk.musl.env b/Makefile.uk.musl.env index b724725..c3e215a 100644 --- a/Makefile.uk.musl.env +++ b/Makefile.uk.musl.env @@ -1,7 +1,7 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/__environ.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/__init_tls.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/__libc_start_main.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/__reset_tls.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/__init_tls.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/__libc_start_main.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/__reset_tls.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/__stack_chk_fail.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/clearenv.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/env/getenv.c diff --git a/Makefile.uk.musl.ldso b/Makefile.uk.musl.ldso index a689004..43e9c7d 100644 --- a/Makefile.uk.musl.ldso +++ b/Makefile.uk.musl.ldso @@ -2,7 +2,7 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/__dlsym.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/dl_iterate_phdr.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/dladdr.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/dlclose.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/dlerror.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/dlerror.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/dlinfo.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/dlopen.c @@ -32,4 +32,4 @@ endif #LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/powerpc64/dlsym.s #LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/s390x/dlsym.s #LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/sh/dlsym.s -#LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/x32/dlsym.s \ No newline at end of file +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/ldso/x32/dlsym.s diff --git a/Makefile.uk.musl.locale b/Makefile.uk.musl.locale index fd060d8..c37c9ad 100644 --- a/Makefile.uk.musl.locale +++ b/Makefile.uk.musl.locale @@ -20,6 +20,6 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/locale/strcoll.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/locale/strfmon.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/locale/strxfrm.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/locale/textdomain.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/locale/uselocale.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/locale/uselocale.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/locale/wcscoll.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/locale/wcsxfrm.c diff --git a/Makefile.uk.musl.misc b/Makefile.uk.musl.misc index 225703c..8981c1e 100644 --- a/Makefile.uk.musl.misc +++ b/Makefile.uk.musl.misc @@ -5,7 +5,7 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/ffs.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/ffsl.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/ffsll.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/fmtmsg.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/forkpty.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/forkpty.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/get_current_dir_name.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getauxval.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getdomainname.c @@ -13,26 +13,26 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/gethostid.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getopt.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getopt_long.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getpriority.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getresgid.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getresuid.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getresgid.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getresuid.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getrlimit.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getrusage.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/getsubopt.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/initgroups.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/ioctl.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/issetugid.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/lockf.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/initgroups.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/ioctl.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/issetugid.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/lockf.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/login_tty.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/mntent.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/nftw.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/openpty.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/ptsname.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/pty.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/realpath.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/realpath.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/setdomainname.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/setpriority.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/setrlimit.c #LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/syscall.c|misc LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/syslog.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/uname.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/wordexp.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/misc/wordexp.c diff --git a/Makefile.uk.musl.process b/Makefile.uk.musl.process index ff29fd4..1c1effc 100644 --- a/Makefile.uk.musl.process +++ b/Makefile.uk.musl.process @@ -1,32 +1,32 @@ -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execl.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execle.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execlp.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execv.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execve.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execvp.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/fexecve.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/fork.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawn.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execl.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execle.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execlp.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execv.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execve.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/execvp.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/fexecve.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/fork.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawn.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawn_file_actions_addclose.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawn_file_actions_adddup2.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawn_file_actions_addopen.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawn_file_actions_destroy.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawn_file_actions_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_getflags.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_getpgroup.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_getsigdefault.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_getsigmask.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_sched.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_setflags.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_setpgroup.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_setsigdefault.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_setsigmask.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnp.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/system.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/wait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/waitid.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_getflags.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_getpgroup.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_getsigdefault.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_getsigmask.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_sched.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_setflags.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_setpgroup.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_setsigdefault.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnattr_setsigmask.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/posix_spawnp.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/system.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/wait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/waitid.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/process/waitpid.c ifeq (x86_32,$(CONFIG_UK_ARCH)) diff --git a/Makefile.uk.musl.stdio b/Makefile.uk.musl.stdio index 149aa91..8b3840a 100644 --- a/Makefile.uk.musl.stdio +++ b/Makefile.uk.musl.stdio @@ -45,7 +45,7 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/fscanf.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/fseek.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/fsetpos.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/ftell.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/ftrylockfile.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/ftrylockfile.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/funlockfile.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/fwide.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/stdio/fwprintf.c diff --git a/Makefile.uk.musl.thread b/Makefile.uk.musl.thread index f5e567a..8ba031d 100644 --- a/Makefile.uk.musl.thread +++ b/Makefile.uk.musl.thread @@ -1,141 +1,137 @@ -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__futex.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__futex.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__lock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__syscall_cp.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__timedwait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__tls_get_addr.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__timedwait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__tls_get_addr.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__wait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/call_once.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_broadcast.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_signal.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_timedwait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_wait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/lock_ptc.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_lock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_timedlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_trylock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_unlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_atfork.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_get.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setdetachstate.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setguardsize.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setinheritsched.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setschedparam.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setschedpolicy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setscope.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setstack.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setstacksize.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrier_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrier_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrier_wait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrierattr_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrierattr_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrierattr_setpshared.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cancel.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cleanup_push.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_broadcast.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_signal.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_timedwait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_wait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_condattr_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_condattr_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_condattr_setclock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_condattr_setpshared.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_create.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_detach.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_equal.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getattr_np.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getconcurrency.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getcpuclockid.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getschedparam.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getspecific.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_join.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_key_create.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_kill.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_consistent.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_getprioceiling.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_lock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_setprioceiling.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_timedlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_trylock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_unlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_setprotocol.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_setpshared.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_setrobust.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_settype.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_once.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_rdlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_timedrdlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_timedwrlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_tryrdlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_trywrlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_unlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_wrlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlockattr_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlockattr_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlockattr_setpshared.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_self.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setattr_default_np.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setcancelstate.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setcanceltype.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setconcurrency.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setname_np.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setschedparam.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setschedprio.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setspecific.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/call_once.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_broadcast.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_signal.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_timedwait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/cnd_wait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/lock_ptc.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_lock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_timedlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_trylock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/mtx_unlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_atfork.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_get.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setdetachstate.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setguardsize.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setinheritsched.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setschedparam.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setschedpolicy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setscope.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setstack.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_attr_setstacksize.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrier_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrier_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrier_wait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrierattr_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrierattr_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_barrierattr_setpshared.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cancel.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cleanup_push.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_broadcast.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_signal.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_timedwait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_cond_wait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_condattr_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_condattr_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_condattr_setclock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_condattr_setpshared.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_create.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_detach.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_equal.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getattr_np.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getconcurrency.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getcpuclockid.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getschedparam.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_getspecific.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_join.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_key_create.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_kill.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_consistent.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_getprioceiling.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_lock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_setprioceiling.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_timedlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_trylock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutex_unlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_setprotocol.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_setpshared.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_setrobust.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_mutexattr_settype.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_once.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_rdlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_timedrdlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_timedwrlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_tryrdlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_trywrlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_unlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlock_wrlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlockattr_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlockattr_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_rwlockattr_setpshared.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_self.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setattr_default_np.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setcancelstate.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setcanceltype.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setconcurrency.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setname_np.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setschedparam.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setschedprio.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_setspecific.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_sigmask.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_lock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_trylock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_unlock.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_testcancel.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_destroy.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_getvalue.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_init.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_open.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_post.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_timedwait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_trywait.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_unlink.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_wait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_lock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_trylock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_spin_unlock.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/pthread_testcancel.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_destroy.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_getvalue.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_init.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_open.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_post.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_timedwait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_trywait.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_unlink.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/sem_wait.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/synccall.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/syscall_cp.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_create.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_exit.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_join.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_sleep.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_yield.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/tls.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/tss_create.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/tss_delete.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/tss_set.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/vmlock.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_create.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_exit.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_join.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_sleep.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/thrd_yield.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/tls.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/tss_create.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/tss_delete.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/tss_set.c +# LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/vmlock.c ifeq (x86_32,$(CONFIG_UK_ARCH)) LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/i386/__set_thread_area.s|i386 LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/i386/__unmapself.s|i386 LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/i386/clone.s|i386 -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/i386/syscall_cp.s|i386 LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/i386/tls.s|i386 else ifeq (x86_64,$(CONFIG_UK_ARCH)) LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/x86_64/__set_thread_area.s|x86_64 LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/x86_64/__unmapself.s|x86_64 LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/x86_64/clone.s|x86_64 -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/x86_64/syscall_cp.s|x86_64 else ifeq (arm,$(CONFIG_UK_ARCH)) LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/arm/__aeabi_read_tp.s|arm LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/arm/__aeabi_read_tp_c.c|arm @@ -143,7 +139,6 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/arm/__set_thread_area.c|arm LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/arm/__unmapself.s|arm LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/arm/atomics.s|arm LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/arm/clone.s|arm -LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/arm/syscall_cp.s|arm else LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__set_thread_area.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/thread/__unmapself.c diff --git a/Makefile.uk.musl.time b/Makefile.uk.musl.time index a8869cc..c726370 100644 --- a/Makefile.uk.musl.time +++ b/Makefile.uk.musl.time @@ -29,11 +29,11 @@ LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/strftime.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/strptime.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/time.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timegm.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_create.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_delete.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_getoverrun.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_gettime.c -LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_settime.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_create.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_delete.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_getoverrun.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_gettime.c +#LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timer_settime.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/times.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/timespec_get.c LIBMUSL_SRCS-y += $(LIBMUSL)/src/time/utime.c -- 2.11.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |