[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building GNU gettext on AIX
From: |
Bruno Haible |
Subject: |
Re: building GNU gettext on AIX |
Date: |
Thu, 16 Nov 2023 19:59:51 +0100 |
Arsen Arsenović wrote:
> > * If yes, then the question is how distributors will in general package
> > libintl on AIX. If it's installed in public locations (such as in
> > /opt/freeware/{lib,lib64}/libintl.a on gcc119.fsffrance.org), then we
> > have a problem: It may cause undefined behaviour in multithreaded
> > packages that use GNU libintl.
> > If you can guarantee that it will be installed in GCC-private
> > directories
> > (and outside the path where GCC looks for libraries to link with!) then
> > it would be OK to install such a non-thread-safe libintl.
> > But if you cannot guarantee that, we are in trouble.
>
> The in-tree configuration already passes --disable-shared, so I imagine
> passing --disable-threads would be OK too, for the case that it is
> utilized. (relevant for the latter case: GCC-private build of libintl)
Yeah, but this affects only those people who use the in-tree build of
the libraries.
The problem for distributors remains the same: They have a strong tendency
of building libraries indepently, with --enable-shared (so that they can
easily apply fixes without rebuilding the world). These distributors on AIX
would notice that the GCC configuration attempts to link with "-lintl"
but not with "-lintl -pthread" and thus the configuration detects that NLS
is not usable.
Arsen: Where in the GCC tree is this part of the GCC configuration? Is it
in some configure.ac owned by GCC, or does it come from gettext.m4 ?
Bruno
- Re: building GNU gettext on AIX, (continued)
- Re: building GNU gettext on AIX, David Edelsohn, 2023/11/16
- Re: building GNU gettext on AIX, Bruno Haible, 2023/11/16
- Re: building GNU gettext on AIX, David Edelsohn, 2023/11/16
- Re: building GNU gettext on AIX, Richard Biener, 2023/11/16
- Re: building GNU gettext on AIX, David Edelsohn, 2023/11/16
- Re: building GNU gettext on AIX, Bruno Haible, 2023/11/16
- Re: building GNU gettext on AIX, Arsen Arsenović, 2023/11/16
- Re: building GNU gettext on AIX,
Bruno Haible <=
- Re: building GNU gettext on AIX, Arsen Arsenović, 2023/11/16
- Re: building GNU gettext on AIX, Bruno Haible, 2023/11/19