From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93799 invoked by alias); 3 Jul 2019 08:41:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 93514 invoked by uid 89); 3 Jul 2019 08:41:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_SHORT autolearn=ham version=3.3.1 spammy=1800, master! X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Jul 2019 08:41:16 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id CAC5546A; Wed, 3 Jul 2019 10:41:11 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nOvwnrIalHc2; Wed, 3 Jul 2019 10:41:09 +0200 (CEST) Received: from itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (itzacchiuatl.CeBiTec.Uni-Bielefeld.DE [129.70.161.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 8548E469; Wed, 3 Jul 2019 10:41:09 +0200 (CEST) Received: (from ro@localhost) by itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id x638f89x008005; Wed, 3 Jul 2019 10:41:08 +0200 (CEST) From: Rainer Orth To: Gaius Mulley Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH, Modula-2 (C/C++/D/F/Go/Jit)] (Register spec fn) (v2) References: <87k1doxqhv.fsf@j228-gm.comp.glam.ac.uk> Date: Wed, 03 Jul 2019 08:41:00 -0000 In-Reply-To: <87k1doxqhv.fsf@j228-gm.comp.glam.ac.uk> (Gaius Mulley's message of "Fri, 14 Jun 2019 14:09:48 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00236.txt.bz2 Hi Gaius, > here is version two of the patches which introduce Modula-2 into the > GCC trunk. The patches include: > > (*) a patch to allow all front ends to register a lang spec function. > (included are patches for all front ends to provide an empty > callback function). > (*) patch diffs to allow the Modula-2 front end driver to be > built using GCC Makefile and friends. > > The compressed tarball includes: > > (*) gcc/m2 (compiler driver and lang-spec stuff for Modula-2). > Including the need for registering lang spec functions. > (*) gcc/testsuite/gm2 (a Modula-2 dejagnu test to ensure that > the gm2 driver is built and can understands --version). > > These patches have been re-written after taking on board the comments > found in this thread: > > https://gcc.gnu.org/ml/gcc-patches/2013-11/msg02620.html > > it is a revised patch set from: > > https://gcc.gnu.org/ml/gcc-patches/2019-06/msg00220.html > > I've run make bootstrap and run the regression tests on trunk and no > extra failures occur for all languages touched in the ChangeLog. > > I'm currently tracking gcc trunk and gcc-9 with gm2 (which works well > with amd64/arm64/i386) - these patches are currently simply for the > driver to minimise the patch size. There are also > 1800 tests in a > dejagnu testsuite for gm2 which can be included at some future time. I meant to give a build with gm2 included a try on Solaris, but ended up pretty much confused: * I've started with the gm2 repo on savannah. Running the combine-trees script on master tried to combine gm2 with gcc 4.7.4. Trying again with configure --with-gcc=none (no branch, for trunk?) didn't work either (don't remember the details off-hand). * Next, I discovered and tried the gcc_trunk branch there. While it matches the patch set you sent here, it lacks most of the compiler proper, which only lives on master!? In addition, the patches in there lack support for building libgm2. Those are present on the master branch (which has both trunk and trunc in gcc-versionno/gcc/gm2/patches/gcc). I tried to merge the trees and apply the patches manually, but failed again later. At this point, I gave up. Am I missing something fundamental here? Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University