From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 66625385829C for ; Mon, 11 Jul 2022 08:21:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 66625385829C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 578A4C70E9; Mon, 11 Jul 2022 10:21:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mjoEchsQOO9k; Mon, 11 Jul 2022 10:21:12 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p508547b6.dip0.t-ipconnect.de [80.133.71.182]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 1A539C74B1; Mon, 11 Jul 2022 10:21:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1657527672; bh=8VlhihIeQqEmiIrthZpIqX8+jswtuSzwmHxI8opTdXA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kcqGIxPPsD6KJFMLMpQPrCeAUZWABvIO/kqtUTCkjA/WyPFWlJmxk5i5vuH3r8gXh 7baSwlQN1tT+MEzIWix+eKi3bs7R6slfxNehEHHBGBV7TceuUYsdxXSl2RuHK6bbjH i4n3DL1i0lZG/mqvlLQvCmqkmrYPdIQLUcSLUke4GfbPkoWbGPKrkGi7wjo+Ct51IQ q7Q0gP478bJwCVckxC61to6dfj7kQSgl+O+GkE3TIh0/FBJ28CD2MKLIx6sCx+jMtT keJa+EY/SFHmb5v6n9WZtaiS8paIL+hOhtsTPwHYkw0xu+2ZeiqJJiFFnzVyihiWHP K2a04vHRDrbWA== From: Rainer Orth To: Gaius Mulley via Gcc-patches Subject: Re: Modula-2: merge followup (brief update on the progress of the new linking implementation) References: <87h73qy3vb.fsf@debian> Date: Mon, 11 Jul 2022 10:21:11 +0200 In-Reply-To: <87h73qy3vb.fsf@debian> (Gaius Mulley via Gcc-patches's message of "Sat, 09 Jul 2022 11:31:04 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3788.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 08:21:16 -0000 Hi Gaius, > A very brief update to say that I've merged the new linking > implementation back onto the devel/modula-2 branch, unfortunately, that branch doesn't bootstrap for me anywere: * On both x86_64-pc-linux-gnu and i386-pc-solaris2.11: libtool: compile: /var/gcc/modula-2/11.4-gcc-modula-2/./gcc/gm2 -B/var/gcc= /modula-2/11.4-gcc-modula-2/./gcc/ -c -g -O2 -g -O2 -I. -I/vol/gcc/src/hg/m= aster/modula-2/gcc/m2/gm2-libs-min -I/vol/gcc/src/hg/master/modula-2/gcc/m2= /gm2-libs -fno-exceptions -fno-m2-plugin /vol/gcc/src/hg/master/modula-2/li= bgm2/libm2min/../../gcc/m2/gm2-libs-min/M2RTS.mod -fPIC -DPIC -o .libs/M2R= TS.o /vol/gcc/src/hg/master/modula-2/libgm2/libm2min/../../gcc/m2/gm2-libs-min/M= 2RTS.mod:29:1: error: In implementation module =E2=80=98M2RTS=E2=80=99: mod= ule does not export procedure which is a necessary component of the runtime= system, hint check the path and library/language variant 29 | IMPORT libc, SYSTEM ; | ^~~~~~ make[5]: *** [Makefile:746: M2RTS.lo] Error 1 and several more. * On sparc-sun-solaris2.11: /bin/ksh /vol/gcc/src/hg/master/modula-2/gcc/m2/tools-src/makeSystem -fpim \ /vol/gcc/src/hg/master/modula-2/gcc/m2/gm2-libs/SYSTEM.def \ /vol/gcc/src/hg/master/modula-2/gcc/m2/gm2-libs/SYSTEM.mod \ -I/vol/gcc/src/hg/master/modula-2/gcc/m2/gm2-libs \ "/var/gcc/modula-2/11.4-gcc-modula-2/./gcc/gm2 -B/var/gcc/modu= la-2/11.4-gcc-modula-2/./gcc/ -fno-checking" /var/gcc/modula-2/11.4-gcc-mod= ula-2/gcc/m2/gm2-libs/SYSTEM.def gm2: internal compiler error: Segmentation Fault signal terminated program = cc1gm2 Please submit a full bug report, with preprocessed source (by using -frepor= t-bug). See for instructions. SYSTEM module creates type: LOC SYSTEM module creates type: WORD SYSTEM module creates type: BYTE SYSTEM module creates type: ADDRESS SYSTEM module creates type: INTEGER8 SYSTEM module creates type: INTEGER16 SYSTEM module creates type: INTEGER32 SYSTEM module creates type: INTEGER64 SYSTEM module creates type: CARDINAL8 SYSTEM module creates type: CARDINAL16 SYSTEM module creates type: CARDINAL32 SYSTEM module creates type: CARDINAL64 SYSTEM module creates type: WORD16 SYSTEM module creates type: WORD32 SYSTEM module creates type: WORD64 SYSTEM module creates type: BITSET8 SYSTEM module creates type: BITSET16 SYSTEM module creates type: BITSET32 SYSTEM module creates type: REAL32 SYSTEM module creates type: REAL64 SYSTEM module creates type: REAL128 SYSTEM module creates type: COMPLEX32 SYSTEM module creates type: COMPLEX64 SYSTEM module creates type: COMPLEX128 SYSTEM module creates type: CSIZE_T SYSTEM module creates type: CSSIZE_T gm2: internal compiler error: Segmentation Fault signal terminated program = cc1gm2 Please submit a full bug report, with preprocessed source (by using -frepor= t-bug). See for instructions. make[3]: *** [/vol/gcc/src/hg/master/modula-2/gcc/m2/Make-lang.in:1237: /va= r/gcc/modula-2/11.4-gcc-modula-2/gcc/m2/gm2-libs/SYSTEM.def] Error 4 make[3]: Leaving directory '/var/gcc/modula-2/11.4-gcc-modula-2/gcc' make[2]: *** [Makefile:5055: all-stage2-gcc] Error 2 cc1gm2 -quiet -mcpu=3Dv9 -fpim -fno-scaffold-main -fno-scaffold-dynamic -fn= o-scaffold-static -fno-m2-plugin -fdump-system-exports -c -I/vol/gcc/src/hg= /master/modula-2/gcc/m2/gm2-libs -I/usr/local/lib/gcc/sparc-sun-solaris2.11= /13.0.0/m2/m2pim /vol/gcc/src/hg/master/modula-2/gcc/m2/gm2-libs/SYSTEM.mod= -o SYSTEM.s Thread 2 received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0xffbfe364 in ?? () (gdb) bt #0 0xffbfe364 in ?? () #1 0x0064be24 in m2expr_BuildBinarySetDo () #2 0x006a5634 in CodeBinarySetShift(m2expr_BuildSetProcedure_p, DoProcedur= e_p, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, = unsigned int, unsigned int) () #3 0x006ae0e8 in M2GenGCC_ConvertQuadsToTree () #4 0x006ccc14 in M2Scope_ForeachScopeBlockDo () #5 0x006a2014 in M2Code_CodeBlock () #6 0x006ca324 in Lists_ForeachItemInListDo () #7 0x006936a0 in SymbolTable_ForeachProcedureDo () #8 0x006a2194 in M2Code_CodeBlock () #9 0x006a2608 in M2Code_Code () #10 0x00684214 in M2Comp_compile () #11 0x00627b5c in gm2_langhook_parse_file() () #12 0x00d8c968 in compile_file() () #13 0x00d905fc in toplev::main(int, char**) () #14 0x01a092dc in main () Seems like PR modula2/101392 raised its ugly head again, after it had been gone for a while. I'm currently trying sparcv9-sun-solaris2.11 instead to see how that fares. Rainer --=20 ---------------------------------------------------------------------------= -- Rainer Orth, Center for Biotechnology, Bielefeld University