From MAILER-DAEMON Mon Oct 05 11:19:48 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kPSHE-00010I-Hj for mharc-gm2@gnu.org; Mon, 05 Oct 2020 11:19:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPSHC-000102-M0 for gm2@nongnu.org; Mon, 05 Oct 2020 11:19:46 -0400 Received: from postbox-1.southwales.ac.uk ([194.82.57.76]:45920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPSH2-0003mK-K9 for gm2@nongnu.org; Mon, 05 Oct 2020 11:19:44 -0400 Received: from j228-gm.comp.glam.ac.uk ([193.63.148.84]) by postbox-1.southwales.ac.uk with esmtp (Exim 4.90_1) (envelope-from ) id 1kPSGw-00110S-Bg; Mon, 05 Oct 2020 16:19:30 +0100 From: Gaius Mulley To: gm2@nongnu.org Subject: latest changes pushed to master Date: Mon, 05 Oct 2020 16:19:30 +0100 Message-ID: <87imbo8zul.fsf@j228-gm.comp.glam.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=194.82.57.76; envelope-from=gaius.mulley@southwales.ac.uk; helo=postbox-1.southwales.ac.uk X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/05 11:19:30 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2020 15:19:46 -0000 Hi, I thought I'd mention the changelog entry recently pushed to master, which tightens the debugging accuracy and error accuracy by producing virtual tokens for all sub-expressions created. It also implements creation of different constant literals depending upon the whereabouts of the location counter. Again this should provide more accurate errors/runtime errors and debugging notes. For working code these changes have no effect (but the code base is cleaner M2Quads.mod) regards, Gaius From MAILER-DAEMON Sat Oct 31 20:33:58 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kZ1Jm-0004q0-Em for mharc-gm2@gnu.org; Sat, 31 Oct 2020 20:33:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZ1Jl-0004pt-Dc for gm2@nongnu.org; Sat, 31 Oct 2020 20:33:57 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.162]:22506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZ1Jj-0003eC-1A for gm2@nongnu.org; Sat, 31 Oct 2020 20:33:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1604190831; s=strato-dkim-0002; d=pwiehe.de; h=Message-Id:Subject:To:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=Znm8xSEpm4GKKgb/g33OJ5SoEb60imDgCJ1iP/vOJIY=; b=oCNT08f2aBBnfdvNlo3aRkMhTZGH6O8ScxclH2JAt7Km+NwtFYxSLumV1ysRKBB6Em RarGo/09MxDZSZmWmSbJzHBULJC8bXsfUl74gH/egmvw9fcCEe+SD1GJOW72VXq41suB 6IHMPXkhl2CvX/q2eeS6exxJ/g82QeHPMDTsDMnfAN0HfoAGJ8BUAP/QCT5hrobkmugp 6Szk2Rb8/yknr/9Z3vmKQpkrzBQRRacvRyJfuNEgpVamrV5np00pgaaz2Gq8ngODBHn2 xOCFkpsoUEzBsXPFuBO4066+yOjl/iqwOnjaHkyKFyp/uaNWAyDTorOY76Q7fXs7DTag RiEg== X-RZG-AUTH: ":JWICemD9IqpTnIG8ncyXO6yXI9kPoVs3p5tgQLb0mOECfgtzOvNbZk3ubg11QbVccR5nryE80hpqW5m2bD32kbg/uKfBjznH75GHf9RycBsHcREQbLBEWytb3A76" X-RZG-CLASS-ID: mo00 Received: from peter-desktop by smtp.strato.de (RZmta 47.3.0 AUTH) with ESMTPSA id N082fdwA10Xo91Q (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Sun, 1 Nov 2020 01:33:50 +0100 (CET) Date: Sun, 1 Nov 2020 01:33:50 +0100 From: Peter Wiehe To: gm2@nongnu.org Subject: Simple program doesn't compile Message-Id: <20201101013350.ba03d4bb425075c0d5c5d625@pwiehe.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=81.169.146.162; envelope-from=info@pwiehe.de; helo=mo4-p00-ob.smtp.rzone.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/31 20:33:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2020 00:33:57 -0000 Hello GNU Modula-2 list! I have the following program source code: ------------------ MODULE Test; BEGIN END Test. ------------------ It is in test.mod. I type in the shell: gm2 -g test.mod Then I get the following output: ----------------------------------- /usr/bin/ld: /tmp/ccePqjIl.a(wayfarer1_m2.o): in function `init(int, char**)': /home/peter/Schreibtisch/dev/Wayfarer 1/wayfarer1_m2.cpp:69: undefined reference to `_M2_Wayfarer1_init' /usr/bin/ld: /tmp/ccePqjIl.a(wayfarer1_m2.o): in function `finish()': /home/peter/Schreibtisch/dev/Wayfarer 1/wayfarer1_m2.cpp:80: undefined reference to `_M2_Wayfarer1_finish' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/m2/m2pim/libm2pim.so: undefined reference to `RTco_select' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/m2/m2pim/libm2pim.so: undefined reference to `RTco_initSemaphore' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/m2/m2pim/libm2pim.so: undefined reference to `RTco_wait' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/m2/m2pim/libm2pim.so: undefined reference to `RTco_signal' collect2: error: ld returned 1 exit status ------------------------------- I use gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 and gm2 (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 What can I do to get the program compiled? Greetings Peter