From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aIaIH1Doe2famgAAqHPOHw:P1 (envelope-from ) for ; Mon, 06 Jan 2025 14:27:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aIaIH1Doe2famgAAqHPOHw (envelope-from ) for ; Mon, 06 Jan 2025 15:27:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=PSvwVGgL; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736173648; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ewiVQxsYnDDiCTBLtVLc3IrUpfl5SapmGsFlBf++56A=; b=EcAM6LXgIYZsmxcEd9nK7CsdNoyLZ5Ow9RKWBmjSknmsqybavzPAbDC+QeGgs85/Bs8iNo UqLkMAfmluO+KL1R/dHHLcEmkOM78u0hSpirjPhWF4x6EAqtrS7rCmfq/144SDT1TDvSVt LjAb+nBzB0RoSAKsDKyIFZGEpEnQnqGWV+BnkKO60qEpsxSOpF0pHoVOVZkfSfLfgx1JQS mQWn9C2QyLCSBR0Ilo8MLL7PPiR5iebUfexigA63RuzypNqLJ7N41vrCnanjM/O8/+t0+0 ZXX6NIW8TiTb4rLfDaoLNA15Eh3XibqyQzPxB7DaNN60OG909iDlxdeDjs1LSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=PSvwVGgL; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736173648; a=rsa-sha256; cv=none; b=oKRUF0g4nubTozqe3IgJb+leBZYuefuzqwCVLlaNTy/isr4330Ae/3C+CPn2+/msLOTm9U ze1Bvtc51bo/1cLOQhPv//23n5AGRdeGhJ7i5Ku6cGJZuoJCDX70X/4bsxJ/20obDXJBrH cvxQ0SW1Pok/9kmB1SNMiamFkZiVgTVwF7xu4n59mmIFXcVTqV4urAvgqPxoFs/6Udbx4a Oh35uLqEU4ANTYfRtutHusyRvXnALqp7chtjYE5mdQZphpDZboUSrdcVg9BWk9hEZge9oG UR3o4IxeIFxKOqkjbjyJYdAVM+Zz0nnKjWoqnxEtxLqKXXiblG7MFA1acSTJOA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1FA94720F for ; Mon, 06 Jan 2025 15:27:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUo45-00082w-8c; Mon, 06 Jan 2025 09:26:45 -0500 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 <45mg.writes@gmail.com>) id 1tUo42-00082j-MV for guix-devel@gnu.org; Mon, 06 Jan 2025 09:26:42 -0500 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <45mg.writes@gmail.com>) id 1tUo41-0001iQ-7F; Mon, 06 Jan 2025 09:26:42 -0500 Received: by mail-pl1-x641.google.com with SMTP id d9443c01a7336-21634338cfdso8481575ad.2; Mon, 06 Jan 2025 06:26:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736173598; x=1736778398; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ewiVQxsYnDDiCTBLtVLc3IrUpfl5SapmGsFlBf++56A=; b=PSvwVGgLMqG70w5EU/zB5M38Vq72IzmrX6nU3+P1MQefPPw8PMMliOlCtqDRQNfVAo upD8JeHKFV0229sgto4D90tZ4v8Qc6zzEXJLAo04m0IkvHi/1ZHBjbyxWRlEvYCtSUX1 rP98Cece1+a6HTV2ln2xQmgQjXX+aCl0B8jY4cVa5A2oFwcsLvmiyCxqdgOEuAN1399r Ss/ouRtOPYPlBYT8hrTScfj6xFPyYipy0DVhkaNzFPGAqkEqDoK5QtTW75bGhhIAYfJA l53N4a2pWEk4PhNALKeuqpVZPOPfEZ7xpFqE29xExBqxP22/ZRsKECv/5QG2vFlrNylw NV3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736173598; x=1736778398; h=mime-version: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=ewiVQxsYnDDiCTBLtVLc3IrUpfl5SapmGsFlBf++56A=; b=eIdATZBcVDUyli4FSu5Kx8CJnZV/lFelS0WzQsKViVOH/cYrxdqNtQHrPDPSy0bM++ d75zKzJgjnOg+vfrLS+RA13f+9d/NiKHluji4nCQOSheqO45MJ202/4kqzkhxFK4zxap jxor/QzV/jvlIeHgzcno5jCc9sF1B8xm/VxhwvRZUNh9C/gt5/LJkHXpez+oAfDRPA9k kCe/1ntgApT4dKo6etXvI1w0jif4OvloVtQzwfw69hMZH6Kx3ZMcrDB5Lch/AJsAv4p7 ZmzceXNM/5HU8czvmzx8XY/6QKt72muF7zlSxVnAQBYu3HqW21+WhLsZ1pRah3k5Z5AO edpw== X-Forwarded-Encrypted: i=1; AJvYcCWmNALi0IRRzs9Gjb2Mci2UY9ejWu0FW3acxFxkOVfJNK7yJQLCTCS5TLr5RVxYSSPBqEsq8Q==@gnu.org, AJvYcCXx2H3vJVbemSZYRwDQvtUPuUf/k4y81+iOpvJcK9sk8I0TlxvnoC7lUiNvOKoeD7Ly1hpkUgWawd6v@gnu.org X-Gm-Message-State: AOJu0Yxnj1S7M82RlnK//yZTNW0IL/qeikzpXwaBqYWaqYC1kydKqBSB Km8C6GHCEgqiF5c++bzfTikvUfsX0OkCSXExYzZvuYrBGSBWIzyUzufi/mfb X-Gm-Gg: ASbGncuZWok/71seO/uoRuy2dnaEHjnSD53PNvX7/JaIVhw3sl93peIvwwzuQ5skXwg bg2+JDcio9XoJFqHprY0XbDVFMTTQylql1gdPLbLXF/wSSTM/jN+/viTRsp4mjVI/GNTPyfmO/2 Z3IiGpTU8Z89inaW7cMkQgw2CIllIBsbbYTUrtQcMfckOiFhY0RCXie3bHiPOwevoid2AuhuRCD RWph19n7DD3kV3vfiwTkKd/6M6+FJKdufWNzq6EsYk5x+wmF9BhlMjmjg== X-Google-Smtp-Source: AGHT+IHL+ut/QHS7zO7CMzm3FBkp9hKsSWAFshcz8J+ULu6fjAYA3EXhr/f3uxBcrf5DZewc7Q4uiQ== X-Received: by 2002:a17:902:ce01:b0:215:97c5:52b4 with SMTP id d9443c01a7336-219e6f2601emr915388255ad.39.1736173598064; Mon, 06 Jan 2025 06:26:38 -0800 (PST) Received: from guix0 (utm3.nitt.edu. [14.139.162.2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dca02e91sm293266295ad.274.2025.01.06.06.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 06:26:37 -0800 (PST) From: 45mg <45mg.writes@gmail.com> To: Attila Lendvai , Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Maxim Cournoyer , zimoun , guix-devel Subject: Globally configure Guile compiler optimization? (was: Re: Guile debugger workgroup?) In-Reply-To: <2m-RU6GKIEuW6fwb1WzaIhGyxUcl0eRO1o3xiVUTqIoVzrmdplzfGTAGBxrToB_Ii55lnXjVEyOtRPzI_iSuwuTQ733CjZ8XAvv39Ho6EGQ=@lendvai.name> References: <20221027035100.28852-1-maxim.cournoyer@gmail.com> <87y1s82o23.fsf@gmail.com> <87zgckwdtw.fsf@gmail.com> <87sficqb71.fsf@gmail.com> <86fsebdpl9.fsf@gmail.com> <87r0xrjbx1.fsf_-_@gmail.com> <87fse69czr.fsf@gnu.org> <87edtpw0hq.fsf@gmail.com> <87sfi3e4eb.fsf@gnu.org> <2m-RU6GKIEuW6fwb1WzaIhGyxUcl0eRO1o3xiVUTqIoVzrmdplzfGTAGBxrToB_Ii55lnXjVEyOtRPzI_iSuwuTQ733CjZ8XAvv39Ho6EGQ=@lendvai.name> Date: Mon, 06 Jan 2025 09:26:22 -0500 Message-ID: <87sepwrpbl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::641; envelope-from=45mg.writes@gmail.com; helo=mail-pl1-x641.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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -1.05 X-Spam-Score: -1.05 X-Migadu-Queue-Id: 1FA94720F X-TUID: ewPUM4sgLLE/ Hi Guix, Attila Lendvai writes: > i'm sure there's a way to globally override the > debug/optimization/inlining level in guile to make sure the code > compiles in a way that no breakpoints are missed (and/or backtraces > remain more intact, etc). > > this should also be added to the documentation, especially in the guix > context, where it's very much not as trivial as to change a command > line argument to e.g. start the guix daemon, or shepherd, in a > configuration that makes things more debuggable. It has been over 2 years since this message was posted, and I am still unable to find a way to do this. Has anyone figured it out yet? I'm not even sure if it /would/ improve anything, but it seems like something worth trying. For me at least, near-useless Guile backtraces are by far the biggest hindrance in writing code for Guix.