Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-19 Thread John Baldwin
On 2/19/21 8:14 AM, Warner Losh wrote: FWIW: Mips likely can play the 'not very popular tier 2 card trending towards tier 3' card, at least for 13 since (a) 13.0 isn't out yet and (b) the project doesn't produce mips binaries. It could likely even play it for 12, but that might be a wee bit disru

mips binaries (was: Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.)

2021-02-19 Thread Mark Linimon
On Fri, Feb 19, 2021 at 09:14:07AM -0700, Warner Losh wrote: > FWIW: Mips likely can play the 'not very popular tier 2 card trending > towards tier 3' card, at least for 13 since (a) 13.0 isn't out yet and > (b) the project doesn't produce mips binaries. (Before I go too far, I am presuming the ab

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-19 Thread Konstantin Belousov
On Fri, Feb 19, 2021 at 04:40:03PM +, Brooks Davis wrote: > On Fri, Feb 19, 2021 at 09:14:07AM -0700, Warner Losh wrote: > > On Fri, Feb 19, 2021 at 2:43 AM Konstantin Belousov > > wrote: > > > > > On Thu, Feb 18, 2021 at 07:54:22PM -0600, Brandon Bergren wrote: > > > > > > > > > > > > On Thu

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-19 Thread Brooks Davis
On Fri, Feb 19, 2021 at 09:14:07AM -0700, Warner Losh wrote: > On Fri, Feb 19, 2021 at 2:43 AM Konstantin Belousov > wrote: > > > On Thu, Feb 18, 2021 at 07:54:22PM -0600, Brandon Bergren wrote: > > > > > > > > > On Thu, Feb 18, 2021, at 7:07 PM, Jessica Clarke wrote: > > > > On 19 Feb 2021, at 0

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-19 Thread Warner Losh
On Fri, Feb 19, 2021 at 2:43 AM Konstantin Belousov wrote: > On Thu, Feb 18, 2021 at 07:54:22PM -0600, Brandon Bergren wrote: > > > > > > On Thu, Feb 18, 2021, at 7:07 PM, Jessica Clarke wrote: > > > On 19 Feb 2021, at 00:03, Brandon Bergren wrote: > > > > > > Ok, so the mistake was not deleting

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-19 Thread Konstantin Belousov
On Thu, Feb 18, 2021 at 07:54:22PM -0600, Brandon Bergren wrote: > > > On Thu, Feb 18, 2021, at 7:07 PM, Jessica Clarke wrote: > > On 19 Feb 2021, at 00:03, Brandon Bergren wrote: > > > > Ok, so the mistake was not deleting it 8 years ago and instead leaving > > it around to become part of the

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-18 Thread Brandon Bergren
On Thu, Feb 18, 2021, at 7:07 PM, Jessica Clarke wrote: > On 19 Feb 2021, at 00:03, Brandon Bergren wrote: > > Ok, so the mistake was not deleting it 8 years ago and instead leaving > it around to become part of the ABI. The issue you're referring to > specifically is __getCurrentRuneLocale an

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-18 Thread Jessica Clarke
On 19 Feb 2021, at 00:03, Brandon Bergren wrote: > On Thu, Feb 18, 2021, at 6:00 PM, Jessica Clarke wrote: >> >> But TLS isn't broken for ELFv1? Otherwise jemalloc would die in a fire >> and nothing would ever work. TLS should have been working for ELFv1 for >> many years by this point. >> >> Je

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-18 Thread Brandon Bergren
On Thu, Feb 18, 2021, at 6:00 PM, Jessica Clarke wrote: > > But TLS isn't broken for ELFv1? Otherwise jemalloc would die in a fire > and nothing would ever work. TLS should have been working for ELFv1 for > many years by this point. > > Jess It's not broken, but it's an ABI change to flip it

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-18 Thread Jessica Clarke
On 18 Feb 2021, at 23:57, Brandon Bergren wrote: > On Thu, Feb 18, 2021, at 3:07 PM, Jessica Clarke wrote: >>> But, I wonder, what does CALL_ELF mean? Is it for old 64bit PowerPC ABI, >>> that was abandoned with the switch to ELFv2? >> >> Yes, _CALL_ELF == 2 for ELFv2. I highly doubt the defines

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-18 Thread Brandon Bergren
On Thu, Feb 18, 2021, at 3:07 PM, Jessica Clarke wrote: > > But, I wonder, what does CALL_ELF mean? Is it for old 64bit PowerPC ABI, > > that was abandoned with the switch to ELFv2? > > Yes, _CALL_ELF == 2 for ELFv2. I highly doubt the defines were needed > for the ELFv1 ABI, but they're espec

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-18 Thread Jessica Clarke
On 18 Feb 2021, at 20:52, Konstantin Belousov wrote: > On Wed, Feb 17, 2021 at 04:48:22PM -0800, John Baldwin wrote: >> On 2/17/21 4:35 PM, John Baldwin wrote: >>> The branch main has been updated by jhb: >>> >>> URL: >>> https://cgit.FreeBSD.org/src/commit/?id=24fd63e0970f91189dd2acde987bd2e4c8

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-18 Thread Konstantin Belousov
On Wed, Feb 17, 2021 at 04:48:22PM -0800, John Baldwin wrote: > On 2/17/21 4:35 PM, John Baldwin wrote: > > The branch main has been updated by jhb: > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=24fd63e0970f91189dd2acde987bd2e4c8c04a50 > > > > commit 24fd63e0970f91189dd2acde987bd2e4c8

Re: git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-17 Thread John Baldwin
On 2/17/21 4:35 PM, John Baldwin wrote: The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=24fd63e0970f91189dd2acde987bd2e4c8c04a50 commit 24fd63e0970f91189dd2acde987bd2e4c8c04a50 Author: John Baldwin AuthorDate: 2021-02-18 00:34:23 + Commit: Joh

git: 24fd63e0970f - main - mips: Don't set __NO_TLS to disable some uses of TLS.

2021-02-17 Thread John Baldwin
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=24fd63e0970f91189dd2acde987bd2e4c8c04a50 commit 24fd63e0970f91189dd2acde987bd2e4c8c04a50 Author: John Baldwin AuthorDate: 2021-02-18 00:34:23 + Commit: John Baldwin CommitDate: 2021-02-18 00:34:23