From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 46666385C335 for ; Tue, 30 Aug 2022 12:45:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 46666385C335 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6511B221E5; Tue, 30 Aug 2022 12:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1661863500; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dVWJ98gpaJLxbSMWLW7tyaznuR9lGaZGux5mQAKm7Io=; b=nOuJJjh/I6ppHEmcHa4Nzk3SZ7jzXbE4tHBnuxeq3hY5IMVgCgKAi/rLojGAYzbIs6QuPm lypKhDvSc5iK9OFKw1BvAgQqnkkp/UAWSqom2yHz8ei3tX6IKrmL2kpBtK85/8UVMbog0K aueVrWLFnMNeSQxkMX1kPRq3/1ZE2YU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1661863500; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dVWJ98gpaJLxbSMWLW7tyaznuR9lGaZGux5mQAKm7Io=; b=uoWOqPlE4F9+td4+vnKENYN3NY0EtuaCGR4f/njr9iwpfQC2oihKEYUEr8lP+qbUN7FQoi fL11xyjmwpK2crCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 468AD13B0C; Tue, 30 Aug 2022 12:45:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6c8JEEwGDmPbbQAAMHmgww (envelope-from ); Tue, 30 Aug 2022 12:45:00 +0000 Message-ID: <163022e2-1f71-da70-abd4-0539e3579a13@suse.cz> Date: Tue, 30 Aug 2022 14:44:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: Modula-2: merge followup (brief update on the progress of the new linking implementation) Content-Language: en-US To: Gaius Mulley , gcc-patches@gcc.gnu.org References: <87h73qy3vb.fsf@debian> <87ler60z9c.fsf@debian> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: <87ler60z9c.fsf@debian> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 8/30/22 13:03, Gaius Mulley via Gcc-patches wrote: > > Another very brief update to say that I'm now tidying up the code and > primary platform testing > > regards, > Gaius Hello. As you may know I'm working on the documentation migration from texinfo to Sphinx and I noticed you have quite some documentation written in Texinfo. Thus, I tried using my conversion script, but ended with: $ m2/boot-bin/mc --olang=c++ --h-file-prefix=G -I/home/marxin/Programming/gcc2/gcc/m2/gm2-libs -I/home/marxin/Programming/gcc2/gcc/m2/gm2-compiler -I/home/marxin/Programming/gcc2/gcc/m2/gm2-libiberty -I/home/marxin/Programming/gcc2/gcc/m2/gm2-gcc --quiet --gcc-config-system --extended-opaque -o=m2/gm2-compiler-boot/M2GCCDeclare.c /home/marxin/Programming/gcc2/gcc/m2/gm2-compiler/M2GCCDeclare.mod /* --extended-opaque seen therefore no #include will be used and everything will be declared in full. */ terminate called after throwing an instance of 'unsigned int' Aborted (core dumped) $ Program received signal SIGSEGV, Segmentation fault. 0x000000000043771e in decl_isConst (n=0xbabababababababa) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:22530 22530 return n->kind == const_; (gdb) bt #0 0x000000000043771e in decl_isConst (n=0xbabababababababa) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:22530 #1 0x0000000000432526 in addEnumConst (n=0xbabababababababa) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:19914 #2 0x00000000004313aa in visitNode (v=0x17cd5910, n=0xbabababababababa, p=...) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:19240 #3 0x0000000000430ba9 in visitIntrinsic (v=0x17cd5910, n=0x5015c0, p=...) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:18871 #4 0x0000000000430cc6 in visitDependants (v=0x17cd5910, n=0x5015c0, p=...) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:18923 #5 0x00000000004313c1 in visitNode (v=0x17cd5910, n=0x5015c0, p=...) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:19241 #6 0x00000000004325b8 in populateTodo (p=...) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:19938 #7 0x0000000000432613 in topologicallyOut (c=..., t=..., v=..., tp=..., pc=..., pt=..., pv=...) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:19957 #8 0x0000000000426ffb in outDeclsImpC (p=0x17cc39a0, s=...) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:13910 #9 0x0000000000432f2f in outImpC (p=0x17cc39a0, n=0x541800) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:20142 #10 0x00000000004337b5 in outC (p=0x17cc39a0, n=0x541800) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:20285 #11 0x000000000043bd9b in decl_out () at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gdecl.c:26621 #12 0x000000000043eae6 in doCompile (s=0x50a190) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/GmcComp.c:223 #13 0x000000000043f646 in mcComp_compile (s=0x50a190) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/GmcComp.c:637 #14 0x0000000000451d91 in init () at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gtop.c:59 #15 0x0000000000451da8 in _M2_top_init (argc=12, argv=0x7fffffffd9a8) at /home/marxin/Programming/gcc2/gcc/m2/mc-boot/Gtop.c:64 #16 0x000000000048b4c2 in main (argc=12, argv=0x7fffffffd9a8) at m2/mc-boot/main.c:179 Have a couple of questions: 1) What's gcc/m2/www/tools/createhtml.py about? Will you need it once the branch is merged to master? 2) You generate some texi files on fly: ./gcc/m2/gm2-ebnf.texi, ./gcc/m2/Builtins.texi Would it be possible emitting Sphinx in the future? Thanks, Martin