[PATCH v3 1/2] intl: remove, in favor of out-of-tree gettext

2023-11-02 Thread Arsen Arsenović
ChangeLog: * intl/*: Remove. --- intl/ChangeLog | 306 -- intl/Makefile.in | 264 -- intl/README | 21 - intl/VERSION |1 - intl/aclocal.m4 | 33 - intl/bindtextdom.c | 374 -- intl/config.h.in | 280 -- intl/config.intl.in | 12 -

[PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-02 Thread Arsen Arsenović
-gettext} @item --with-included-gettext OK for trunk? (granted that a regstrap + hand-test for working localization passes - build's ongoing asynchronously) Thanks in advance, have a lovely day. Arsen Arsenović (2): intl: remove, in favor of out-of-tree gettext *: add modern gettext

[PATCH v3 2/2] *: add modern gettext

2023-11-02 Thread Arsen Arsenović
This patch updates gettext.m4 and related .m4 files and adds gettext-runtime as a gmp/mpfr/... style host library, allowing newer libintl to be used. This patch /does not/ add build-time tools required for internationalizing (msgfmt et al), instead, it just updates the runtime library. The

Ping^2: [PATCH v2 0/2] Replace intl/ with out-of-tree GNU gettext

2023-10-26 Thread Arsen Arsenović
Ping^2 It'd be nice to get this patch into 14 (given the intended C strictness changes, especially). Have a lovely evening. -- Arsen Arsenović signature.asc Description: PGP signature

Re: Ping: [PATCH v2 0/2] Replace intl/ with out-of-tree GNU gettext

2023-10-28 Thread Arsen Arsenović
anchor{with-included-gettext} @item --with-included-gettext Only available if @file{gettext} is present in the source tree. Thanks. -- Arsen Arsenović signature.asc Description: PGP signature

Re: Ping: [PATCH v2 0/2] Replace intl/ with out-of-tree GNU gettext

2023-10-28 Thread Arsen Arsenović
Hi Iain, Iain Sandoe writes: > Hi Arsen, > >> On 28 Oct 2023, at 10:22, Arsen Arsenović wrote: > >> Andrew Pinski writes: >> >>> One comment from me. It would be nice to update install.texi in >>> gcc/doc/ to make a mention of this requirement

[PATCH 0/2] Replace intl/ with out-of-tree GNU gettext

2023-09-25 Thread Arsen Arsenović
libc.so.7 (0x258b25acc000) [vdso] (0x7fffe5d0) OK for trunk (if passing review on the binutils and GDB sides)? Thanks in advance, have a lovely day. Arsen Arsenović (2): intl: remove, in favor of out-of-tree gettext *: add modern gettext .gitignore |1 + Mak

Re: [PATCH 0/2] Replace intl/ with out-of-tree GNU gettext

2023-09-25 Thread Arsen Arsenović
Xi Ruoyao writes: > On Mon, 2023-09-25 at 17:00 +0200, Arsen Arsenović wrote: >> Afternoon, >> >> This patch series replaces the old (early 2000s era, AFAICT) libintl >> implementation in-tree, which relies on C constructs some compilers >> (newer clang, ho

Re: [PATCH 0/2] Replace intl/ with out-of-tree GNU gettext

2023-09-29 Thread Arsen Arsenović
Bruno Haible writes: > Arsen Arsenović wrote: >> -+The in-tree configuration requires GNU gettext v0.22. > > Can you change this to "... requires GNU gettext version 0.22 or newer.", > please? > I wouldn't like to give the impression that a particular r

Re: [PATCH v2 2/2] *: add modern gettext

2023-10-06 Thread Arsen Arsenović
h was released > on 2023-09-26. (Older versions of libintl crash on macOS 14, due > to an incompatible change in macOS.) [1] Thanks. I'll update before pushing. -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH] libstdc++ Add cstdarg to freestanding

2023-10-22 Thread Arsen Arsenović
"Paul M. Bendixen" writes: > Updated patch, added the requested files, hopefully wrote the commit better. LGTM. Jonathan? -- Arsen Arsenović signature.asc Description: PGP signature

Ping: [PATCH v2 0/2] Replace intl/ with out-of-tree GNU gettext

2023-10-15 Thread Arsen Arsenović
Evening, Arsen Arsenović writes: > Afternoon, > > This patch is a rebase and rewording of > https://inbox.sourceware.org/20230925150921.894157-1-ar...@aarsen.me/ > > Changes since v1: > - Implement Brunos suggested changes to install.texi. > - Elaborate commit mes

[PATCH v2 1/2] intl: remove, in favor of out-of-tree gettext

2023-10-06 Thread Arsen Arsenović
ChangeLog: * intl: Remove directory. Replaced with out-of-tree GNU gettext. --- Note that the commit message here doesn't pass the changelog verifier. What should I reword it as? mklog suggests: ChangeLog: * intl/ChangeLog: Removed. * intl/Makefile.in: Removed.

[PATCH v2 0/2] Replace intl/ with out-of-tree GNU gettext

2023-10-06 Thread Arsen Arsenović
Afternoon, This patch is a rebase and rewording of https://inbox.sourceware.org/20230925150921.894157-1-ar...@aarsen.me/ Changes since v1: - Implement Brunos suggested changes to install.texi. - Elaborate commit message in p2 (as requested by the Binutils maintainers). Arsen Arsenović (2

[PATCH 1/2] libstdc++: declare std::allocator in !HOSTED as an extension

2023-11-09 Thread Arsen Arsenović
This allows us to add features to freestanding which allow specifying non-default allocators (generators, collections, ...) without having to modify them. libstdc++-v3/ChangeLog: * include/bits/memoryfwd.h: Remove HOSTED check around allocator and its specializations. ---

[PATCH 2/2] libstdc++: mark 20_util/scoped_allocator/noexcept.cc R-E-T hosted

2023-11-09 Thread Arsen Arsenović
libstdc++-v3/ChangeLog: * testsuite/20_util/scoped_allocator/noexcept.cc: Mark as requiring hosted. --- libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc

Re: [PATCH 1/2] libstdc++: declare std::allocator in !HOSTED as an extension

2023-11-09 Thread Arsen Arsenović
Jonathan Wakely writes: > OK Thanks, pushed (tests did pass). Have a lovely night. -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH v2 2/2] libstdc++: implement std::generator

2023-12-26 Thread Arsen Arsenović
Hi Will, Will Hawkins writes: > On Thu, Dec 21, 2023 at 4:26 PM Arsen Arsenović wrote: >> >> libstdc++-v3/ChangeLog: >> > > ... snip ... > >> + void >> + _M_jump_in(_Coro_handle __rest, _Coro_handle __new) noexcept >> + { >&g

[PATCH v2 1/2] libstdc++: add missing include in ranges_util.h

2023-12-21 Thread Arsen Arsenović
libstdc++-v3/ChangeLog: * include/bits/ranges_util.h: Add missing include. --- libstdc++-v3/include/bits/ranges_util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/include/bits/ranges_util.h b/libstdc++-v3/include/bits/ranges_util.h index

[PATCH v2 0/2] libstdc++: generators v2

2023-12-21 Thread Arsen Arsenović
r==(const _Iterator& i, default_sentinel_t) noexcept -+ { return i._M_coro.done(); } ++ operator==(const _Iterator& __i, default_sentinel_t) noexcept ++ { return __i._M_coro.done(); } + + friend class generator; + @@ libstdc++-v3/include/std/generator (new) +

[PATCH] toplevel: don't override gettext-runtime/configure-discovered build args

2023-12-21 Thread Arsen Arsenović
ChangeLog: PR bootstrap/112534 * Makefile.def (host-gettext): Set all_args_override="". * Makefile.in: Regenerate. * Makefile.tpl (all--args): Define as a helper macro for computing extra arguments to make. (all): Use all--args over args. --- Hi,

[PATCH v2 2/2] libstdc++: implement std::generator

2023-12-21 Thread Arsen Arsenović
libstdc++-v3/ChangeLog: * include/Makefile.am: Install std/generator, bits/elements_of.h as freestanding. * include/Makefile.in: Regenerate. * include/bits/version.def: Add __cpp_lib_generator. * include/bits/version.h: Regenerate. *

Ping: [PATCH] toplevel: don't override gettext-runtime/configure-discovered build args

2023-12-30 Thread Arsen Arsenović
Hi, Ping on this patch. TIA, have a lovely day and happy holidays! -- Arsen Arsenović signature.asc Description: PGP signature

[pushed 2/2] libstdc++: fix typo in

2024-01-04 Thread Arsen Arsenović
libstdc++-v3/ChangeLog: * include/std/generator (_Subyield_state::_M_jump_in): Fix typo reported by Will Hawkins . --- libstdc++-v3/include/std/generator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/std/generator

[pushed 1/2] libstdc++: rename _A badname in

2024-01-04 Thread Arsen Arsenović
libstdc++-v3/ChangeLog: * include/std/generator (_Stateless_alloc): Rename typename _A to _All. --- Pushed as obvious. Happy new year, have a lovely day! libstdc++-v3/include/std/generator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH wwwdocs 1/1] gcc-14: document P1689R5 scanning output support

2024-01-06 Thread Arsen Arsenović
my subject, hopefully that works. Have a lovely day! -- Arsen Arsenović signature.asc Description: PGP signature

Ping^2: [PATCH] toplevel: don't override gettext-runtime/configure-discovered build args

2024-01-15 Thread Arsen Arsenović
Evening folks, Hope you had wonderful holidays. Gentle ping on this patch. Have a lovely night! -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH v2 2/2] libstdc++: implement std::generator

2024-01-04 Thread Arsen Arsenović
Jonathan Wakely writes: > On Thu, 21 Dec 2023 at 21:26, Arsen Arsenović wrote: >> + >> +template >> +concept _Stateless_alloc = (allocator_traits<_A>::is_always_equal::value >> + && default_initializable<

[PATCH] download_prerequisites: add --only-gettext

2023-12-02 Thread Arsen Arsenović
contrib/ChangeLog: * download_prerequisites : Parse --only-gettext. (echo_archives): Check only_gettext and stop early if true. (helptext): Document --only-gettext. --- Afternoon, This patch adds a --only-gettext option to download_prerequisites for when the only

[PATCH] gettext: disable install, docs targets, libasprintf, threads

2023-12-02 Thread Arsen Arsenović
This fixes issues reported by David Edelsohn , and by Eric Gallager . ChangeLog: * Makefile.def (gettext): Disable (via missing) {install-,}{pdf,html,info,dvi} and TAGS targets. Set no_install to true. Add --disable-threads --disable-libasprintf. Drop the

Re: [PATCH] gettext: disable install, docs targets, libasprintf, threads

2023-12-04 Thread Arsen Arsenović
Richard Biener writes: > OK. Thanks. I'll wait for the Binutils and GDB maintainers to weigh in before pushing (plus, I can't push there). Have a lovely day! -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH 2/2] libstdc++: Handle encodings in localized chrono formatting [PR109162]

2024-02-01 Thread Arsen Arsenović
ekday_last/io.cc > index 6f76922195d..d069d857ff0 100644 > --- a/libstdc++-v3/testsuite/std/time/weekday_last/io.cc > +++ b/libstdc++-v3/testsuite/std/time/weekday_last/io.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-namedlocale "fr_FR.ISO8859-15" } > // { dg-timeout-factor 2 } > diff --git a/libstdc++-v3/testsuite/std/time/year/io.cc > b/libstdc++-v3/testsuite/std/time/year/io.cc > index bcaa57faeb7..1bdc95ddbd1 100644 > --- a/libstdc++-v3/testsuite/std/time/year/io.cc > +++ b/libstdc++-v3/testsuite/std/time/year/io.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-namedlocale "fr_FR.ISO8859-15" } > // { dg-timeout-factor 2 } > diff --git a/libstdc++-v3/testsuite/std/time/year_month/io.cc > b/libstdc++-v3/testsuite/std/time/year_month/io.cc > index 7bb3442e299..e7963d31ae6 100644 > --- a/libstdc++-v3/testsuite/std/time/year_month/io.cc > +++ b/libstdc++-v3/testsuite/std/time/year_month/io.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-namedlocale "fr_FR.ISO8859-15" } > // { dg-timeout-factor 2 } > diff --git a/libstdc++-v3/testsuite/std/time/year_month_day/io.cc > b/libstdc++-v3/testsuite/std/time/year_month_day/io.cc > index cb82ef3b612..e7dc60b9dea 100644 > --- a/libstdc++-v3/testsuite/std/time/year_month_day/io.cc > +++ b/libstdc++-v3/testsuite/std/time/year_month_day/io.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-namedlocale "fr_FR.ISO8859-15" } > // { dg-timeout-factor 2 } > diff --git a/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc > b/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc > index 3241536a2e6..a57e56a1805 100644 > --- a/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc > +++ b/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-namedlocale "fr_FR.ISO8859-15" } > // { dg-timeout-factor 2 } > diff --git a/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc > b/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc > index 65baf1d37ae..e9a5bee7666 100644 > --- a/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc > +++ b/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-namedlocale "fr_FR.ISO8859-15" } > // { dg-timeout-factor 2 } > diff --git a/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc > b/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc > index 17f2244420d..fc2328ac001 100644 > --- a/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc > +++ b/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-namedlocale "fr_FR.ISO8859-15" } > // { dg-timeout-factor 2 } > diff --git a/libstdc++-v3/testsuite/std/time/zoned_time/1.cc > b/libstdc++-v3/testsuite/std/time/zoned_time/1.cc > index 1623aca1c7a..e773f50ae73 100644 > --- a/libstdc++-v3/testsuite/std/time/zoned_time/1.cc > +++ b/libstdc++-v3/testsuite/std/time/zoned_time/1.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-effective-target tzdb } > // { dg-require-effective-target cxx11_abi } > diff --git a/libstdc++-v3/testsuite/std/time/zoned_time/io.cc > b/libstdc++-v3/testsuite/std/time/zoned_time/io.cc > index 376b2734f19..c19e2a3c882 100644 > --- a/libstdc++-v3/testsuite/std/time/zoned_time/io.cc > +++ b/libstdc++-v3/testsuite/std/time/zoned_time/io.cc > @@ -1,3 +1,4 @@ > +// { dg-options "-lstdc++exp" { target c++23 } } > // { dg-do run { target c++20 } } > // { dg-require-effective-target cxx11_abi } > // { dg-timeout-factor 2 } -- Arsen Arsenović

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-15 Thread Arsen Arsenović
S functions on AIX, but gcc configure > fails in its tests of gettext functionality, which leads to an inconsistent > configuration and build breakage. > > Thanks, David -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-18 Thread Arsen Arsenović
David Edelsohn writes: > On Fri, Nov 17, 2023 at 10:17 AM Arsen Arsenović wrote: > >> >> David Edelsohn writes: >> >> > On Fri, Nov 17, 2023 at 3:46 AM Arsen Arsenović wrote: >> > >> >> >> >> David Edelsohn writes: >&

[PATCH] libstdc++: implement std::generator

2023-11-18 Thread Arsen Arsenović
libstdc++-v3/ChangeLog: * include/Makefile.am: Install std/generator, bits/elements_of.h as freestanding. * include/Makefile.in: Regenerate. * include/bits/version.def: Add __cpp_lib_generator. * include/bits/version.h: Regenerate. *

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-16 Thread Arsen Arsenović
David Edelsohn writes: > On Wed, Nov 15, 2023 at 9:22 AM Arsen Arsenović wrote: > >> >> David Edelsohn writes: >> >> > GCC had been working on AIX with NLS, using "--with-included-gettext". >> > --disable-nls gets past the breakage, b

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-16 Thread Arsen Arsenović
Xi Ruoyao writes: > On Wed, 2023-11-15 at 15:14 +0100, Arsen Arsenović wrote: >> That is interesting.  They should be using the same checks.  I've >> checked trunk and regenerated files on it, and saw no significant diff >> (some whitespace changes only).  Could yo

Re: building GNU gettext on AIX

2023-11-16 Thread Arsen Arsenović
disable-threads would be OK too, for the case that it is utilized. (relevant for the latter case: GCC-private build of libintl) > How do other library vendors handle this issue on AIX? Do they ship two > libraries, one MT-safe and one not? Under different names? Or in different > library search paths? > > Bruno > > [1] https://www.ibm.com/support/pages/aix-support-lifecycle-information -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-16 Thread Arsen Arsenović
Arsen Arsenović writes: > [[PGP Signed Part:Good signature from 52C294301EA2C493 Arsen Arsenović > (Gentoo Developer UID) (trust ultimate) created at > 2023-11-16T19:47:16+0100 using EDDSA]] > > David Edelsohn writes: > >> On Wed, Nov 15, 2023 at 9:22 A

Re: building GNU gettext on AIX

2023-11-16 Thread Arsen Arsenović
Bruno Haible writes: > 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.fsffran

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-16 Thread Arsen Arsenović
could not be loaded. Member libintl.so.8 is not found in archive I'll try to see why intl/ didn't cause the same issue soon. Thanks, have a lovely evening. > Thanks, David > > > > On Thu, Nov 16, 2023 at 4:15 PM Arsen Arsenović wrote: > >> >> Arsen Arsenović wr

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-17 Thread Arsen Arsenović
David Edelsohn writes: > On Thu, Nov 16, 2023 at 5:52 PM Arsen Arsenović wrote: > > [snip] >> Sure, but my patch does insert --disable-shared: >> >> --8<---cut here---start->8--- >> host_modules= { module= g

Re: building GNU gettext on AIX

2023-11-17 Thread Arsen Arsenović
Richard Biener writes: > On Fri, Nov 17, 2023 at 12:13 AM Arsen Arsenović wrote: >> >> >> Bruno Haible writes: >> >> > Hi David, >> > >> >> the default, distributed libintl library will not allow GCC to be built >> >>

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-17 Thread Arsen Arsenović
Richard Biener writes: > On Fri, Nov 17, 2023 at 9:46 AM Arsen Arsenović wrote: >> >> >> David Edelsohn writes: >> >> > On Thu, Nov 16, 2023 at 5:52 PM Arsen Arsenović wrote: >> > >> > [snip] >> >> Sure, but my patch doe

Re: building GNU gettext on AIX

2023-11-17 Thread Arsen Arsenović
tree, in which case we already want a --disable-shared build). If that library gets installed, then, so far, it is unintentional. I'll check that (as well as the docs targets that Eric Gallager mentioned on IRC) tonight. > Bruno > > [1] https://lists.gnu.org/archive/html/bug-gnulib/2023-11/msg00164.html -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-16 Thread Arsen Arsenović
David Edelsohn writes: > On Thu, Nov 16, 2023 at 5:22 PM Arsen Arsenović wrote: > >> >> David Edelsohn writes: >> >> > Don't build with the dependent libraries in tree. Don't build the >> > dependent libraries as shared libraries. The librarie

Re: building GNU gettext on AIX

2023-11-16 Thread Arsen Arsenović
b/libcurses.a(shr42_64.o) > /usr/lib/libiconv.a(shr4_64.o) > /usr/lib/libc++.a(shr_64.o) > /usr/lib/libc++abi.a(libc++abi.so.1) > /usr/lib/libc.a(shr_64.o) > /usr/lib/libpthreads.a(_shr_xpg5_64.o) > /usr/lib/libc++.a(libc++.so.1) >

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-17 Thread Arsen Arsenović
David Edelsohn writes: > On Fri, Nov 17, 2023 at 3:46 AM Arsen Arsenović wrote: > >> >> David Edelsohn writes: >> >> > On Thu, Nov 16, 2023 at 5:52 PM Arsen Arsenović wrote: >> > >> > [snip] >> >> Sure, but my patch does i

[committed] libcpp: Regenerate config.in

2023-11-13 Thread Arsen Arsenović
The previous commit did not include regenerating files maintained by autoheader. libcpp/ChangeLog: * config.in: Regenerate. --- Pushed as obvious in response to the quite neat buildbot: https://builder.sourceware.org/buildbot/#/builders/269/builds/56 libcpp/config.in | 17

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-14 Thread Arsen Arsenović
mode? I'll try to investigate ASAP. In the meanwhile, does disabling NLS etc work? Thanks in advance, have a lovely night. -- Arsen Arsenović signature.asc Description: PGP signature

Re: [RFC PATCH] Detecting lifetime-dse issues via Valgrind

2023-11-11 Thread Arsen Arsenović
o have a link-time error here if missing? Have a lovely night. -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-20 Thread Arsen Arsenović
58 prmhsh 0 snhsh 0 typ 2 algn 0 clss 1 stb 0 snstb 0 [ 62](sec 2)(fl 0x00)(ty0)(scl 107) (nx 1) 0x05a0 _autosprintf.rw_ AUX val 0 prmhsh 0 snhsh 0 typ 1 algn 4 clss 5 stb 0 snstb 0 I am unsure what this symbol is. It does not appear in the stripped binary. -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-20 Thread Arsen Arsenović
Bruno Haible writes: > Arsen Arsenović wrote: >> Comparing stages 2 and 3 >> Bootstrap comparison failure! >> gettext/libasprintf/autosprintf.o differs >> make[2]: *** [Makefile:23435: compare] Error 1 > > You should be able to work around this

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-20 Thread Arsen Arsenović
ack. > Thanks, David > > > On Mon, Nov 20, 2023 at 4:23 PM Arsen Arsenović wrote: > >> >> David Edelsohn writes: >> >> > On Sun, Nov 19, 2023 at 5:15 PM Bruno Haible wrote: >> > >> >> David Edelsohn wrote: >> >> > --

Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext

2023-11-21 Thread Arsen Arsenović
Arsen Arsenović writes: > Bruno Haible writes: > >> Arsen Arsenović wrote: >>> Comparing stages 2 and 3 >>> Bootstrap comparison failure! >>> gettext/libasprintf/autosprintf.o differs >>> make[2]: *** [Makefile:23435: compare]

[PATCH 3/3] *: support in-tree libiconv again

2024-04-13 Thread Arsen Arsenović
ChangeLog: * Makefile.def: Inform gettext of our freshly-built libiconv. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac (LIBICONV_SIBLING): If an in-tree host libiconv is being built, set this variable to the path to libiconv.a

[PATCH 2/3] gitignore: ignore /libiconv*

2024-04-13 Thread Arsen Arsenović
ChangeLog: * .gitignore: Ignore /libiconv* as with other possibly-in-tree libs. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 93a16b0b950c..3528d9a115ee 100644 --- a/.gitignore +++ b/.gitignore @@ -70,3 +70,4 @@ stamp-* /gmp*

[PATCH 0/3] Recover in-tree libiconv build support

2024-04-13 Thread Arsen Arsenović
with delivering these, I have, unfortunately, been busied by various external factors. Hopefully, it is not too late yet. Thanks in advance, have a lovely night! Arsen Arsenović (3): toplevel: don't override gettext-runtime/configure-discovered build args gitignore: ignore /libiconv

[PATCH 1/3] toplevel: don't override gettext-runtime/configure-discovered build args

2024-04-13 Thread Arsen Arsenović
ChangeLog: PR bootstrap/112534 * Makefile.def (host-gettext): Set all_args_override="". * Makefile.in: Regenerate. * Makefile.tpl (all--args): Define as a helper macro for computing extra arguments to make. (all): Use all--args over args. ---

Ping: [PATCH 0/3] Recover in-tree libiconv build support

2024-05-04 Thread Arsen Arsenović
Hi! Given that trunk is now GCC 15, it might be good to land this patch early. I will re-test it just in case after a rebase but, otherwise, OK for trunk? TIA, have a lovely day. -- Arsen Arsenović signature.asc Description: PGP signature

[PATCH 2/2] libstdc++: fix generator iterator operator* return type

2024-03-23 Thread Arsen Arsenović
Per the standard, the return type of a generators ranges iterator op* should be the reference type rather than the yielded type. The yielded type was used here by mistake. libstdc++-v3/ChangeLog: * include/std/generator (generator::_Iterator::operator*): Fix return type.

[PATCH 0/2] A few minor fixes in

2024-03-23 Thread Arsen Arsenović
From: Arsen Arsenović Afternoon! These couple of patches fix two minor issues in the generator implementation that were informally reported a while ago. Tested on x86_64-pc-linux-gnu. OK for trunk? TIA, have a lovely day! Arsen Arsenović (2): libstdc++: fix _V badname in libstdc++: fix

[PATCH 1/2] libstdc++: fix _V badname in

2024-03-23 Thread Arsen Arsenović
libstdc++-v3/ChangeLog: * include/std/generator: Fix _V badname. --- libstdc++-v3/include/std/generator | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/libstdc++-v3/include/std/generator b/libstdc++-v3/include/std/generator index

[pushed] libstdc++-v3: drop GCC Runtime Library Exception from gen tests

2024-03-29 Thread Arsen Arsenović
It was mistakenly added to these files. libstdc++-v3/ChangeLog: * testsuite/24_iterators/range_generators/01.cc: Drop GCC Runtime Library Exception. * testsuite/24_iterators/range_generators/02.cc: Drop GCC Runtime Library Exception. *

Re: [Patch] contrib/gcc-changelog: Check whether revert-commit exists

2023-09-05 Thread Arsen Arsenović via Gcc-patches
ith the full script. -- Arsen Arsenović signature.asc Description: PGP signature

Re: Question on -fwrapv and -fwrapv-pointer

2023-09-15 Thread Arsen Arsenović via Gcc-patches
where overflow is unexpected. One could easily imagine a scenario where overflow is not expected in some region of code but is in the larger application. -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH] libstdc++ Add cstdarg to freestanding

2023-08-16 Thread Arsen Arsenović via Gcc-patches
in freestanding, partially, in 13 already, indeed. >> /Paul M. Bendixen >> >> -- >> • − − •/• −/• • −/• − • •/− • • •/•/− •/− • •/• •/− • • −/•/− •/• − − •− >> •/− − •/− −/• −/• •/• − • •/• − • − • −/− • − •/− − −/− −// -- Arsen Arsenović signature.asc Description: PGP signature

Re: [PATCH v2 2/2] libstdc++: Replace all manual FTM definitions and use

2023-08-16 Thread Arsen Arsenović via Gcc-patches
all need to use: > #if __glibcxx_make_reverse_iterator > because they wouldn't have the __cpp_lib_xxx macro, because they only > include the internal bits header not . > > That's for another day though. Yes, that sounds quite reasonable. I like the idea that headers should export narrower FTMs. Pushed. Thanks :-) -- Arsen Arsenović signature.asc Description: PGP signature

[PATCH] coroutines: Wrap awaiting if/swich in a BIND_EXPR, if needed [PR106188]

2022-09-03 Thread Arsen Arsenović via Gcc-patches
necessary. (morph_fn_to_coro): Pass fnbody into susp_frame_data. gcc/testsuite/ChangeLog: * g++.dg/coroutines/pr106188.C: New test. Signed-off-by: Arsen Arsenović --- gcc/cp/coroutines.cc | 45 -- gcc/testsuite/g++.dg/coroutines/pr106188.C

Re: [PATCH v2] coroutines: Ensure there's a top level bind when rewriting [PR106188]

2022-09-07 Thread Arsen Arsenović via Gcc-patches
Hi, On Wednesday, 7 September 2022 17:13:03 CEST Jason Merrill wrote: > Applied with some minor tweaks, described below. > > Thanks! Got it, and noted the changes and rationale you provided Thank you! -- Arsen Arsenović signature.asc Description: This is a digitally signed message part.

[PATCH v2] coroutines: Ensure there's a top level bind when rewriting [PR106188]

2022-09-04 Thread Arsen Arsenović via Gcc-patches
-by: Arsen Arsenović --- gcc/cp/coroutines.cc | 10 +++ gcc/testsuite/g++.dg/coroutines/pr106188.C | 35 ++ 2 files changed, 45 insertions(+) create mode 100644 gcc/testsuite/g++.dg/coroutines/pr106188.C Hi Iain, > I can see that adding the b

[PATCH] libstdc++: Enable _GLIBCXX_WEAK_DEFINITION on more platforms

2022-10-19 Thread Arsen Arsenović via Gcc-patches
This should permit redefining `operator new' where-ever that is possible, and should allow libsupc++ to be more broadly useful in freestanding. libstdc++-v3/ChangeLog: * acinclude.m4: Add link test for __attribute__ ((weak)). * config.h.in: Regenerate. *

Ping (c,c++): Handling of main() function for freestanding

2022-10-21 Thread Arsen Arsenović via Gcc-patches
). This applies to both the C and C++ frontends. -- Arsen Arsenović signature.asc Description: This is a digitally signed message part.

Re: Ping (c,c++): Handling of main() function for freestanding

2022-10-23 Thread Arsen Arsenović via Gcc-patches
On Friday, 21 October 2022 23:02:02 CEST Joseph Myers wrote: > I have no objections to the C changes. Great! Thanks for the review. I don't have push rights currently, so I must ask that someone else pushes this patch for me. Have a great day! -- Arsen Arsenović signature.asc Descript

Re: C2x features status

2022-10-21 Thread Arsen Arsenović via Gcc-patches
details). I was intending on giving this issue a proper look in the GNU toolchain frame of reference, but never got around to it (and I kinda knocked priority down after managing to configure properly once IIRC). -- Arsen Arsenović signature.asc Description: This is a digitally signed message part.

[PATCH] libstdc++: Enable building libstdc++.{a,so} when !HOSTED

2022-10-20 Thread Arsen Arsenović via Gcc-patches
This enables us to provide symbols for placeholders and numeric limits, and allows users to mess about with linker flags less. libstdc++-v3/ChangeLog: * Makefile.am [!_GLIBCXX_HOSTED]: Enable src/ subdirectory. * Makefile.in: Regenerate. * src/Makefile.am

Re: C2x features status

2022-10-21 Thread Arsen Arsenović via Gcc-patches
xed packages did send patches usptream while they worked on this issue. Unfortunately, there is dead upstreams, as you said, so I expect either lingering in-tree patches for issues or compile flag changes like the one for unzip you mentioned. Such contribution and collaboration is more than welcome, tho

[PATCH v2] libstdc++: Don't use gstdint.h anymore

2022-10-20 Thread Arsen Arsenović via Gcc-patches
libstdc++-v3/ChangeLog: * configure.ac: Stop generating gstdint.h. * src/c++11/compatibility-atomic-c++0x.cc: Stop using gstdint.h. --- > > +using guintptr_t = __UINTPTR_TYPE__; > > I think this should be local in the only function that uses it. Sure. Tested on

[PATCH] libstdc++: Don't use gstdint.h anymore

2022-10-20 Thread Arsen Arsenović via Gcc-patches
libstdc++-v3/ChangeLog: * configure.ac: Stop generating gstdint.h. * src/c++11/compatibility-atomic-c++0x.cc: Stop using gstdint.h. --- Tested on x86_64-pc-linux-gnu. libstdc++-v3/configure.ac| 6 --

[PATCH] libstdc++: Make placeholders inline when inline variables are available

2022-10-20 Thread Arsen Arsenović via Gcc-patches
This slightly lowers the dependency of generated code on libstdc++.so. libstdc++-v3/ChangeLog: * include/std/functional: Make placeholders inline, if possible. --- libstdc++-v3/include/std/functional | 66 - 1 file changed, 37 insertions(+), 29 deletions(-)

[PATCH] libstdc++: respect with-{headers, newlib} for default hosted value

2022-10-12 Thread Arsen Arsenović via Gcc-patches
This saves us a build flag when building for freestanding targets. libstdc++-v3/ChangeLog: * acinclude.m4: Default hosted to off if building without headers and without newlib. --- Tested for x86_64-elf. libstdc++-v3/acinclude.m4 | 5 - 1 file changed, 4 insertions(+), 1

Re: Handling of main() function for freestanding

2022-10-13 Thread Arsen Arsenović via Gcc-patches
in this test, and it doesn't even need to link, so using any ol' function should be okay; see attachment) The attached patch is also v2 of the original builtin-main one submitted earlier. Tested on x86_64-pc-linux-gnu. This revision excludes the mentioned pedwarns unless hosted. Thanks, -- Arsen Ars

Re: Handling of main() function for freestanding

2022-10-13 Thread Arsen Arsenović via Gcc-patches
oreturn-1.c), so maybe dropping is the right thing to do, indeed. -- Arsen Arsenović signature.asc Description: This is a digitally signed message part.

Re: Handling of main() function for freestanding

2022-10-13 Thread Arsen Arsenović via Gcc-patches
ern "C" in the C++ frontend, AFAICT). -- Arsen Arsenović >From e60be6bb45fdba8085bde5d1883deeae640e786b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Thu, 13 Oct 2022 21:46:30 +0200 Subject: [PATCH v3] c-family: Implicitly return zero from main even on frees

Ping: [PATCH] elf: ELF toolchain --without-{headers, newlib} should provide stdint.h

2022-10-10 Thread Arsen Arsenović via Gcc-patches
Evening, Ping on this patch, it should fix some configuration issues we get on ELF targets (especially in libstdc++). https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602751.html Thanks, -- Arsen Arsenović signature.asc Description: This is a digitally signed message part.

[PATCH] elf: ELF toolchain --without-{headers, newlib} should provide stdint.h

2022-10-03 Thread Arsen Arsenović via Gcc-patches
stdint.h is considered a freestanding headers by C, and a valid stdint.h is required for certain parts of libstdc++' configuration, so we should simply provide one when we have no other way (i.e. newlib or user-specified sysroot) of getting one. gcc/ChangeLog: * config.gcc:

[PATCH] libstdc++: Use ///< for inline documentation

2022-10-01 Thread Arsen Arsenović via Gcc-patches
ibstdc++-v3/ChangeLog: * include/std/iostream: Use ///< for inline documentation. * include/std/limits: Likewise. * include/experimental/internet: Likewise. Signed-off-by: Arsen Arsenović --- Hey, I just got reminded that I found some trivial documentation errors a few m

Re: [PATCH] libstdc++: Use ///< for inline documentation

2022-10-03 Thread Arsen Arsenović via Gcc-patches
op of that, clangd interprets it properly (it's how I stumbled upon this, cout was "Linked to standard output" in its LSP hover response). https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01635.html#a53dbc8572a84ca50272f9e55a1e23e18 -- Arsen Arsenović signature.asc Description

Re: Ping: [PATCH] elf: ELF toolchain --without-{headers, newlib} should provide stdint.h

2022-10-14 Thread Arsen Arsenović via Gcc-patches
On Tuesday, 11 October 2022 08:47:32 CEST Richard Biener wrote: > OK. Thanks for the review. I don't have push rights currently, so could you push this for me? Have a good evening, -- Arsen Arsenović signature.asc Description: This is a digitally signed message part.

Re: Handling of main() function for freestanding

2022-10-14 Thread Arsen Arsenović via Gcc-patches
Thanks, -- Arsen Arsenović >From dfc1677d1dcfa1b3b963fca8ea5eb8878c4e63d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Thu, 13 Oct 2022 21:46:30 +0200 Subject: [PATCH v4] c-family: Implicitly return zero from main even on freestanding ... unless marked noreturn.

[PATCH 06/10] libstdc++: Rework how freestanding install works [PR106953]

2022-09-30 Thread Arsen Arsenović via Gcc-patches
. Signed-off-by: Arsen Arsenović --- libstdc++-v3/include/Makefile.am | 300 +++--- libstdc++-v3/include/Makefile.in | 656 +++ 2 files changed, 477 insertions(+), 479 deletions(-) diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am

[PATCH 03/10] libstdc++: Adjust precompiled headers for freestanding

2022-09-30 Thread Arsen Arsenović via Gcc-patches
From: Jonathan Wakely Co-authored-by: Arsen Arsenović libstdc++-v3/ChangeLog: * include/precompiled/extc++.h [!_GLIBCXX_HOSTED]: Do not include headers that aren't valid for freestanding. * include/precompiled/stdc++.h [!_GLIBCXX_HOSTED]: Likewise. Signed-off

[PATCH 02/10] libstdc++: Filter out unconditional default include

2022-09-30 Thread Arsen Arsenović via Gcc-patches
ac_includes_default, when running Autoconf <2.70. * configure: Regenerate. Signed-off-by: Arsen Arsenović --- libstdc++-v3/configure.ac | 9 + 1 file changed, 9 insertions(+) diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index b351622bf46..c05fcdda7e9 100

[PATCH 04/10] libstdc++: Mark headers that must be hosted as such [PR103626]

2022-09-30 Thread Arsen Arsenović via Gcc-patches
libstdc++ tests. Signed-off-by: Arsen Arsenović --- libstdc++-v3/include/Makefile.am | 1 + libstdc++-v3/include/Makefile.in | 1 + libstdc++-v3/include/bits/algorithmfwd.h | 4 + libstdc++-v3/include/bits/concept_check.h | 2 +- libstdc++-v3

[PATCH 07/10] libstdc++: Make some tests work on freestanding [PR103626]

2022-09-30 Thread Arsen Arsenović via Gcc-patches
]: Likewise. * testsuite/std/ranges/adaptors/100577.cc [!__STDC_HOSTED__]: Likewise. Signed-off-by: Arsen Arsenović --- .../17_intro/headers/c++1998/stdc++.cc| 2 + .../17_intro/tag_type_explicit_ctor.cc| 32 +++ .../17_intro/using_namespace_std_exp_neg.cc | 53

[PATCH 09/10] libstdc++: Re-enable std::hash in freestanding [PR103626]

2022-09-30 Thread Arsen Arsenović via Gcc-patches
/20_util/bitset/ext/constexpr.cc: Likewise. Signed-off-by: Arsen Arsenović --- libstdc++-v3/include/std/bitset | 9 + .../testsuite/20_util/bitset/cons/constexpr_c++23.cc | 2 ++ libstdc++-v3/testsuite/20_util/bitset/ext/constexpr.cc | 2 ++ 3 files changed

[PATCH 00/10] c-family,libstdc++: P1642 and related changes

2022-09-30 Thread Arsen Arsenović via Gcc-patches
Hi, This patchset: - Implements the P1642 WG21 paper, with a fair few extensions, - Fixes libstdc++' build system on systems --without-headers, - Ports (a large chunk of) the libstdc++ testsuite to freestanding, and - Changes the semantics of `int main' in freestanding (!!). Thanks, Arsen

[PATCH 01/10] libstdc++: Make _GLIBCXX_HOSTED respect -ffreestanding [PR103626]

2022-09-30 Thread Arsen Arsenović via Gcc-patches
: Likewise. Signed-off-by: Arsen Arsenović --- libstdc++-v3/acinclude.m4| 2 +- libstdc++-v3/configure | 2 +- libstdc++-v3/include/Makefile.am | 2 +- libstdc++-v3/include/Makefile.in | 2 +- libstdc++-v3/testsuite/lib/libstdc

[PATCH 05/10] c-family: Implement new `int main' semantics in freestanding

2022-09-30 Thread Arsen Arsenović via Gcc-patches
s.c: New test. * gcc.dg/no-builtin-main.c: New test. Signed-off-by: Arsen Arsenović --- gcc/c-family/c-common.cc | 6 ++ gcc/c-family/c-common.h | 10 ++ gcc/c/c-decl.cc | 4 ++-- gcc/c/c-objc-common

[PATCH 08/10] libstdc++: Add effective-target 'hosted' for testsuite [PR103626]

2022-09-30 Thread Arsen Arsenović via Gcc-patches
. Signed-off-by: Arsen Arsenović --- libstdc++-v3/testsuite/lib/libstdc++.exp | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index d3256b6c8c4..635f16db4e8 100644 --- a/libstdc++-v3

  1   2   3   >