public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
@ 2022-11-23 14:40 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-11-23 14:40 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ad946943cede829e0af07b5e2dd39edbedceebba
commit ad946943cede829e0af07b5e2dd39edbedceebba
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Mar 18 10:14:58 2022 +0000
static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
nl_langinfo_l ignores its locale argument with NL_CURRENT_INDIRECT
which is wrong when that argument does not match the current thread's
locale.
upstream glibc is not tested with static linking so this is not found.
Diff:
---
locale/localeinfo.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index fd43033a19..addb9e0ca6 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -247,8 +247,8 @@ __libc_tsd_define (extern, locale_t, LOCALE)
But with thread-local locale settings, it becomes quite ungainly unless
we can use __thread variables. So only in that case do we attempt this. */
#ifndef SHARED
-# include <tls.h>
-# define NL_CURRENT_INDIRECT 1
+//# include <tls.h>
+//# define NL_CURRENT_INDIRECT 1
#endif
#ifdef NL_CURRENT_INDIRECT
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
@ 2022-10-27 13:50 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-27 13:50 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1604aadbdf88b72dd69183f69fa022f3d90ac20b
commit 1604aadbdf88b72dd69183f69fa022f3d90ac20b
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Mar 18 10:14:58 2022 +0000
static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
nl_langinfo_l ignores its locale argument with NL_CURRENT_INDIRECT
which is wrong when that argument does not match the current thread's
locale.
upstream glibc is not tested with static linking so this is not found.
Diff:
---
locale/localeinfo.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index fd43033a19..addb9e0ca6 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -247,8 +247,8 @@ __libc_tsd_define (extern, locale_t, LOCALE)
But with thread-local locale settings, it becomes quite ungainly unless
we can use __thread variables. So only in that case do we attempt this. */
#ifndef SHARED
-# include <tls.h>
-# define NL_CURRENT_INDIRECT 1
+//# include <tls.h>
+//# define NL_CURRENT_INDIRECT 1
#endif
#ifdef NL_CURRENT_INDIRECT
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
@ 2022-10-26 15:11 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-26 15:11 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7c0608e350069c6d23a97742977e2b9e267ebf73
commit 7c0608e350069c6d23a97742977e2b9e267ebf73
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Mar 18 10:14:58 2022 +0000
static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
nl_langinfo_l ignores its locale argument with NL_CURRENT_INDIRECT
which is wrong when that argument does not match the current thread's
locale.
upstream glibc is not tested with static linking so this is not found.
Diff:
---
locale/localeinfo.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index fd43033a19..addb9e0ca6 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -247,8 +247,8 @@ __libc_tsd_define (extern, locale_t, LOCALE)
But with thread-local locale settings, it becomes quite ungainly unless
we can use __thread variables. So only in that case do we attempt this. */
#ifndef SHARED
-# include <tls.h>
-# define NL_CURRENT_INDIRECT 1
+//# include <tls.h>
+//# define NL_CURRENT_INDIRECT 1
#endif
#ifdef NL_CURRENT_INDIRECT
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
@ 2022-10-12 14:16 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-12 14:16 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c3d2d246c533630dbe24aa0d80726b541160e3cb
commit c3d2d246c533630dbe24aa0d80726b541160e3cb
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Mar 18 10:14:58 2022 +0000
static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
nl_langinfo_l ignores its locale argument with NL_CURRENT_INDIRECT
which is wrong when that argument does not match the current thread's
locale.
upstream glibc is not tested with static linking so this is not found.
Diff:
---
locale/localeinfo.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index fd43033a19..addb9e0ca6 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -247,8 +247,8 @@ __libc_tsd_define (extern, locale_t, LOCALE)
But with thread-local locale settings, it becomes quite ungainly unless
we can use __thread variables. So only in that case do we attempt this. */
#ifndef SHARED
-# include <tls.h>
-# define NL_CURRENT_INDIRECT 1
+//# include <tls.h>
+//# define NL_CURRENT_INDIRECT 1
#endif
#ifdef NL_CURRENT_INDIRECT
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-23 14:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23 14:40 [glibc/arm/morello/main] static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it Szabolcs Nagy
-- strict thread matches above, loose matches on Subject: below --
2022-10-27 13:50 Szabolcs Nagy
2022-10-26 15:11 Szabolcs Nagy
2022-10-12 14:16 Szabolcs Nagy
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 read-only IMAP folder(s) and NNTP newsgroup(s).