From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14703 invoked from network); 8 Mar 2022 20:23:27 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 8 Mar 2022 20:23:27 -0000 Received: (qmail 24459 invoked by uid 550); 8 Mar 2022 20:23:25 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 24436 invoked from network); 8 Mar 2022 20:23:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646770992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KQ9fo6pPpO8D8BAq04voyI6lxlAp8fcyD3nQ+N0shso=; b=YvKK/V0Qndr1R7tqUfqux6nSXreaik2yTkSJoYjlG5JRNC2MQh5axMDIfRptrs/McgvZXq Rg6C9g82NgNFIZfXsYKD2KQkMwEH7bdrjYyC1bHNTH5lgIiah54deF2z94dc69qFf2EGyt L+MBMPpjb8iQt76Dx7wNIVdW9Dl+0Qk= X-MC-Unique: 4i8icuObM5-gOn8n4BicIA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=KQ9fo6pPpO8D8BAq04voyI6lxlAp8fcyD3nQ+N0shso=; b=z7t7h1yPkMZC86bHDGJNlmoOZt/cHADTWWlMWahcow6fgLZVUokjk7tSxcHev7kNvQ cUjea1T2N4wd5diAyI49S6HqA5SXdfpD/W1ruFXGt/a4zJSC30fVkrI8CYgUfzGc+176 BRFsMIUkfTl83kRrBx0aARPEuLe2zhurwWXB+z+0KvTRo5m/A5WbmthSPLpTCMO7EfEY 4hwCEWqmb8tsuoo7hbi7YaDJmTdEmY3BV5h71ELyUwDx9qiYekfvZv5r5DqNJAqlsLWz 2cp/AO6KYTOwftpzPQ3V5EREN2A7rSHnQzptQsLuSnpcTO7XsdD0Dkju1Mfsf7bNZlx7 Jd5w== X-Gm-Message-State: AOAM530Djg95JpN0Ic7+TfaWG2Haj3GAlJb39G2dZx7mlkRA/40O8c3K yG6ccBMqePZwkMLJqvfYimxESDoUcH621TF68zj7ruyAKYd71sxibVc62E/l33oXiQo0ybhY6QX BKO7goG9UJMqIejZTGAXYhC6XTWBkMueUiMxGjGSqLXp6oyzzQbAeoS1ylBIZl3h2R6I= X-Received: by 2002:a05:6214:23c5:b0:435:3700:d65 with SMTP id hr5-20020a05621423c500b0043537000d65mr13033125qvb.65.1646770991000; Tue, 08 Mar 2022 12:23:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFcwKs2Mv0zTixxY2I3INnkctEN0LaPwb1I5indydnQQdjj1IX1T3rMZtnu805NS9BHQ0gig== X-Received: by 2002:a05:6214:23c5:b0:435:3700:d65 with SMTP id hr5-20020a05621423c500b0043537000d65mr13033103qvb.65.1646770990619; Tue, 08 Mar 2022 12:23:10 -0800 (PST) Message-ID: <1f8b9719-cef1-bef4-80b8-ca9dfb0fc6fb@redhat.com> Date: Tue, 8 Mar 2022 15:23:08 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: musl@lists.openwall.com, Adhemerval Zanella , Rich Felker Cc: John Scott References: <6e5eb7bdc09780012020ae068fbf0ffd9ab023d1.camel@posteo.net> <20220308130249.GM7074@brightrain.aerifal.cx> <8a56a45e-7477-9a46-f220-f69e37f89e53@linaro.org> <20220308140139.GO7074@brightrain.aerifal.cx> <27313c4e-2af4-b882-7f53-0739196d99c1@linaro.org> From: Carlos O'Donell Organization: Red Hat In-Reply-To: <27313c4e-2af4-b882-7f53-0739196d99c1@linaro.org> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=carlos@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS On 3/8/22 11:32, Adhemerval Zanella wrote: > > > On 08/03/2022 11:01, Rich Felker wrote: >> On Tue, Mar 08, 2022 at 10:52:48AM -0300, Adhemerval Zanella wrote: >>> >>> >>> On 08/03/2022 10:02, Rich Felker wrote: >>>> On Tue, Mar 08, 2022 at 06:50:51AM +0000, John Scott wrote: >>>>> Hi all, >>>>> >>>>> Please CC me on replies. >>>>> >>>>> It seems like musl is missing these confstr parameters which are >>>>> necessary to portably get the build flags for building multithreaded >>>>> programs. >>>> >>>> Yes, we were waiting to add them to pick common numbers that glibc >>>> would also use. Any idea if they've done that yet? If not I'll ping >>>> them again, and if they still don't respond I guess we just pick our >>>> own and let them potentially diverge... >>> >>> Do you have the initial thread on libc-alpha in hand? I think I missed it. >>> In any case I would like to not diverge. >> >> From 2020: >> >> Subject: [RFC][PATCH] * bits/confname.h: Define _CS_POSIX_V7_THREADS_CFLAGS, _CS_POSIX_V7_THREADS_LDFLAGS >> Message-Id: <20201026233303.16034-1-ericonr@disroot.org> > > Thanks, the patch missed some bits but I think the rationale is ok to > include. If Érico can update the patch I will apply it. Agreed, there is no reason not to add them. With libpthread merged into libc (as you noted) this is simpler too. -- Cheers, Carlos.