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: Native compilation on MPS branch Date: Mon, 22 Apr 2024 09:15:03 +0200 Message-ID: References: <86wmor6owq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13200"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 22 09:16:08 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 1rynuJ-0003CH-P5 for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Apr 2024 09:16:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryntQ-0007ZJ-0B; Mon, 22 Apr 2024 03:15:12 -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 1ryntP-0007ZB-2d for emacs-devel@gnu.org; Mon, 22 Apr 2024 03:15:11 -0400 Original-Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryntM-0002YM-Kw; Mon, 22 Apr 2024 03:15:10 -0400 Original-Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a55b93f5540so53904766b.1; Mon, 22 Apr 2024 00:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713770105; x=1714374905; darn=gnu.org; h=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=O32UrLWWwNfxNVVNgqIQlah8WubGVrDkgNZN/vL2xt0=; b=aiB2YQQ0pUe1z1eIA0qDrASLQDCFPF4hcGwVQhsOKE5/AQg8BckU677jS4Kef9UezC fp5L7XPA+7qOiFA89PfGZ/N88v+Oo6i+C8m02X2hs4sXUg6CbLaA/xFyTkra/SNKU/sb UWj/irH9sOhRN7s4AEYRRpcs3HMsi6vs6Jl5zMXf6gTmVC2cS/zekmXe2etRql0Oc1ez Gk1iyEUCX0mFTX3CevwyDfUxERuzDtRwOPGtUrShXQ9z9OzNr9P4i4rPLNQ2MB6is/N3 /HMZLb6ebL2IapJXe8Qx7SpWNQxKCsCh8RNywMAuD/QhULVy4ok63fWBIkkHY/3iugK6 odsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713770105; x=1714374905; h=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=O32UrLWWwNfxNVVNgqIQlah8WubGVrDkgNZN/vL2xt0=; b=PU3t5fZ12+UbJqRU6IB0LPvoTccKvikwb2bTs2EVl/mkRtN0t5MGLBYbSpedi2O4uE /71Rx1jwNGdVCoyczM/lm1q28/Z4Pn1+jAoor0umhWwUhnIGYQdj9/iEI0oFaLOCNyc5 aGLLLwxNdTnJLW7VowXkCqLAUq7aWiYbqwytYhJF/+4CSRwJT7sc6/vbb+qcNsVPICv2 AgdkKoIyWv8KwMMIeez/k41VZeps1doTLoc8ySzwERosCwlnGHVHGiYNdKcUhje+vJhP aeKrmbju9dQJ6SVA54fDvCmkbvFVG6K2UbgQGJzD4N5rK8xAtWyPf75jIqp5QnvY69Bf qQpw== X-Forwarded-Encrypted: i=1; AJvYcCVGh7mJHGjkUOUgK/rJttsrY4zIhof1LKfMDRICV9/D/rML4qsUYNT3/EjTmruCqirZSQbkDuZAJJbcsAROGdv6UZjb X-Gm-Message-State: AOJu0Yycnducq9+VOfN77CSqutfydGryIWW2fP11QKvHlqD2w6WeqgS2 fkU9NmUg9dzqOoNo9N1hvpq9EDw3uYaS07ugMqV/I1Mt3x201ifoPv7yqQ== X-Google-Smtp-Source: AGHT+IFt+pK6r2sfCYpQzyrLnZ/i6dZEnMdDWrJplpvdyANrBvqDamOSFTwyuF2FuvNB0YQ7ercrgg== X-Received: by 2002:a17:906:db0b:b0:a55:beab:cbdf with SMTP id xj11-20020a170906db0b00b00a55beabcbdfmr620620ejb.74.1713770104534; Mon, 22 Apr 2024 00:15:04 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3af79.dip0.t-ipconnect.de. [79.227.175.121]) by smtp.gmail.com with ESMTPSA id 16-20020a170906319000b00a5544063372sm5391134ejy.162.2024.04.22.00.15.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 00:15:04 -0700 (PDT) In-Reply-To: (Andrea Corallo's message of "Sun, 21 Apr 2024 09:07:02 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62f.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:317954 Archived-At: Andrea Corallo writes: > Keep us updated, I hope I can find some time to dedicate to the MPS > effor the upcoming week. Hi Andrea! I'm currently on a different problem that's the first one occurring when I don't do a build from scratch, but try to pdump with an existing eln. Loading emacs-lisp/macroexp (native compiled elisp)... Loading /Users/gerd/emacs/github/igc/lisp/cus-face.el (source)... Loading /Users/gerd/emacs/github/igc/lisp/faces.el (source)... Loading /Users/gerd/emacs/github/igc/lisp/ldefs-boot.el (source)... Loading /Users/gerd/emacs/github/igc/lisp/button.el (source)... Loading /Users/gerd/emacs/github/igc/lisp/emacs-lisp/cl-preloaded.el (source)... ./character.h:381: Emacs fatal error: assertion failed: 0xC0 <= c Fatal error 6: Aborted That's in string_char_and_len, and the reason is that the string is apparently kaputt. The actual problem seems to appear much earlier and 2km away. A symbol is created with name (struct Lisp_String) { u = { s = { size = 19 size_byte = 19 intervals = NULL data = 0x000000017961c6b0 "macroexp--backtrace" } next = 0x0000000000000013 gcaligned = '\x13' } } And that name/string isn't seen by MPS. Which should mean the symbol isn't seen, which should mean it's stored somewhere where I don't look. Since macroexp is dumped native-compiled, I thought I'd rather ask the expert, where that might be, than digging around in pdumper, or where else.