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.3 required=5.0 tests=MAILING_LIST_MULTI, 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 21757 invoked from network); 8 Mar 2022 21:22:46 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 8 Mar 2022 21:22:46 -0000 Received: (qmail 24211 invoked by uid 550); 8 Mar 2022 21:22:44 -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 24191 invoked from network); 8 Mar 2022 21:22:43 -0000 Date: Tue, 8 Mar 2022 16:22:27 -0500 From: Rich Felker To: Carlos O'Donell Cc: musl@lists.openwall.com, Adhemerval Zanella , John Scott Message-ID: <20220308212226.GP7074@brightrain.aerifal.cx> 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> <1f8b9719-cef1-bef4-80b8-ca9dfb0fc6fb@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1f8b9719-cef1-bef4-80b8-ca9dfb0fc6fb@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS On Tue, Mar 08, 2022 at 03:23:08PM -0500, Carlos O'Donell wrote: > 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. OK. As long as glibc is on board with adding these now, can someone confirm what the numbers will be so I can go ahead and add them on the musl side? Rich