From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WHNONjWrYmSY8wAASxT56A (envelope-from ) for ; Mon, 15 May 2023 23:59:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CEtJNjWrYmS9FAEAauVa8A (envelope-from ) for ; Mon, 15 May 2023 23:59:17 +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 AE12C2F8C2 for ; Mon, 15 May 2023 23:59:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pygDY-00041T-5k; Mon, 15 May 2023 17:58:56 -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 1pygDW-000411-Qk for help-guix@gnu.org; Mon, 15 May 2023 17:58:54 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pygDU-0003Ze-II for help-guix@gnu.org; Mon, 15 May 2023 17:58:54 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E401924002F for ; Mon, 15 May 2023 23:58:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1684187929; bh=/xlcJtUtB8USVcdmu18KRX99p5yttFf7T+Jr3/r4Cow=; h=Message-ID:Date:MIME-Version:Subject:To:From:Cc:From; b=nd90aS6x+1qIvg7VPKrmwoRtnfEuzh/PI918IYb07sCK5981Bb/h7D1G1gg+RzUJJ JDQrftxXw13YrMDQ8r3afrMFLlq58n1KXM3A+5B706idNbZlR/ZxP2V7SuSVSbx+T7 WaevbOMl0CzsQmkRusigKD5490Bv2R4xjg1em1/7QDb72cxX7BWFmwo/lf6jBNkU1D ul8+Ki1ax0Ql8oQD0bc74vLNzxKxJMcpdRo6PyHPtusx8YeJz64KOkYGm4YY4Bak5k 6AywunFWoO7OhzFPMxGJxvhBpljtDY0zj1hVaFe5ba/q3yNEl5W7HIDUHh1t6Ja5Vn Nb2s4i+WwUFkQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QKtYP2L5Kz9rxK; Mon, 15 May 2023 23:58:49 +0200 (CEST) Message-ID: <4ad72d92-e5db-8413-b017-90505f5e44b1@posteo.de> Date: Mon, 15 May 2023 21:58:46 +0000 MIME-Version: 1.0 Subject: Re: Racket REPL not working Content-Language: en-US To: Efraim Flashner References: <32d7e2e7-88b5-a1cd-f9bd-c38f9d1ac2c3@posteo.de> From: Zelphir Kaltstahl Cc: help-guix In-Reply-To: Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684187957; a=rsa-sha256; cv=none; b=XVxstGLMOiwGdzUEiaJw8kC8vnlxmNaOFYcSm/G3JKHgI14l4D3mziviecBn9Ag8+7pci3 3q5sdQ5w4TZpjlY9VFYj7difOVYkzCqW/wGft5EO0AZL9MoL35iCE96Q/jixCCBUUBNI1D KTB9ct19Lnf0huzlj3ZLr2vW3nboF5Eb5kkBlZ6+l4h9H2JM74fNHgmz44ISxmBp/w9Vql r9vDuK/BWV6Z1Mup6O05kOHa9XrtG0C8KrS/a/YFz4XA7r6WBabox0MG/NTA19dsK0lpcf KKW3xpCLrE1oJMXm77w8WSkqApVyKxzrbGZk859NR4xdDh6Zvm8YaG1i/GP0xQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=nd90aS6x; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684187957; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kUKK6+sAk1qeCNNcFPP0PUA5TGBY5eVH/UoUuyS/Wfg=; b=GNPJcppRm65Uyf2hTAGIOEPQ/wjH/99C7cBFmfUJ9uDX59KbAKK4+5SEcXGlQdArYQkIaM 0VxgS7lm8uyM2ZIB5c+vwenYDMZukqemQvFL2FiSH6CbcaZC42euOgt7J7kvwoUtHDVeYb AytlZOUiZQVxrmsiBvs7/pGE6G9GdzfwhmqkIKW/HX3Mw6lyUuXJK/0yIbie3dA24o62JP zUPj1Mt/wiccVYFvEGl27CrR3HCekw/eEmKVb4Kt2t+NceimNUyQYIBHfNkTSoGjqtvgt6 B07gn2TpGe0OwDMa5Z1iUPoHzQ11JIJYT+0HJB5d+g0Vu/jXOcruO609ygtO7g== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=nd90aS6x; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); 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-Spam-Score: 5.81 X-Spam-Score: 5.81 X-Migadu-Queue-Id: AE12C2F8C2 X-TUID: X7G5Rmuibwvu On 5/15/23 18:18, Efraim Flashner wrote: > On Sun, May 14, 2023 at 09:56:35PM +0000, Zelphir Kaltstahl wrote: >> Hello Guix users / package maintainers, >> >> I updated guix today using `guix pull && guix package -u`, but even before >> that, I had an issue starting a Racket REPL simply entering `racket`: >> >> ~~~~ >> $ racket >> Segmentation fault (core dumped) >> ~~~~ >> >> I am currently at guix: >> >> ~~~~ >> $ guix describe --format=channels >> (list (channel >> (name 'guix) >> (url"https://git.savannah.gnu.org/git/guix.git") >> (branch "master") >> (commit >> "c5fa9dd0e96493307cc76ea098a6bca9b076e012") >> (introduction >> (make-channel-introduction >> "9edb3f66fd807b096b48283debdcddccfea34bad" >> (openpgp-fingerprint >> "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) >> >> $ guix describe >> Generation 42 Mai 14 2023 23:45:08 (current) >> guix c5fa9dd >> repository URL:https://git.savannah.gnu.org/git/guix.git >> branch: master >> commit: c5fa9dd0e96493307cc76ea098a6bca9b076e012 >> ~~~~ >> >> Not sure what is up, or whether it is only on my end for some reason. >> >> Also cannot call `racket --version`: >> >> ~~~~ >> $ racket --version >> Segmentation fault (core dumped) >> ~~~~ > 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. > > 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. Hello Efraim, Here is the output of `lscpu`: ~~~~ $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: GenuineIntel Model name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz CPU family: 6 Model: 142 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 Stepping: 9 CPU max MHz: 3500,0000 CPU min MHz: 400,0000 BogoMIPS: 5799.77 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mc a cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_ tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cp l vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsav e avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust sgx bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx sma p clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dt herm ida arat pln pts hwp hwp_notify hwp_act_window hwp _epp md_clear flush_l1d arch_capabilities Virtualization features: Virtualization: VT-x Caches (sum of all): L1d: 64 KiB (2 instances) L1i: 64 KiB (2 instances) L2: 512 KiB (2 instances) L3: 4 MiB (1 instance) NUMA: NUMA node(s): 1 NUMA node0 CPU(s): 0-3 Vulnerabilities: Itlb multihit: KVM: Mitigation: VMX disabled L1tf: Mitigation; PTE Inversion; VMX conditional cache flushe s, SMT vulnerable Mds: Mitigation; Clear CPU buffers; SMT vulnerable Meltdown: Mitigation; PTI Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable Retbleed: Mitigation; IBRS Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Spectre v2: Mitigation; IBRS, IBPB conditional, RSB filling, PBRSB- eIBRS Not affected Srbds: Mitigation; Microcode Tsx async abort: Not affected ~~~~ -- repositories:https://notabug.org/ZelphirKaltstahl