From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: G-Golf - Callback segmentation fault Date: Mon, 2 Sep 2024 18:18:54 -0300 Message-ID: <20240902181854.2017f1fc@tintin> References: <87msl6c4lf.fsf@posteo.net> <20240821212129.7647d035@tintin> <87a5gxybgm.fsf@posteo.net> <20240828211805.68f594a7@tintin> <87cylo8xc4.fsf@posteo.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/lxnJ/xZWFUOrTCgsfCgvugt"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35069"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: Matija Obid Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Sep 02 23:19:33 2024 Return-path: Envelope-to: guile-user@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 1slESS-00090a-KU for guile-user@m.gmane-mx.org; Mon, 02 Sep 2024 23:19:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slES7-0002du-Vg; Mon, 02 Sep 2024 17:19: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 1slES6-0002di-Fx for guile-user@gnu.org; Mon, 02 Sep 2024 17:19:10 -0400 Original-Received: from pop.all2all.org ([79.99.200.14] helo=moses.all2all.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1slES4-00060t-Jl for guile-user@gnu.org; Mon, 02 Sep 2024 17:19:10 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id 897B967C007A; Mon, 2 Sep 2024 23:19:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at moses.all2all.org Original-Received: from moses.all2all.org ([127.0.0.1]) by localhost (moses.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GOBBISV-BgrQ; Mon, 2 Sep 2024 23:19:03 +0200 (CEST) Original-Received: from tintin (unknown [168.227.184.151]) by moses.all2all.org (Postfix) with ESMTPSA id EDAA067C0074; Mon, 2 Sep 2024 23:19:01 +0200 (CEST) In-Reply-To: <87cylo8xc4.fsf@posteo.net> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=79.99.200.14; envelope-from=david@altosw.be; helo=moses.all2all.org X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SBL_CSS=3.335, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19777 Archived-At: --Sig_/lxnJ/xZWFUOrTCgsfCgvugt Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Matija, > This flag was recently removed [2] in nixpkgs with a comment: > > The fix for gobject-introspection is in version 1.72. =20 Maybe the fix didn't really fixed the problem ... > Bottom line: If I compile Guile with patched libffi [3] dependency > (where flag "disable-exec-static-tramp" is present) problematic > examples are working (without patched G-Golf). Perfect, just do that then, in nix guix as well (debian does, see below) > Most probably has Debian present flag "disable-exec-static-tramp" when > configuring libffi. Where can we check that? Yes, in debian testing, libffi 3.4.6-1, the flag is on by default: https://codesearch.debian.net/search?q=3Ddisable-exec-static-tramp+pkg%3Al= ibffi > I still wonder where is the problem, in Guile, G-Golf or > gobject-introspection (which according to [2] should not be a > problem). Definitely not a g-golf bug. But since the flag has been introduced precisely to deal with the yet to be fixed gobject-introspection, iiuc, i would just continue to compile libffi passing the flag ... Thanks, David --Sig_/lxnJ/xZWFUOrTCgsfCgvugt Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmbWK74ACgkQ83T9k6MF etctSwgAuOoQOcrjroN69uQfnZ5UfHaO0b79fCqIkl0PBXoGLuQHYUk/UKzH7tCV GDjXcQb2QAlzaBttqx9gwRG/7jXcNIZmkH9Qwdvtm/WPtFAEbwqCJzbZKsTFvnAy lx6aVRTrLPYoYsOl/oFaFOdpIzNbdjeWw+dRLUpNkgIEV0ieuXUXBR0vbkZr/ttx 2sE+h7PKduLD6C8qpV3UZpHCsCZzYkr703U8QNXfv2W9YxaKhMzyvyRw4wRQ5SV+ NF7MEBLCUDo+nSgkDRL2FB6VXwffTtN03yuqQMPLstU6yGysbMZhZ0ZqZXmofaRQ ZeiETLoNc+h+/RwkK53yAWerjamBLg== =Gwc+ -----END PGP SIGNATURE----- --Sig_/lxnJ/xZWFUOrTCgsfCgvugt--