Re: Handling of main() function for freestanding

2022-10-04 Thread Joel Sherrill
Speaking from an RTEMS perspective, many of our examples show an initialisation thread setting up arguments to invoke main() with argc and argv and processing the return code. I would lean to main(int, char**) being known special by gcc. It won't bother the RTEMS embedded environment at all to do

Re: Handling of main() function for freestanding

2022-10-04 Thread Jason Merrill via Gcc
On 9/28/22 16:15, Jonathan Wakely wrote: As part of implementing a C++23 proposal [1] to massively increase the scope of the freestanding C++ standard library some questions came up about the special handling of main() that happens for hosted environments. As required by both C++ (all versions)

RE: How do I create a GCC source code tarball?

2022-10-04 Thread Robert Dubner
I had a feeling that's what the answer was going to be, but, well, I figured it couldn't hurt to ask. Especially because I hadn't before noticed the maintainer-scripts subdirectory. That alone made asking worth it. Thank you very much, Bob Dubner -Original Message- From: Andrew Pinsk

Re: Makeinfo generates wrong link

2022-10-04 Thread Jonathan Wakely via Gcc
On Tue, 4 Oct 2022 at 20:41, Gavin Smith wrote: > > On Tue, Oct 04, 2022 at 01:39:04PM -0400, Richard Stallman wrote: > > [[[ To any NSA and FBI agents reading my email: please consider]]] > > [[[ whether defending the US Constitution against all enemies, ]]] > > [[[ foreign or domestic, r

Re: Makeinfo generates wrong link

2022-10-04 Thread Gavin Smith via Gcc
On Tue, Oct 04, 2022 at 01:39:04PM -0400, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > There

Re: [PATCH RESEND 1/1] p1689r5: initial support

2022-10-04 Thread Harald Anlauf via Gcc
Am 04.10.22 um 17:12 schrieb Ben Boeckel: This patch implements support for [P1689R5][] to communicate to a build system the C++20 module dependencies to build systems so that they may build `.gcm` files in the proper order. Is there a reason that you are touching so many frontends? diff --gi

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Siddhesh Poyarekar
On 2022-10-04 15:05, Mark Wielaard wrote: I did indeed. Both the proposal and these minutes mention migrating websites without mentioning any specifics. Knowing which websites are meant and why they need migration is useful information. The FSF tech team is helping us coordinating things on over

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Mark Wielaard
Hi Siddhesh, On Tue, Oct 04, 2022 at 01:17:14PM -0400, Siddhesh Poyarekar wrote: > On 2022-10-04 13:10, Christopher Faylor wrote: > > On Tue, Oct 04, 2022 at 09:46:08AM -0400, Siddhesh Poyarekar wrote: > > > I made and shared this copy to dispel any further false speculation of > > > scope creep o

Re: How do I create a GCC source code tarball?

2022-10-04 Thread Andrew Pinski via Gcc
On Mon, Oct 3, 2022 at 4:32 PM Robert Dubner wrote: > > I have modified the source code of GCC, and I need a tarball for that > modified source. > > My code is based on the trunk branch of the repository at > git://gcc.gnu.org/git/gcc.git > > I attempted to execute "make dist", and have encountere

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Christopher Faylor via Gcc
On Tue, Oct 04, 2022 at 01:17:14PM -0400, Siddhesh Poyarekar wrote: >On 2022-10-04 13:10, Christopher Faylor wrote: >> On Tue, Oct 04, 2022 at 09:46:08AM -0400, Siddhesh Poyarekar wrote: >> > I made and shared this copy to dispel any further false speculation of >> > scope creep of the GTI proposal

Re: Makeinfo generates wrong link

2022-10-04 Thread Richard Stallman via Gcc
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > There is one additional error here if the above-mentioned URL is > correct: t

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Siddhesh Poyarekar
On 2022-10-04 13:10, Christopher Faylor wrote: On Tue, Oct 04, 2022 at 09:46:08AM -0400, Siddhesh Poyarekar wrote: I made and shared this copy to dispel any further false speculation of scope creep of the GTI proposal. Who is doing the false speculation? Do you have a mailing list link? It

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Christopher Faylor via Gcc
On Tue, Oct 04, 2022 at 09:46:08AM -0400, Siddhesh Poyarekar wrote: >I made and shared this copy to dispel any further false speculation of >scope creep of the GTI proposal. Who is doing the false speculation? Do you have a mailing list link? It would be interesting to know who's got it wrong.

Re: gcc-bug in gcc-11

2022-10-04 Thread David Edelsohn via Gcc
On Tue, Oct 4, 2022 at 12:18 PM Shivam Rajput via Gcc wrote: > Hey, I was trying to build clang's libcxx on my ubuntu 22.04 and it has > gcc-11.2 by default most prolly, but while building libcxx there was an > error about using the deleted function but it seems that overloaded > resolution in gc

Re: gcc-bug in gcc-11

2022-10-04 Thread Jonathan Wakely via Gcc
On Tue, 4 Oct 2022 at 17:17, Shivam Rajput via Gcc wrote: > > Hey, I was trying to build clang's libcxx on my ubuntu 22.04 and it has > gcc-11.2 by default most prolly, but while building libcxx there was an > error about using the deleted function but it seems that overloaded > resolution in gcc-

Re: gcc-bug in gcc-11

2022-10-04 Thread Andrew Pinski via Gcc
On Tue, Oct 4, 2022 at 9:18 AM Shivam Rajput via Gcc wrote: > > Hey, I was trying to build clang's libcxx on my ubuntu 22.04 and it has > gcc-11.2 by default most prolly, but while building libcxx there was an > error about using the deleted function but it seems that overloaded > resolution in gc

gcc-bug in gcc-11

2022-10-04 Thread Shivam Rajput via Gcc
Hey, I was trying to build clang's libcxx on my ubuntu 22.04 and it has gcc-11.2 by default most prolly, but while building libcxx there was an error about using the deleted function but it seems that overloaded resolution in gcc-11 has a bug https://godbolt.org/z/GPTPYaobb , it consider wrong over

[PATCH RESEND 0/1] RFC: P1689R5 support

2022-10-04 Thread Ben Boeckel
This patch adds initial support for ISO C++'s [P1689R5][], a format for describing C++ module requirements and provisions based on the source code. This is required because compiling C++ with modules is not embarrassingly parallel and need to be ordered to ensure that `import some_module;` can be s

[PATCH RESEND 1/1] p1689r5: initial support

2022-10-04 Thread Ben Boeckel
This patch implements support for [P1689R5][] to communicate to a build system the C++20 module dependencies to build systems so that they may build `.gcm` files in the proper order. Support is communicated through the following three new flags: - `-fdeps-format=` specifies the format for the out

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Frank Ch. Eigler via Gcc
Hi - > > I'm afraid I don't understand then what the point of comparing to LLVM > > with respect to competitiveness or freedom was. AIUI, infrastructure > > is an enabler, not really a competitive differentiator. > > I suppose that's a difference in our perception then. I think of > infrastructu

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Siddhesh Poyarekar
On 2022-10-04 10:41, Frank Ch. Eigler wrote: I'm afraid I don't understand then what the point of comparing to LLVM with respect to competitiveness or freedom was. AIUI, infrastructure is an enabler, not really a competitive differentiator. I suppose that's a difference in our perception then.

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Frank Ch. Eigler via Gcc
Hi - > > > I don't see a risk to freedom. The GNU toolchain is quite underfunded > > > compared to llvm/clang and IMO it's a major risk to maintain status quo on > > > that front. The GTI opens new avenues for funding aspects of the GNU > > > toolchain without affecting its core governance. > >

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Siddhesh Poyarekar
On 2022-10-04 10:19, Frank Ch. Eigler wrote: I don't see a risk to freedom. The GNU toolchain is quite underfunded compared to llvm/clang and IMO it's a major risk to maintain status quo on that front. The GTI opens new avenues for funding aspects of the GNU toolchain without affecting its core

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Frank Ch. Eigler via Gcc
Hi - > > > [...] I think the LF proposal is the best long term way forward for > > > the GNU toolchain projects to remain competitive *and* Free. [...] > > > > Can you elaborate what risks in terms of competitiveness or freedom > > you foresee with the status quo? This is the first I recall hear

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Siddhesh Poyarekar
On 2022-10-04 10:01, Frank Ch. Eigler wrote: Hi - [...] I think the LF proposal is the best long term way forward for the GNU toolchain projects to remain competitive *and* Free. [...] Can you elaborate what risks in terms of competitiveness or freedom you foresee with the status quo? This i

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Frank Ch. Eigler via Gcc
Hi - > [...] I think the LF proposal is the best long term way forward for > the GNU toolchain projects to remain competitive *and* Free. [...] Can you elaborate what risks in terms of competitiveness or freedom you foresee with the status quo? This is the first I recall hearing of this concern.

Re: The GNU Toolchain Infrastructure Project

2022-10-04 Thread Siddhesh Poyarekar
On 2022-10-02 16:47, Mark Wielaard via Overseers wrote: I've published the current GTI TAC meeting minutes to the glibc website: https://www.gnu.org/software/libc/gti-tac/index.html The slides from the LF IT are a good overview: https://www.gnu.org/software/libc/gti-tac/LF%20IT%20Core%20Projects

Re: Rust front-end

2022-10-04 Thread Jakub Jelinek via Gcc
On Tue, Oct 04, 2022 at 08:42:58AM -0400, David Malcolm via Gcc wrote: > On Tue, 2022-10-04 at 13:29 +0100, Philip Herron wrote: > > Hi everyone, > > > > As the cut-off for merging is coming up in November, quite a few of > > our patches have not been reviewed yet. > > > > There are a few main is

Re: Rust front-end

2022-10-04 Thread David Malcolm via Gcc
On Tue, 2022-10-04 at 13:29 +0100, Philip Herron wrote: > Hi everyone, > > As the cut-off for merging is coming up in November, quite a few of > our patches have not been reviewed yet. > > There are a few main issues that have been raised so far, and we are > fixing those at the moment in prepara

Re: Rust front-end

2022-10-04 Thread Philip Herron
Hi everyone, As the cut-off for merging is coming up in November, quite a few of our patches have not been reviewed yet. There are a few main issues that have been raised so far, and we are fixing those at the moment in preparation for version 3 of the patches. Is there anything else we can do to