Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-23 Thread Segher Boessenkool
On Tue, Jun 22, 2021 at 12:41:27AM +0200, Jakub Jelinek wrote: > On Mon, Jun 21, 2021 at 11:36:48PM +0100, Gaius Mulley via Gcc-patches wrote: > > > : error: the file containing the definition module > > > <80><98>M2RTS > > > <80><99> cannot be found > > > compiler exited with status 1 > > >

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-22 Thread Gaius Mulley via Gcc-patches
Jakub Jelinek writes: > > On Mon, Jun 21, 2021 at 11:36:48PM +0100, Gaius Mulley via Gcc-patches wrote: >> > : error: the file containing the definition module >> > <80><98>M2RTS >> > <80><99> cannot be found >> > compiler exited with status 1 >> > output is: >> > : error: the file containing

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-21 Thread Jakub Jelinek via Gcc-patches
On Mon, Jun 21, 2021 at 11:36:48PM +0100, Gaius Mulley via Gcc-patches wrote: > > : error: the file containing the definition module > > <80><98>M2RTS > > <80><99> cannot be found > > compiler exited with status 1 > > output is: > > : error: the file containing the definition module > >

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-21 Thread Gaius Mulley via Gcc-patches
Segher Boessenkool writes: > On Sat, Jun 19, 2021 at 09:09:05AM -0500, Segher Boessenkool wrote: >> powerpc64-linux now is building, and is running the tetsuite. My >> powerpc64le-linux build used --enable-languages=all, but Ada fails to >> build, so I'll redo that without Ada. > > For

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-21 Thread Gaius Mulley via Gcc-patches
Segher Boessenkool writes: > Gaius, could you look through the two patches I did to get the build to > work, see if those are correct or if something better needs to be done? > > > $(subdir) is an

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-20 Thread Gaius Mulley via Gcc-patches
Segher Boessenkool writes: > Hi! > > On Fri, Jun 18, 2021 at 10:00:40PM +0100, Gaius Mulley wrote: >> Segher Boessenkool writes: >> > On Thu, Jun 17, 2021 at 11:26:41PM +0100, Gaius Mulley via Gcc-patches >> > wrote: >> >> Debian Stretch using make -j 4, x86_64 GNU/Linux Debian Stretch built

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-19 Thread Segher Boessenkool
On Sat, Jun 19, 2021 at 09:09:05AM -0500, Segher Boessenkool wrote: > powerpc64-linux now is building, and is running the tetsuite. My > powerpc64le-linux build used --enable-languages=all, but Ada fails to > build, so I'll redo that without Ada. For powerpc64le-linux I get ===

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-19 Thread Segher Boessenkool
Hi! On Fri, Jun 18, 2021 at 10:00:40PM +0100, Gaius Mulley wrote: > Segher Boessenkool writes: > > On Thu, Jun 17, 2021 at 11:26:41PM +0100, Gaius Mulley via Gcc-patches > > wrote: > >> Debian Stretch using make -j 4, x86_64 GNU/Linux Debian Stretch built > >> using make -j 24 and also under

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-19 Thread Matthias Klose
On 6/19/21 9:53 AM, Gaius Mulley wrote: > Matthias Klose writes: > >> x86_64-linux-gnu-g++-10 is the compiler used for the bootstrap. I haven't >> checked if that is also seen for a normal bootstrap. Apparently it tries to >> re-bootstrap the compiler. >> >> The build is configured with

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-19 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > x86_64-linux-gnu-g++-10 is the compiler used for the bootstrap. I haven't > checked if that is also seen for a normal bootstrap. Apparently it tries to > re-bootstrap the compiler. > > The build is configured with --with-build-config=bootstrap-lto-lean, built > with >

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > > I checked that with a profiled lto build. The build succeeds with the > attached > patch to respect the parallel linking limitations, which you can configure > with > --enable-link-serialization=N > > However the build fails in the installation step with: > > [...]

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Gaius Mulley via Gcc-patches
Segher Boessenkool writes: > Hi Gaius, > > On Thu, Jun 17, 2021 at 11:26:41PM +0100, Gaius Mulley via Gcc-patches wrote: >> here are a set of patches which merge the gm2 front end into the >> GCC tree. > > I have looked through the patches in this email, and they all look good > too me. (There

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: >> > I would suggest to not rush this in now during stage4 but instead >> > take the opportunity of this "quiet" phase to prepare an integration >> > branch with all the issues above sorted out which we can merge at >> > the beginning of stage1 for GCC 12 (or later during

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Segher Boessenkool
On Fri, Jun 18, 2021 at 12:52:41PM +0200, Richard Biener wrote: > So as suggested above please create a public branch off trunk where you > do the integration and keep it rebased on trunk regularly. It looks > like you do not have write access to the GCC repository, please > obtain that and make

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Segher Boessenkool
Hi Gaius, On Thu, Jun 17, 2021 at 11:26:41PM +0100, Gaius Mulley via Gcc-patches wrote: > here are a set of patches which merge the gm2 front end into the > GCC tree. I have looked through the patches in this email, and they all look good too me. (There are a few warnings about whitespace from

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Richard Biener
On Thu, 17 Jun 2021, Gaius Mulley wrote: > > > Hello Richard, David, Matthias and GCC Steering Committee, > > here are a set of patches which merge the gm2 front end into the > GCC tree. The patches have been bootstrapped under aarch64 GNU/Linux > Debian Stretch using make -j 4, x86_64

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-18 Thread Matthias Klose
On 6/18/21 12:26 AM, Gaius Mulley wrote: > > > Hello Richard, David, Matthias and GCC Steering Committee, > > here are a set of patches which merge the gm2 front end into the > GCC tree. The patches have been bootstrapped under aarch64 GNU/Linux > Debian Stretch using make -j 4, x86_64

[PATCH] Modula-2 into the GCC tree on master

2021-06-17 Thread Gaius Mulley via Gcc-patches
Hello Richard, David, Matthias and GCC Steering Committee, here are a set of patches which merge the gm2 front end into the GCC tree. The patches have been bootstrapped under aarch64 GNU/Linux Debian Stretch using make -j 4, x86_64 GNU/Linux Debian Stretch built using make -j 24 and also

Re: [PATCH] Modula-2 into the GCC tree on master

2021-06-10 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > On 1/18/21 2:55 PM, Gaius Mulley via Gcc-patches wrote: >> Richard Biener writes: >>> I've just done ./configure --enable-languages=m2; make -j24 >>> >>> I would suggest to not rush this in now during stage4 >>> but instead take the opportunity of this "quiet" phase >>>

Re: [PATCH] Modula-2 into the GCC tree on master

2021-05-27 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > On 1/18/21 2:55 PM, Gaius Mulley via Gcc-patches wrote: >> Richard Biener writes: >>> I've just done ./configure --enable-languages=m2; make -j24 >>> >>> I would suggest to not rush this in now during stage4 >>> but instead take the opportunity of this "quiet" phase >>>

Re: [PATCH] Modula-2 into the GCC tree on master

2021-05-27 Thread Matthias Klose
On 1/18/21 2:55 PM, Gaius Mulley via Gcc-patches wrote: > Richard Biener writes: >> I've just done ./configure --enable-languages=m2; make -j24 >> >> I would suggest to not rush this in now during stage4 >> but instead take the opportunity of this "quiet" phase >> to prepare an integration branch

Re: [PATCH] Modula-2 into the GCC tree on master

2021-01-18 Thread Gaius Mulley via Gcc-patches
Matthias Klose writes: > this is mising the definition of lang_register_spec_functions for the jit > build. > > 2020-03-23 Matthias Klose > > * jit-spec.c (lang_register_spec_functions): New, not used for jit. > > > --- a/gcc/jit/jit-spec.c > +++ b/gcc/jit/jit-spec.c > @@ -39,3 +39,9

Re: [PATCH] Modula-2 into the GCC tree on master

2021-01-18 Thread Gaius Mulley via Gcc-patches
Richard Biener writes: Hello Richard, many thanks for taking the time to review the patches and tarball. > It looks like libgm2 is built independently on whether m2 is enabled or not? > I'd like to see a while-listing of supported targets like done for example > for libgomp via configure.tgt

Re: [PATCH] Modula-2 into the GCC tree on master

2021-01-18 Thread Matthias Klose
On 1/18/21 2:09 AM, Gaius Mulley via Gcc-patches wrote: > gcc/ > > * gcc/brig/brigspec.c (lang_register_spec_functions): Added. > * gcc/c-family/cppspec.c (lang_register_spec_functions): Added. > * gcc/c/gccspec.c (lang_register_spec_functions): Added. > * gcc/cp/g++spec.c

Re: [PATCH] Modula-2 into the GCC tree on master

2021-01-18 Thread Richard Biener via Gcc-patches
On Mon, Jan 18, 2021 at 2:09 AM Gaius Mulley via Gcc-patches wrote: > > > Hello, > > here is a patch which merges the gm2 front end into the GCC tree. The > patches have been boostrapped under x86_64 GNU/Linux Debian Stretch > built using make -j 24 and also under x86_64 GNU/Linux Debian Buster

[PATCH] Modula-2 into the GCC tree on master

2021-01-17 Thread Gaius Mulley via Gcc-patches
Hello, here is a patch which merges the gm2 front end into the GCC tree. The patches have been boostrapped under x86_64 GNU/Linux Debian Stretch built using make -j 24 and also under x86_64 GNU/Linux Debian Buster using make -j 4. Tested on Debian Stretch x86_64