From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: Please check if scratch/igc builds with native compilation Date: Thu, 23 May 2024 12:19:56 +0200 Message-ID: References: <87r0du5rly.fsf@gmail.com> <87le425p8i.fsf@gmail.com> <87ed9u5lbi.fsf@gmail.com> <87ikz56j66.fsf@gmail.com> <87cypc7v8y.fsf@gmail.com> <878r007tpf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23018"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Andrea Corallo , Emacs Devel , Eli Zaretskii To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 23 12:21:14 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sA5ZR-0005nH-SI for ged-emacs-devel@m.gmane-mx.org; Thu, 23 May 2024 12:21:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sA5YT-0001bW-15; Thu, 23 May 2024 06:20:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sA5YI-0001UT-8p for emacs-devel@gnu.org; Thu, 23 May 2024 06:20:04 -0400 Original-Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sA5YG-0007gs-G8; Thu, 23 May 2024 06:20:01 -0400 Original-Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-56e56ee8d5cso12910056a12.2; Thu, 23 May 2024 03:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716459598; x=1717064398; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2fIqWwYue+M2v2FxWu3mpOaKF3bR8JHTVSwJuPl+4WY=; b=dyIg7E4HHYlOURIgWTwjanvT0OnHQsPYCE4gOMDS3ByN1KvxtMQ4nAHyJVAtgeITOD u6vwyJTzyrlQGNS+HWOPmAXv7eyeoTetpKpsJ7z3NxtoDzX+ahpZTxtbOLQ2oCWy1RFw oAo4oLY9uI1rHnS+IM6MxMfClAx1mUOA83QeD8rMo3/Kn74vUlJH2qWHaAXZtTDMpsBP gAYa74a82I0GL2Jr8ZZc4U5hCoThtJdQ1zX4avZV1c1HYDglMuZ8HQXizAjwCkI/P2Yp dahPPnj2FQo3d/fe9rGjPrzLcRykcCiYD6JWCVtlL+kFMMNZ/yb+16sf7tU4LzuJiXiz bBmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716459598; x=1717064398; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=2fIqWwYue+M2v2FxWu3mpOaKF3bR8JHTVSwJuPl+4WY=; b=VKrnHOV0IlO0F4q8CpwZvF+PYI9Yvs7cWxMHde/fBqiptPuntogF9+U23+Yc1K8fJb 6T4V2VwCwqr3cdVMxkk/yW4iSquIxedlG2ng1+yFUsGdGyEUH+PrdGAx4KZ2aBdFcDy+ NCG1Jl6eTlc6dJd5IbCrsPRRktJbTdselKyslSKifnNXFQc3i8YsjcrD1S3rU6XnWvEU BLmZWsHgm3BZL1FqOq7/zqdGpvXGn2HLnUN1P8R0x7KUFdMU18b6LSPUfej0SDyBFkck /knAZCws4RWUBYuqzWTXAh0XXGmpHHhuxv0lSdRK+aNG92T+etz3Mh+Gd5ngQmg30pQ2 QDBw== X-Forwarded-Encrypted: i=1; AJvYcCWx+3FvC33e9lZzlyp9LHJOo9WZhkCJsNuHXSNS57WSnQN/okPAI7YovUBegvK2R968jpZ2uxqPYBQBGnTLB5y5rGVR+iXjwieCKOXp1AFm0JQ= X-Gm-Message-State: AOJu0Yxleumsaf0XjRNcK30DQeLsp7jNlWGxgAM1FPbqvJrph2AL6BVE a374aodaz73L8JqFyfZmvJyi4YfaJvC/i9DP94PWfDUDWlk6WaFtIFb7qA== X-Google-Smtp-Source: AGHT+IE+BUg/4YyQ9Xzc+YWi86I1QVPX/JM3pBA7X1OcBvuetp2PkpOtdwde3AyufvebaAQxkSYZ0g== X-Received: by 2002:a50:d748:0:b0:574:ec30:6c94 with SMTP id 4fb4d7f45d1cf-57832a81848mr3029227a12.19.1716459597599; Thu, 23 May 2024 03:19:57 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36701.dip0.t-ipconnect.de. [217.227.103.1]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733bebb57asm19566500a12.26.2024.05.23.03.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 03:19:57 -0700 (PDT) In-Reply-To: <878r007tpf.fsf@gmail.com> (Helmut Eller's message of "Thu, 23 May 2024 11:39:40 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x531.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319518 Archived-At: Helmut Eller writes: > On Thu, May 23 2024, Gerd M=C3=B6llmann wrote: > >> Not for me :-(. > > Can something like > > for (EMACS_INT i =3D 0; i < d_vec_len; i++) > data_relocs[i] =3D AREF (comp_u->data_vec, i); > > trigger a GC flip in the middle of the array? Hm. > Maybe only on macOS? Maybe we should be extra > careful and register the roots before writing to data_relocs? Could be. Even nices would we if things like struct Lisp_X *d_reloc|[123] were struct Lisp_X **d_reloc. Then one could just set a pointer, for example to v->contents of a vector that is currently there anyway. No idea why that isn't the case. I'll let it rest a bit now. Ihor will meanwhile take over ;-).