From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by sourceware.org (Postfix) with ESMTPS id 994FD3849AEA for ; Fri, 10 May 2024 13:46:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 994FD3849AEA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 994FD3849AEA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::529 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715348819; cv=none; b=YfihqWrUox2iqlPlWlCO0YjgUKUEU8e+Zd+dy2gtgWPgzAaMIQZtT6ksBU+ZlUPgvsfCujCZy6emUnk6YMrtyNLPrauGibSOCwANb3rfY3h/pq0Z9ILHYtCBf6nIWmyb6Du77YujVUP1aWiy5+i/lWwK4Ou9v85Ks5EtwZdXOF8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715348819; c=relaxed/simple; bh=QahG8X+NocuGcFndS/xH8XyoSUj0yoP4YcrYy1STsag=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=miX4AdML1vdu5aBRDSQERftWVanoSfS4Ta+SJymg+zgOnv3LfoQAP/JGITZNLd9P9ZnXiiSWmeuREBtTe7coK8g4E6I3WpWz0KIa0oXo2KOrplWV28Pqj5vEUfwUa6FMepTmWVqpFp4O355P/7u+VLFy/KJ+0Od8su8ijih2KLM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-573137ba8d7so5664418a12.0 for ; Fri, 10 May 2024 06:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715348815; x=1715953615; darn=gcc.gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=QahG8X+NocuGcFndS/xH8XyoSUj0yoP4YcrYy1STsag=; b=hPPfIonFOHPy3hsL0pd/0hsuxEXjVYNr0NOzhPA+K8YJeDDWN5r+08e7bVNKq0LAoA tELO9+M+ukCgxTRLr6JKMKA1PkAgkkbfWIcdjWk3DVKzwYhLSeJvLfKKMcKtHxM6JfEm RZD+y1w7tzR656GOr2uLamtjaMfTHoUpIQCjpm92XH40EkACfEnXpwujtz0TZDo1CqFj QfHjMdeXLsSF1QEzmFre5rxKnQf/dfwdlEU+86cd22tLjtrVT6acAnUr9aRyacLP7hDv 7q3a1id8enNAYxBhNErtIRvOo11A4d/EL6JRIPdMxpJDLcusHbXV5/t2Non1x81yOCSE J/kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715348815; x=1715953615; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QahG8X+NocuGcFndS/xH8XyoSUj0yoP4YcrYy1STsag=; b=gZGxGrljvd6g4x9DHFlt0+M3lkbWeh9Sr9Qs4g49B7PF4sQuhhKOPD0N+3dnCrhH4J 9MAPp/lPjf49LDqoOhECHihI4k5SCl58xAN+KfBxy5G6hvG70YuXqExNOJe0a5rS8VcV WAyv+SYbBj6ms3ivfn3KYRjBOMyEa5g+NXmrv0ZW4mZDqprx57reQByGYnbMnmWzAw1B EiHXVnRoZowE3yXokk3BfWd2+eHV82jcHNHZFl8KbTY65KX1+EpiziUqWguYOoX6r1cv pn7Fq8wNYr/T8ZhtiIYmBnwhlGSGQbGjK+3NqGGgEsxxnS/doXoeT2NplMkxyMa1QCZf dAEg== X-Gm-Message-State: AOJu0YxDvhYMXXK28vhK70lx2BFBBp4i5fSarOiQJSj0z3dO+VdE4Iuq RJ9j0hxYUlpXO+BLUxmyYybsVZSDZuxKdPcTjbZLXEAauMPN87bFeShJyg== X-Google-Smtp-Source: AGHT+IH2HLOry8+VKRUoHhtO8Vm+76uNyoEr/JBGV9yE2LPbo6SwZT5a68l9iAVaePhknPZ1pGTWLA== X-Received: by 2002:a17:906:19d0:b0:a59:fb06:5d35 with SMTP id a640c23a62f3a-a5a1156665fmr465384466b.8.1715348815082; Fri, 10 May 2024 06:46:55 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a7ef.dip0.t-ipconnect.de. [79.227.167.239]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17922159sm186908066b.97.2024.05.10.06.46.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 06:46:54 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: jit@gcc.gnu.org Subject: Debug info on macOS Date: Fri, 10 May 2024 15:46:53 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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: Hi, I'm developing Emacs using its native compilation on macOS, which is based on libgccjit. In this context, I'm currently failing to get .eln files (= .so, .dylib, .dll depending on the platform) with debug info. This has probably its roots in the special handling of DWARF under macOS, a long-winded story leading to dSYM bundles... My question is: can I somehow configure libgccjit in a way that keeps the .o file that was used to produce the resulting .dylib, like it keeps/writes the various intermediate files that one can get? If that's possible, my hope would be to extract the debug info from the .o using dsymutil and use that with the .dylib. TIA!