mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS
@ 2022-03-08  6:50 John Scott
  2022-03-08 13:02 ` Rich Felker
  0 siblings, 1 reply; 8+ messages in thread
From: John Scott @ 2022-03-08  6:50 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS
  2022-03-08  6:50 [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS John Scott
@ 2022-03-08 13:02 ` Rich Felker
  2022-03-08 13:52   ` Adhemerval Zanella
  0 siblings, 1 reply; 8+ messages in thread
From: Rich Felker @ 2022-03-08 13:02 UTC (permalink / raw)
  To: John Scott; +Cc: musl

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...

Rich

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS
  2022-03-08 13:02 ` Rich Felker
@ 2022-03-08 13:52   ` Adhemerval Zanella
  2022-03-08 14:01     ` Rich Felker
  0 siblings, 1 reply; 8+ messages in thread
From: Adhemerval Zanella @ 2022-03-08 13:52 UTC (permalink / raw)
  To: musl, Rich Felker, John Scott



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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS
  2022-03-08 13:52   ` Adhemerval Zanella
@ 2022-03-08 14:01     ` Rich Felker
  2022-03-08 16:32       ` Adhemerval Zanella
  0 siblings, 1 reply; 8+ messages in thread
From: Rich Felker @ 2022-03-08 14:01 UTC (permalink / raw)
  To: Adhemerval Zanella; +Cc: musl, John Scott

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>

I thought there was a bugzilla item for it too but I can't find it.

Rich

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS
  2022-03-08 14:01     ` Rich Felker
@ 2022-03-08 16:32       ` Adhemerval Zanella
  2022-03-08 20:23         ` Carlos O'Donell
  0 siblings, 1 reply; 8+ messages in thread
From: Adhemerval Zanella @ 2022-03-08 16:32 UTC (permalink / raw)
  To: Rich Felker; +Cc: musl, John Scott



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.

> 
> I thought there was a bugzilla item for it too but I can't find it.

It is BZ#25003 [1].

https://sourceware.org/bugzilla/show_bug.cgi?id=25003

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS
  2022-03-08 16:32       ` Adhemerval Zanella
@ 2022-03-08 20:23         ` Carlos O'Donell
  2022-03-08 21:22           ` Rich Felker
  0 siblings, 1 reply; 8+ messages in thread
From: Carlos O'Donell @ 2022-03-08 20:23 UTC (permalink / raw)
  To: musl, Adhemerval Zanella, Rich Felker; +Cc: John Scott

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS
  2022-03-08 20:23         ` Carlos O'Donell
@ 2022-03-08 21:22           ` Rich Felker
  2022-03-09  0:15             ` Rich Felker
  0 siblings, 1 reply; 8+ messages in thread
From: Rich Felker @ 2022-03-08 21:22 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: musl, Adhemerval Zanella, John Scott

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS
  2022-03-08 21:22           ` Rich Felker
@ 2022-03-09  0:15             ` Rich Felker
  0 siblings, 0 replies; 8+ messages in thread
From: Rich Felker @ 2022-03-09  0:15 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: musl, Adhemerval Zanella, John Scott

On Tue, Mar 08, 2022 at 04:22:27PM -0500, Rich Felker wrote:
> 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?

Ok, to answer myself, it looks like they would be 1150 and 1151.

Rich

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-09  0:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-08  6:50 [musl] Missing _CS_POSIX_V7_THREADS_CFLAGS and Missing _CS_POSIX_V7_THREADS_LDFLAGS John Scott
2022-03-08 13:02 ` Rich Felker
2022-03-08 13:52   ` Adhemerval Zanella
2022-03-08 14:01     ` Rich Felker
2022-03-08 16:32       ` Adhemerval Zanella
2022-03-08 20:23         ` Carlos O'Donell
2022-03-08 21:22           ` Rich Felker
2022-03-09  0:15             ` Rich Felker

Code repositories for project(s) associated with this inbox:

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).