From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RDNS_DYNAMIC,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 16B511F5AE for ; Sun, 2 May 2021 20:46:27 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2551C3894C0C; Sun, 2 May 2021 20:46:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2551C3894C0C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619988386; bh=TEZ3H51iCpBWSYDXsHTvS0Ee7K6IX9kuXjf5HeEYY7k=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=MKB/bKiItiigbWRpu99XlVb7aUgpJr/ikTnFsGlZCepAaFab4N2VM61jH7tUELB8a B6KbhsUUe838uwfdf+kUdNMa11D7exXoeG54LUmfQspCrLUQYCOUSWn6RKHNx9c4zR Oj6VyHBDYr6dZM5eEIAckzr5fdMdm25bvkIPwi9E= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id E0A1B3894C0C for ; Sun, 2 May 2021 20:46:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E0A1B3894C0C Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-587-uF6Pa3jEPs6idvRmB9-Evg-1; Sun, 02 May 2021 16:46:04 -0400 X-MC-Unique: uF6Pa3jEPs6idvRmB9-Evg-1 Received: by mail-qk1-f197.google.com with SMTP id s143-20020a3745950000b029028274263008so3706216qka.9 for ; Sun, 02 May 2021 13:46:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=TEZ3H51iCpBWSYDXsHTvS0Ee7K6IX9kuXjf5HeEYY7k=; b=LfAq6VpO7Lk5JmXI18CgxFMORcw81lGnLcR6KpELhBk+HdRX+gZOzem2zYsHpHVoes 3O1IVqAalhjJrBXs+J7A7ONG1kZxN87sF1k6aJKIjJ9ow7epabTNXUwvGoFHmo4EpQWP n7afYUkSNuTJnmxRk14OrxqcuSk7DinII5o1vaK/HdBrod9IUM7MMuKBVaz6EE5ruEzC 3sGBgwuvhiweQOANudOwNWtWDI0hYKjbXU/0tC57AZM9uf2BS9zutJMYp+TUYgP1asIE xMelWpuSP85PGkuMDfaV9pwNr+ppmsMScMBNCE+r8g3YK1ikwud6xLrdX0is0QkEtnUI pRfA== X-Gm-Message-State: AOAM531/EigS0bLVlCtoz39zM1pNokvgJ7PfPfyC2BRpz/ih99MRvq1/ aCqUPv9JwNCzVsIOjfqCTjhmBdYowoCGXO46cYknOfKqfeq1+3w5q5YS/ulLJKTFIgrK5qO5p0E Gs64y3H3PvGOetM6pMSpKSDr+VwY1L6fKRIgtDi49CqvrHnOIJed6lybXn5zeJKsPvioUwg== X-Received: by 2002:a0c:e412:: with SMTP id o18mr16673473qvl.33.1619988363704; Sun, 02 May 2021 13:46:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+XS/OKzsMG9nk945KfbKmvTgT2wjvrdOvTiAIFby4fOPi24v5Vv/HZSVJRLaOODN2yvYsLw== X-Received: by 2002:a0c:e412:: with SMTP id o18mr16673459qvl.33.1619988363469; Sun, 02 May 2021 13:46:03 -0700 (PDT) Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id e12sm7356297qtj.81.2021.05.02.13.46.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 May 2021 13:46:02 -0700 (PDT) Subject: Re: [PATCH 00/19] nptl: Move most C11 symbols into libc To: Florian Weimer , libc-alpha@sourceware.org References: Organization: Red Hat Message-ID: <8b777a17-6e50-50c6-b17b-c0fdca959867@redhat.com> Date: Sun, 2 May 2021 16:46:01 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Carlos O'Donell via Libc-alpha Reply-To: Carlos O'Donell Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On 4/26/21 12:59 PM, Florian Weimer via Libc-alpha wrote: > thrd_create, thrd_detach, thrd_join cannot be moved yet because the > corresponding POSIX functions have not been moved. > > I removed GLIBC_PRIVATE and GLIBC_2.34 symbol versions along the way, as > appropriate. > > The first commit enables symbol moves to shared code that should not yet > impact Hurd. It could perhaps be reviewed seprately because further > work depends on it (which will not conflict with this series on a > textual level). > > Tested on i686-linux-gnu, x86_64-linux-gnu. Built using > build-many-glibcs.py. Overall tested and reviewed on x86_64 and i686. LGTM. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell > Thanks, > Florian > > Florian Weimer (19): > Add pthread-in-libc, libpthread-routines-var, librt-routines-var > nptl: Move call_once into libc > nptl: Move cnd_broadcast into libc > nptl: Move cnd_destroy into libc > nptl: Move cnd_init into libc > nptl: Move cnd_signal into libc > nptl: Move cnd_timedwait into libc > nptl: Move cnd_wait into libc > nptl: Move mtx_destroy into libc > nptl: Move mtx_init into libc > nptl: Move mtx_lock into libc > nptl: Move mtx_timedlock into libc > nptl: Move mtx_trylock into libc > nptl: Move mtx_unlock into libc > nptl: Move thrd_exit into libc > nptl: Move tss_create into libc > nptl: Move tss_delete into libc > nptl: Move tss_get into libc > nptl: Move tss_set into libc > > Makeconfig | 11 +++ > config.h.in | 3 + > config.make.in | 1 + > configure | 8 +++ > configure.ac | 6 ++ > nptl/Versions | 70 ++++++++++--------- > nptl/pthreadP.h | 3 + > nptl/pthread_cond_broadcast.c | 5 +- > nptl/pthread_cond_signal.c | 5 +- > nptl/pthread_cond_wait.c | 12 ++-- > nptl/pthread_getspecific.c | 7 +- > nptl/pthread_key_delete.c | 6 +- > nptl/pthread_mutex_destroy.c | 7 +- > nptl/pthread_mutex_init.c | 8 ++- > nptl/pthread_mutex_timedlock.c | 8 ++- > nptl/pthread_mutex_trylock.c | 8 ++- > nptl/pthread_mutexattr_init.c | 6 +- > nptl/pthread_mutexattr_settype.c | 6 +- > nptl/pthread_once.c | 4 +- > nptl/pthread_setspecific.c | 9 ++- > rt/Makefile | 2 + > sysdeps/mach/hurd/configure | 3 + > sysdeps/mach/hurd/configure.ac | 3 + > sysdeps/nptl/libc-lockP.h | 18 +++-- > sysdeps/pthread/Makefile | 28 ++++++-- > sysdeps/pthread/call_once.c | 11 ++- > sysdeps/pthread/cnd_broadcast.c | 11 ++- > sysdeps/pthread/cnd_destroy.c | 11 ++- > sysdeps/pthread/cnd_init.c | 11 ++- > sysdeps/pthread/cnd_signal.c | 11 ++- > sysdeps/pthread/cnd_wait.c | 11 ++- > sysdeps/pthread/mtx_destroy.c | 11 ++- > sysdeps/pthread/mtx_init.c | 11 ++- > sysdeps/pthread/mtx_lock.c | 11 ++- > sysdeps/pthread/mtx_trylock.c | 11 ++- > sysdeps/pthread/mtx_unlock.c | 11 ++- > sysdeps/pthread/thrd_exit.c | 11 ++- > sysdeps/pthread/tss_create.c | 11 ++- > sysdeps/pthread/tss_delete.c | 11 ++- > sysdeps/pthread/tss_get.c | 11 ++- > sysdeps/pthread/tss_set.c | 11 ++- > sysdeps/unix/sysv/linux/aarch64/libc.abilist | 44 +++++++++--- > .../sysv/linux/aarch64/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/alpha/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/alpha/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/arc/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/arc/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/arm/be/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/arm/be/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/arm/le/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/arm/le/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/cnd_timedwait.c | 21 ++++-- > sysdeps/unix/sysv/linux/csky/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/csky/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/hppa/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/hppa/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/i386/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/i386/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/ia64/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/ia64/libpthread.abilist | 18 ----- > .../sysv/linux/m68k/coldfire/libc.abilist | 44 +++++++++--- > .../linux/m68k/coldfire/libpthread.abilist | 18 ----- > .../unix/sysv/linux/m68k/m680x0/libc.abilist | 44 +++++++++--- > .../sysv/linux/m68k/m680x0/libpthread.abilist | 18 ----- > .../sysv/linux/microblaze/be/libc.abilist | 44 +++++++++--- > .../linux/microblaze/be/libpthread.abilist | 18 ----- > .../sysv/linux/microblaze/le/libc.abilist | 44 +++++++++--- > .../linux/microblaze/le/libpthread.abilist | 18 ----- > .../sysv/linux/mips/mips32/fpu/libc.abilist | 44 +++++++++--- > .../sysv/linux/mips/mips32/libpthread.abilist | 18 ----- > .../sysv/linux/mips/mips32/nofpu/libc.abilist | 44 +++++++++--- > .../sysv/linux/mips/mips64/libpthread.abilist | 18 ----- > .../sysv/linux/mips/mips64/n32/libc.abilist | 44 +++++++++--- > .../sysv/linux/mips/mips64/n64/libc.abilist | 44 +++++++++--- > sysdeps/unix/sysv/linux/mtx_timedlock.c | 21 ++++-- > sysdeps/unix/sysv/linux/nios2/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/nios2/libpthread.abilist | 18 ----- > .../linux/powerpc/powerpc32/fpu/libc.abilist | 44 +++++++++--- > .../powerpc/powerpc32/libpthread.abilist | 18 ----- > .../powerpc/powerpc32/nofpu/libc.abilist | 44 +++++++++--- > .../linux/powerpc/powerpc64/be/libc.abilist | 44 +++++++++--- > .../powerpc/powerpc64/be/libpthread.abilist | 18 ----- > .../linux/powerpc/powerpc64/le/libc.abilist | 44 +++++++++--- > .../powerpc/powerpc64/le/libpthread.abilist | 18 ----- > .../unix/sysv/linux/riscv/rv32/libc.abilist | 44 +++++++++--- > .../sysv/linux/riscv/rv32/libpthread.abilist | 18 ----- > .../unix/sysv/linux/riscv/rv64/libc.abilist | 44 +++++++++--- > .../sysv/linux/riscv/rv64/libpthread.abilist | 18 ----- > .../unix/sysv/linux/s390/s390-32/libc.abilist | 44 +++++++++--- > .../linux/s390/s390-32/libpthread.abilist | 18 ----- > .../unix/sysv/linux/s390/s390-64/libc.abilist | 44 +++++++++--- > .../linux/s390/s390-64/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/sh/be/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/sh/be/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/sh/le/libc.abilist | 44 +++++++++--- > .../unix/sysv/linux/sh/le/libpthread.abilist | 18 ----- > .../sysv/linux/sparc/sparc32/libc.abilist | 44 +++++++++--- > .../linux/sparc/sparc32/libpthread.abilist | 18 ----- > .../sysv/linux/sparc/sparc64/libc.abilist | 44 +++++++++--- > .../linux/sparc/sparc64/libpthread.abilist | 18 ----- > sysdeps/unix/sysv/linux/thrd_priv.h | 4 +- > .../unix/sysv/linux/x86_64/64/libc.abilist | 44 +++++++++--- > .../sysv/linux/x86_64/64/libpthread.abilist | 18 ----- > .../unix/sysv/linux/x86_64/x32/libc.abilist | 44 +++++++++--- > .../sysv/linux/x86_64/x32/libpthread.abilist | 18 ----- > 105 files changed, 1500 insertions(+), 899 deletions(-) > -- Cheers, Carlos.