From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uO70Ez5inmQU5wAASxT56A (envelope-from ) for ; Fri, 30 Jun 2023 07:03:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0MHsEj5inmSaWQAAG6o9tA (envelope-from ) for ; Fri, 30 Jun 2023 07:03:58 +0200 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 D8F8B1672A for ; Fri, 30 Jun 2023 07:03:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qF6Hx-0003nG-8Z; Fri, 30 Jun 2023 01:03:21 -0400 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 1qF6Hv-0003mX-8V for help-guix@gnu.org; Fri, 30 Jun 2023 01:03:19 -0400 Received: from box.catsu.it ([46.232.250.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qF6Hs-0002os-CE for help-guix@gnu.org; Fri, 30 Jun 2023 01:03:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=catsu.it; s=mail; t=1688101392; bh=HYXMwGpVAY3h4LBTDdPXp/Ps5JddrZc6Fnc+9yUpj6I=; h=References:From:To:Subject:Date:In-reply-to:From; b=KSlbiWoUsoNpJE3KwnFhqz0qsJ16aUwbEOrSTAFTz7luPQQTzp6kN4//DsFTXB0uV V6hs3l3laIAz6Xpl86XeP21NrJA5SAP5f2dlf5eFAGt/EGnKZRgDrrrwC125pJs6GP 9utYzgWOViDl+GCmfFqvQ81WL0VR3NaxDymOY0oGWJLd9MeP2VjsXgHAnS2M1udnP8 yn5GktTsZGW4Z+jYLAwbatesgA1OIJf4EoDj1c2dq6j6T67pjipsv5rEyik7/JZfjf TSOUEUe8zxPPJtO3JGTFbi9dAlS3X+cPwl5YewIKG/lyAIdmCRKOyByj9PlTRCsw2Z J0LlAYypr5gcw== Received: from authenticated-user (box.catsu.it [46.232.250.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by box.catsu.it (Postfix) with ESMTPSA id 6E89A3957F for ; Fri, 30 Jun 2023 07:03:11 +0200 (CEST) References: <32d7e2e7-88b5-a1cd-f9bd-c38f9d1ac2c3@posteo.de> <874jobjjpi.fsf@xelera.eu> From: Chris Keschnat To: help-guix@gnu.org Subject: Re: Racket REPL not working Date: Fri, 30 Jun 2023 06:52:48 +0200 In-reply-to: <874jobjjpi.fsf@xelera.eu> Message-ID: <87edltee40.fsf@catsu.it> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=46.232.250.231; envelope-from=chris@catsu.it; helo=box.catsu.it 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, PDS_BTC_ID=0.001, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688101438; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=o2fpsyrV62JCw283MIcbwIFeETxI+PSWU6pftIDQ7wk=; b=B6DRYA5W7uvUCcwN6ZxiU74OzaS9HMOsOmnz0jv6BfNgZ6U2229Dak35pxuD9fE3TCSd1f CtzEZZ4ifxG5uMiewsPXRrP5DCxHjG1Obx15CtsONDkDoZAPnp6eKVcQl1WcM8lqHUyIqw iwYMH3ki0DPAOKguwRsiqkABUYVr3UDKQavohJEbJlUiq9YvL06JweEcts35shkKbIBSND us+GlXxGmUJLaO83NiB95vxARpxRFqeKLr1x6QpsrQfV39jA+idiqIaDw9bbwQaA7nhdkQ eiVA1pvCbBz11PpCmq1r64SbbSkstFhgW07Eqgbrw6wmxPJwvhQkVwpUzacSeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=catsu.it header.s=mail header.b=KSlbiWoU; dmarc=pass (policy=quarantine) header.from=catsu.it; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688101438; a=rsa-sha256; cv=none; b=kqqnKCUfRF7NzzD8hEAqwUR6HjS8ehR3uGN+brLXj69vyb4JtyFlWj9GoOWCQ5rU584Zvm R9rHpvqYK9Sk/rLurLPaZQ/bqsAf2rr4maNUbCZPdBENddHxspZd4lRDgrDcGHb+8UfWn2 vs1o7/DeFKnv9HnUwTiKJhIiHzDRzfAovXyrysKPBCrJst2ulnCItmjoE62LVS0+Yxn3YF NDOT7YZ/Q9hBjnQRkcgtdr7J1pIvpDvunPxJd+4noUTWSPK3tjrZ80gcX3qlv6LPZ4mupv Go9JhwNgQo4DZ6hJu16A1MYCFzBTgs53FFi3XksjS3Pb50D+RHIlmGDmXzq4bg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=catsu.it header.s=mail header.b=KSlbiWoU; dmarc=pass (policy=quarantine) header.from=catsu.it; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D8F8B1672A X-Spam-Score: -4.26 X-TUID: EWNjAYyAWa5t Hi, to me/on my machine this seems to be some environment issue. Locations are the same: #+begin_src sh ck@brak ~ $ guix shell racket -- which racket /gnu/store/36ckdvyykaz3y5xbcvsbjqj4c7sazgsm-profile/bin/racket ck@brak ~ $ which racket /home/ck/.guix-profile/bin/racket ck@brak ~ $ ll /home/ck/.guix-profile/bin/racket lrwxrwxrwx 1 root root 65 01.01.1970 01:00 /home/ck/.guix-profile/bin/racket -> /gnu/store/z0a42imbmy6563wvdavapb6c8vbi1s1z-racket-8.8/bin/racket #+end_src I can run racket in a guix shell: #+begin_src sh ck@brak ~ $ guix shell racket -- racket Welcome to Racket v8.8 [cs]. > #+end_src And also when I use the full path: #+begin_src sh ck@brak ~ $ ll /home/ck/.guix-profile/bin/racket lrwxrwxrwx 1 root root 65 01.01.1970 01:00 /home/ck/.guix-profile/bin/racket -> /gnu/store/z0a42imbmy6563wvdavapb6c8vbi1s1z-racket-8.8/bin/racket ck@brak ~ $ /gnu/store/36ckdvyykaz3y5xbcvsbjqj4c7sazgsm-profile/bin/racket Welcome to Racket v8.8 [cs]. > #+end_src Just using ~racket~ segfaults. #+begin_src sh ck@brak ~ $ racket Segmentation fault #+end_src Maybe this help? Chris Giovanni Biscuolo writes: > [[PGP Signed Part:Undecided]] > Hello, > > Efraim Flashner writes: > > [...] > >> I was able to run 'guix shell racket -- racket --version' with it >> segfaulting. Same thing when I switched to using the same commit that >> you're using. > > I'm using this Guix commit: > > > Generation 149 May 08 2023 13:31:35 (current) > guix e118b92 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: e118b92cfe7a598b71dbbda2622b7551f4a72104 > > > > I'm on a foreign distro (Debian 11), I've tested racket in a > pure/not-pure guix shell and it is working, no segfaulting > >> Can you paste the output of 'lscpu'? I suspect that there might be some >> optimizations being applied during build time and it's been optimized >> with features not available in your CPU. > > This is my lscpu output: > > > giovanni@roquette: lscpu > Architecture: x86_64 > CPU op-mode(s): 32-bit, 64-bit > Byte Order: Little Endian > Address sizes: 36 bits physical, 48 bits virtual > CPU(s): 8 > On-line CPU(s) list: 0-7 > Thread(s) per core: 1 > Core(s) per socket: 8 > Socket(s): 1 > NUMA node(s): 1 > Vendor ID: GenuineIntel > CPU family: 6 > Model: 77 > Model name: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz > Stepping: 8 > CPU MHz: 1899.896 > CPU max MHz: 2400,0000 > CPU min MHz: 1200,0000 > BogoMIPS: 4799.73 > Virtualization: VT-x > L1d cache: 192 KiB > L1i cache: 256 KiB > L2 cache: 4 MiB > NUMA node0 CPU(s): 0-7 > Vulnerability Itlb multihit: Not affected > Vulnerability L1tf: Not affected > Vulnerability Mds: Mitigation; Clear CPU buffers; SMT disabled > Vulnerability Meltdown: Mitigation; PTI > Vulnerability Spec store bypass: Not affected > Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization > Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling > Vulnerability Srbds: Not affected > Vulnerability Tsx async abort: Not affected > Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_pe > rfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popc > nt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch cpuid_fault epb pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat > md_clear > > HTH! Gio'