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 08:12:03 +0200 Message-ID: References: <87r0du5rly.fsf@gmail.com> <87le425p8i.fsf@gmail.com> <87ed9u5lbi.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="19706"; 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 08:13:11 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 1sA1hP-0004xs-MI for ged-emacs-devel@m.gmane-mx.org; Thu, 23 May 2024 08:13:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sA1gU-0006Ry-SB; Thu, 23 May 2024 02:12:15 -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 1sA1gQ-0006QB-9M for emacs-devel@gnu.org; Thu, 23 May 2024 02:12:10 -0400 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sA1gO-0002Gp-Os; Thu, 23 May 2024 02:12:10 -0400 Original-Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-56e48d0a632so15146665a12.2; Wed, 22 May 2024 23:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716444725; x=1717049525; 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=rtOAc2Nf13k97po8T7gpjKTzKNz0/WiAg5lhIenwLTw=; b=agyD5fe/HUtdbIxkzsL0d7LK+1slV7BMtP6eYf85GaoGPDX3zMEDK74sWlCFxHLkGs SRnSC6nZ5H0AMWAq78sHyT43gT7YXFA/+oQsT2Zyv0mJcaEwpIv3Uw2T/LmhQDSEkGwB hS3K8Vf66ryXKumQB4WxufUKJFjyV8RDIJlH37XByRT1PedTv369hPHfIecQI3rJm0gP JImWCU/CDHWDhBEi7cg48RdoAU280CfkUDWrKAngmptHPC/Qjy21dUAcDLrqKFTaeGPX dYKI5ykOMUcNVKY1xyVi3BNsCGo9QOoBf1yiKJlBSECanCiAgvnHjUHkUej4GWOiC6P6 fmfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716444725; x=1717049525; 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=rtOAc2Nf13k97po8T7gpjKTzKNz0/WiAg5lhIenwLTw=; b=FHIRN8hpupm1TMKVc/5yhCdRWBKJiu8SOaRXeTByTjeV0vdlD2U+yaqRNE2eBFINI7 LW27/n+Y10VuJ+czLqfsWaRz+t5O0HcvytL3Efe+uQbbTMF4jGH7ryV0ZOWvAqrF460L RkMmOtSsuvcZts8lya5vYl9lQ6MFLN3iDpf2G7ioFuevc3iVE7wGebh/+3Ws6pfijloc /knVA54OMijZSZqDjuBuFexELSBjazjXNRdrVbpgXaxBBod6LlnGXqxaOJTyJ3nzx1jN 3jfVWRfZEGzzJcTW9iihi6bBnF3fMad/qdql3XFdGui7gAqrUi2Y4RBcFv1ucqmPXmAE lfVw== X-Forwarded-Encrypted: i=1; AJvYcCWbd3aIdIKZrWjg9nKkdGNKF4MplzGJEFG0Qq+dyDnN/jGhIZAPm1i5O7rgfAtA+Lr6TCfxmM3jDqP0cPbhBQND5sMwHyHN5ndXykgsNUmsEBA= X-Gm-Message-State: AOJu0YytTkz22HpKfels/eskAWVlnxxWbGlOIbyZZb+r4we9UOJNm068 zNmKY4+CVMeV9INjduzXvhbpvn6bEBelaFcowylDRSe67iSzqwyiP2znyw== X-Google-Smtp-Source: AGHT+IGZ9CNEukgAolp+krKII5b43BT333Yg4OBz51aZvHFLfGL8WRaaW7cyVai0m6vvaIRNzEH7BA== X-Received: by 2002:a50:8acb:0:b0:56e:23e3:bdc2 with SMTP id 4fb4d7f45d1cf-578329fd42cmr3493116a12.13.1716444724549; Wed, 22 May 2024 23:12:04 -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-578480d5b85sm342393a12.4.2024.05.22.23.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 23:12:03 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Wed, 22 May 2024 20:03:42 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x532.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:319494 Archived-At: Gerd M=C3=B6llmann writes: > Gerd M=C3=B6llmann writes: > >> Or something completely different, I actually have no idea :-). > > I came to one conclusion this afternoon nemely that fix_comp_unit is > 100% wrong: it may not scan d_reloc etc. in the shared object > because there is no synchronization between threads reading/writing > these. > > Remains the question why making them roots did not work for me. A root > ensures synchronization by stopping the world while roots are scanned. > > I guess I'll have to double check if that was really the same error as > w/o roots, or if it only looked like it was. I've now pushed something. This doesn't make the native comp build work, but the errors are different, and in the cases of IGC_OBJ_FWD assertions I think these don't have the same cause, at least they don't follow the patterns I've previously seen in LLDB. In summary, I think this is an improvement. Could anyone (of the currently n =3D 3 people reporting back (not disappointing because expected) try this?