From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yAcVFsvh5WH8DAAAgWs5BA (envelope-from ) for ; Mon, 17 Jan 2022 22:38:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4N1WE8vh5WHgMwAA9RJhRA (envelope-from ) for ; Mon, 17 Jan 2022 22:38:19 +0100 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 0EC9B1E56A for ; Mon, 17 Jan 2022 22:38:19 +0100 (CET) Received: from localhost ([::1]:49208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9Zhi-0005b9-6h for larch@yhetil.org; Mon, 17 Jan 2022 16:38:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9ZhT-0005Ox-5S for guix-patches@gnu.org; Mon, 17 Jan 2022 16:38:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9ZhR-0007Uj-Vj for guix-patches@gnu.org; Mon, 17 Jan 2022 16:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9ZhR-0007PM-QA for guix-patches@gnu.org; Mon, 17 Jan 2022 16:38:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53324] [PATCH] gnu: Add uftrace. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jan 2022 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Olivier Dion , 53324@debbugs.gnu.org Received: via spool by 53324-submit@debbugs.gnu.org id=B53324.164245546028444 (code B ref 53324); Mon, 17 Jan 2022 21:38:01 +0000 Received: (at 53324) by debbugs.gnu.org; 17 Jan 2022 21:37:40 +0000 Received: from localhost ([127.0.0.1]:48318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Zh5-0007Oh-N2 for submit@debbugs.gnu.org; Mon, 17 Jan 2022 16:37:39 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:49828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Zh2-0007OV-Mv for 53324@debbugs.gnu.org; Mon, 17 Jan 2022 16:37:38 -0500 Received: from [192.168.202.254] ([178.119.10.153]) by andre.telenet-ops.be with bizsmtp id jxda260033J72EA01xdaN4; Mon, 17 Jan 2022 22:37:34 +0100 Message-ID: <233bfd5965974c3f33639d28e67210f2462e028b.camel@telenet.be> From: Maxime Devos Date: Mon, 17 Jan 2022 22:37:29 +0100 In-Reply-To: <87h7a2vzwv.fsf@laura> References: <6856160952d91ecf9887db79e7e0fbb1ca06daba.camel@telenet.be> <87h7a2vzwv.fsf@laura> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-vEnbmX25mbfS66p+6fSr" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1642455455; bh=S/u2pmoU2Rxw8oMrf9DJAdJ/T/yHhIxqfRqfuMAj+lg=; h=Subject:From:To:Date:In-Reply-To:References; b=JRQljKOwgtFOwxoXlM/MzyOn/1xr46Siz3tuib6L+qdY2tIZVXltBlJsI0Sv8tj3x bZLIWlhyT1qmB7srDhZBxpp54MxDcl5RqadRlzgYPb2cZ6sFZT/rJODOggMgKKz6Ca qSKXs7a3hWJyjQ4xjX61bCY0PGWlRwfjOwQEQQ0SHbIE7ia/rJMdV1Wg4K4TqstXLZ JWT1oU7YGvx+ssqwaV3boPoxfOC6ta1LdD2Q5oJ7G/boW9D59hnybSq14CPACVFQN+ +RfEq8SVvKcLw52iMnWCRkDkQ3Esb0wGzAEvNWkFesnDQ18UoFnulo3fB0F1DxUBIz ftBGs8z5VCNZg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642455499; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=S/u2pmoU2Rxw8oMrf9DJAdJ/T/yHhIxqfRqfuMAj+lg=; b=tr0zccyqHoZ0hg1R3ZNJt3vZAotsa9qjusswrLiviSs2EJ7AfCtZXKzylm2ynCsTNeCY+d lMfVK6PUeq70nm2eAZMGYovPl//rHzN+qOxKxETntJVtiB3sEliFCpdEfDO4EMzFgg4Djp CI+ytoJIGv0i7HC/SAPOCUYfryHcn9Fuf2A//TuagJGJE01d+afk2gF3jCPwlEiJ7FiHJ5 grQncuN0KpHt+ucEMGGuhAk2Hrp9GDeIxh6UbCs0oV064kvhha8Q3MjQgvtO55W96tAQD3 rftJ2Qu02oCYmMV7GJi5yTOG3z8t01930+7GZwQFdQxM/w7G90RKsyf0euNr9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642455499; a=rsa-sha256; cv=none; b=UcrSJEM/H4kWpXiW/QSE+xtZMV0V5pSEPVmyawV3DhT16Pzh/YSdTQ0vQBFMLA6sL6OkQ5 7hxpoahHPUN89/JD8S9OwlxcJJ0MNKEo0SY3uHu3TIKHUMyK4HgZ2ZR/FUX3xh8LFsZS33 It5LeGn65pYvjmfdxHFJnNmHTEqz9JSJmxF7D7rWcu8lMBxNtc3RsP4RDcNKy1M8g4oh/A PQzWN3R+JzUNqISH5zl+xjrdzfM1L+SMtNp6JbobU566tx5USV4XnaePuYfoqo0f9iyQRK bO8lbS8mwe4JCuE5z6P1ldWNhknGt0FuoxYZIvr1Njx8O4dCBUmo9Jm/US7f8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=JRQljKOw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=JRQljKOw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0EC9B1E56A X-Spam-Score: -4.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8qOz4gzXTPZ+ --=-vEnbmX25mbfS66p+6fSr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Olivier Dion schreef op ma 17-01-2022 om 16:02 [-0500]: > On Mon, 17 Jan 2022, Maxime Devos wrote: > > Olivier Dion via Guix-patches via schreef op ma 17-01-2022 om 14:20 [- > > 0500]: > > > + (invoke "./configure" [...] > >=20 > > Looking at the configure script, for cross-compilation, you need to set > > --arch and --cross-compile. > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > >=20 > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (let ([p= ython (which "python3")]) >=20 > Thanks for the quick review! I'm in the process of adding cross > compilation (currently building for aarch64). >=20 > In the mean time, would you have an idea on how to fix __FILE__ for the > build? uftrace uses it for logging and it ends up expanding to > `/tmp/guix-build*/source/*`. I tried to change the `srcdir` in the > various Makefile without much success. >=20 Maybe uftrace supports out-of-tree builds? Also, does uftrace try to read /tmp/guix-build*, or does only the file name appear in backtraces? If the latter, it is presumably not much of a problem. If it is, maybe out-of-tree builds could help. Automake supports out-of-tree builds, but I don't know if uftrace's build system does. The review was only a partial review, I didn't actually build uftrace. Greetings, Maxime. --=-vEnbmX25mbfS66p+6fSr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYeXhmRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7n7+AQD5ZjVGNsWc+yMlDEpeVSb19M+z eXcbkWEwW5bMzE7pBAD9FTt3kTYJ+utNMv+jnJykcUtUaAUDfUAGgiYrd+D/uAY= =Ib6q -----END PGP SIGNATURE----- --=-vEnbmX25mbfS66p+6fSr--