From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by sourceware.org (Postfix) with ESMTPS id D7C143858D34 for ; Wed, 27 Mar 2024 18:15:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D7C143858D34 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D7C143858D34 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::62f ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711563308; cv=none; b=IhqDLNQ53nl3F8Gg8s2dZNtR/N0IcTAUnWxH/qdoghwQt2vJJt/NLOxRAoeOBJ8osUSONCzbWDKljHx5C+eFiFbA1NFEqL03umbk4nj/PJbeN0hLA+0wKEAotlnycP+tpiM0P07ZKtuo/A30cCyKCgakZXgVvGvohhlUMWpxAb4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711563308; c=relaxed/simple; bh=eCuFZt2L+i660n0nuEpO6fA/mFPzN9ibA7Yxmkqup4Q=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=fbV8n5HfuYo0eOb0s+omKmlFuQK/cvmpCiyrM4cIxMxF3OOi73JZy4pbn2RXwdVygMkQoFZxoPrBnz9lZnI6Z1a+fMcn3/uuXTjUjyrCT8YYesSIGeQldmvDOnCheiEhs8HGxhaZa9Npu5AMaG1v3vCUasFqhOGXYovuhrfQejI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a4e1566610fso77766b.2 for ; Wed, 27 Mar 2024 11:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711563304; x=1712168104; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FGzHMXhNcyBogZRsfHaiwgWj+YBDbAuJhqKuPWtPn+I=; b=llhwDVA44CLBqIjsZX3pybTTPg5bC/SylU+XT/9lUfxjceM2FuX8E7JkqVGIso1vvT 5ZK8TeOIoX+Y387W997IWAcq2i/rJROe5u+I5spO0Ez1uFwMQi434OA29S92YxMbKW26 NdtWMlEmfuHVQGsyJ5XclsFZ3JyfkWe59LReMzdSxJcxh7GuSbltBZeFtCpl76jbf1pu peUAsDPylD4W86csVRG33QJIujabAuGf0LzZkMfvWb80lX4dvaUKFfl1OEiQjAYL5eZh 9xcIE/b4pyF70vVpjA1/+9iYs9W1hEUR5YbrA0NCzDfh6CPOazuF/Yh/hE/3sqDJbyao DcFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711563304; x=1712168104; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FGzHMXhNcyBogZRsfHaiwgWj+YBDbAuJhqKuPWtPn+I=; b=GJv2oCZPnni8/TVlhjcjdWIQZNyGbf7ZJM/8Pavv0GK2nZDuRO7/hom6Aa3dz/iLej LAaCg0NpKNMW1U5CINJvz607Ck/v9G+fcjUNkuCWkEY9GFdIqIgEXFIbwHoOy3Fx0l4r m0T+fA0y2YWGeVoXBDMum7xueUdBJWm4XK9ODbEnoHUbib6P+Nfh+hgfL4Z++yL3MRYB E/uJjcCyKMHudczEtvq1BkSGlx2VVEKjFc8fGaTDkY4B7svDK76arDqBlCYckZ/A19Uj heGPUuqw97Vx/SHMOuSMPWZ6REYLiWj0kgxoNl6hKJThuBzaqxhTdSQDG284zg8yGd7b pB9w== X-Forwarded-Encrypted: i=1; AJvYcCXSulE73nUIo5B8gQGxDAYOmv1/6HRkHlWkF5Lsd2wTNgcDzHzabkD0pqt3vMElGktrm7A6oF2+x+oOdyVjUwWLVfbfJDsnVA== X-Gm-Message-State: AOJu0Ywg16MYYh/hbE6P+A2hukphhzG66QqOboljHsAmfc1e4YqXJoyf wcWUD+iwb+uzUjLpPQEFsNSDdNVFLRtFWlItxhO1RFGDXB9sOgxWmyp+9Xsp/EPwmvwme07KDKH r68X5HhUs2QOQIZJZHJB8UBb8oxT9COQTYuPZTiaatWLExZwlVbw= X-Google-Smtp-Source: AGHT+IG45JQbUoH+WyCZ5PMQhKfK6mPliG8cif53maNWAri9+Kaja88B4L/mJa6BBa00e3X18AD8taGzoVqUBZRGSAE= X-Received: by 2002:a17:907:9485:b0:a47:36e5:5514 with SMTP id dm5-20020a170907948500b00a4736e55514mr257813ejc.14.1711563302033; Wed, 27 Mar 2024 11:15:02 -0700 (PDT) MIME-Version: 1.0 References: <20240313080237.1143034-1-christophe.lyon@linaro.org> <1eb529f2-3842-4090-a8e2-f713a28f2394@simark.ca> <78f1d113-f8ac-4a76-8dea-9f92519c1a89@linux.ibm.com> In-Reply-To: <78f1d113-f8ac-4a76-8dea-9f92519c1a89@linux.ibm.com> From: Christophe Lyon Date: Wed, 27 Mar 2024 19:14:53 +0100 Message-ID: Subject: Re: [RFC] add regenerate Makefile target To: Jens Remus Cc: Simon Marchi , binutils@sourceware.org, gdb@sourceware.org, GCC Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham 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 Tue, 26 Mar 2024 at 16:42, Jens Remus wrote: > > Am 15.03.2024 um 09:50 schrieb Christophe Lyon: > > On Thu, 14 Mar 2024 at 19:10, Simon Marchi wrote: > >> On 2024-03-13 04:02, Christophe Lyon via Gdb wrote: > ... > >> There's just the issue of files that are generated using tools that ar= e > >> compiled. When experimenting with maintainer mode the other day, I > >> stumbled on the opcodes/i386-gen, for instance. I don't have a good > >> solution to that, except to rewrite these tools in a scripting languag= e > >> like Python. > > > > So for opcodes, it currently means rewriting such programs for i386, > > aarch64, ia64 and luckily msp430/rl78/rx share the same opc2c > > generator. > > Not sure how to find volunteers? > > Why are those generated source files checked into the repository and not > generated at build-time? Would there be a reason for s390 do so as well > (opcodes/s390-opc.tab is generated at build-time from > opcodes/s390-opc.txt using s390-mkopc built from opcodes/s390-mkopc.c)? > I remember someone mentioned a requirement of being able to rebuild with the sources on a read-only filesystem. I don't know if there's a requirement that such generated files should be part of the source tree though. Is opcodes/s390-opc.tab in builddir or in srcdir? I think there are other motivations but I can't remember them at the moment= :-) Thanks, Christophe > Thanks and regards, > Jens > -- > Jens Remus > Linux on Z Development (D3303) and z/VSE Support > +49-7031-16-1128 Office > jremus@de.ibm.com > > IBM > > IBM Deutschland Research & Development GmbH; Vorsitzender des > Aufsichtsrats: Wolfgang Wendt; Gesch=C3=A4ftsf=C3=BChrung: David Faller; = Sitz der > Gesellschaft: B=C3=B6blingen; Registergericht: Amtsgericht Stuttgart, HRB= 243294 > IBM Data Privacy Statement: https://www.ibm.com/privacy/