Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id B009D7810C0 for <~alpine/users@lists.alpinelinux.org>; Fri, 27 May 2022 15:52:30 +0000 (UTC) Received: by mail-qt1-f170.google.com with SMTP id m13so5750135qtx.0 for <~alpine/users@lists.alpinelinux.org>; Fri, 27 May 2022 08:52:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=9oXIK9v0Rcgp5fKxPnHC4rS88TERdTfu5AtiQxJ+pP4=; b=ar1Hjkq6ozqUoOQWrAiEv7zjNplZEbPJN2kP2pXtkl/sON4h/XPawMO8Ug2vkIB+v6 UtQA8a36qlE8rZrEe9HHk87cPWNwd4icBx+LPR3uNa+mkfj5sCvU+1uuW1fK7rz5gPpg UgSp+PVd5oCccNKjFzZqgcMKlmlGZyGJtX5yU6mNZnpum0rOIAXkGi8p1JvYVm+ATRLd FCts32ilyrHxAVqG20gyiNMktqcYRHEXuJY7F8omINkIfibdp6aPakuoXBWwy/dovKAY Mnh6bhK5RQNgYYBWVSrYBiBShxsrGwLw8IBzZ1pXBf5t5gkF5MU5wg74LPcmgj9GppKI kecA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9oXIK9v0Rcgp5fKxPnHC4rS88TERdTfu5AtiQxJ+pP4=; b=mF0g4mwz8sBoGJ9GcZ7jDWOLgZHM/nu6yuJpPc8Ui6vVOVPVtOhOE55F6/m6syUb4H dzirUzO9CFCTlNLctR7Qbr7UeZASJtncJrmUua9spAA18LVw59iYPFNgMfrfQN1CbErw 1lDRdKrq0J6NPgwoCKv6EIMmjAyDIS1g+f1F5k9f+Stkv3uWlIs+IhKM3hBrPYz6RQS2 WdzoRxyM/nPJSsPS6wAISdQ6VEHcjPsR20hPucv/+GfVJMngdJhbUFR8y3Fcr5gPCXsJ Ji34v72IP9LpXr/GZtO/Zv+L6UUdwumRh+sn+/q7MPEucP6SpA8cMv5JtI0gtlsHERDx PiWA== X-Gm-Message-State: AOAM532ZPqZBj+0kBpGVET7m+socTS8wE9tZNBdNHmsyjNfl+pQCyJfT pU+Ze7LNDLrQO+6L7AitxvqQh/W6Efw= X-Google-Smtp-Source: ABdhPJwqwCFZ3KsbxiKGI3kwQFDMB8sMIVhp3tRkzUsiyRc9JsRqWuDrpl637HovOaiTqT5qiHz2LQ== X-Received: by 2002:ac8:5b96:0:b0:2f8:af64:a0bd with SMTP id a22-20020ac85b96000000b002f8af64a0bdmr33113316qta.463.1653666748962; Fri, 27 May 2022 08:52:28 -0700 (PDT) Received: from 4void.local (h186.111.141.67.dynamic.ip.windstream.net. [67.141.111.186]) by smtp.gmail.com with ESMTPSA id s13-20020ac8758d000000b002f9050bb622sm2605637qtq.69.2022.05.27.08.52.27 for <~alpine/users@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 May 2022 08:52:28 -0700 (PDT) Date: Fri, 27 May 2022 11:52:27 -0400 From: Roger To: ~alpine/users@lists.alpinelinux.org Subject: Re: Can't start neovim Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Fiwr2+GTlqocrtHe" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://rogerx.sdf.org/about/armor-F515AC1F231FFC4EF0BCDE7606CEA0ECE2887C75-20170104.asc --Fiwr2+GTlqocrtHe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quite funny and odd neovim would pull in SSE2 (...) opts! =46rom my recent experience with a recent laptop (Dell Inspiron 8100) lapto= p=20 install of Alpine 3.15.4, everything seems to be compiled just fine for=20 non-SSE2 CPUs. Sounds like SSE2 CPU opts are now creeping into Alpine Linux 3.16, like so = many=20 other packages. (From reading many forum posts for the past years, seems s= ome=20 are having fun with this issue, anything to cause a problem for others!) I started a forum thread on Linux Questions recently, due to the amount of= =20 Linux distributions stating support for older CPUs. Distributions Falsely Advertising <=3D i686/Pentium3 support, or CPUs witho= ut SSE2! https://www.linuxquestions.org/questions/slackware-14/distributions-falsely= -advertising-=3D-i686-pentium3-support-or-cpus-without-sse2-4175712442/ At the time of the posting, I was agnostically suggesting other Linux=20 distributions. I've been monitoring CPU SSE2 opt (eg. CFLAG, CXXFLAGS, ...= )=20 inclusion for the recent few years now, as I have two well maintained x86= =20 Pentium 3 non-SSE2 platforms. Roger > On Fri, May 27, 2022 at 08:16:34AM +0200, alice wrote: >On Fri May 27, 2022 at 6:42 AM CEST, Samarul Meu wrote: >> I am on Alpine 3.16 (upgraded on Wednesday) and yesterday I installed >> neovim. When I try to launch it I only get this `Illegal instruction` >> >> Some more information >> >> $ uname -a >> Linux alpine.cfd 5.15.41-0-lts #1-Alpine SMP Fri, 20 May 2022 21:42:55 >> +0000 x86_64 GNU/Linux >> >> $ nvim -v >> NVIM v0.7.0 >> Illegal instruction >this is probably because the luajit apkbuild has -msse4.2 for x86_64. >there is already an issue for it[0], not sure i remember why it was set >that way (aside from being recommended). > >you can see by crashing it in gdb: =20 > >gdb nvim >run >(see it crash) >x/3i $pc (last 3 instructions) > >(last instructions will have names, look up the one marked with >, >probably an sse4/3 one) > >> $ cat /etc/apk/repositories >> http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/main >> http://ftp.halifax.rwth-aachen.de/alpine/latest-stable/community >> @edge http://ftp.halifax.rwth-aachen.de/alpine/edge/main >> @edge http://ftp.halifax.rwth-aachen.de/alpine/edge/community >> @testing http://ftp.halifax.rwth-aachen.de/alpine/edge/testing >(as an aside, you should not mix edge with stable) > >> $ doas dmesg | grep nvim >> [ 818.148617] traps: nvim[3261] trap invalid opcode ip:7f61f0d819d3 >> sp:7fffaad810e0 error:0 in libluajit-5.1.so.2.1.0[7f61f0d6f000+4c000] >> [ 1081.218916] traps: nvim[3461] trap invalid opcode ip:7f8742fa79d3 >> sp:7fffcecf42c0 error:0 in libluajit-5.1.so.2.1.0[7f8742f95000+4c000] >> [ 1160.212726] traps: nvim[3522] trap invalid opcode ip:7f65de9b29d3 >> sp:7fff3de8ed60 error:0 in libluajit-5.1.so.2.1.0[7f65de9a0000+4c000] >> [ 1163.965717] traps: nvim[3527] trap invalid opcode ip:7f67763929d3 >> sp:7ffcc468ead0 error:0 in libluajit-5.1.so.2.1.0[7f6776380000+4c000] >> >> >> Thanks for your help! > >[0]: https://gitlab.alpinelinux.org/alpine/aports/-/issues/13688 --Fiwr2+GTlqocrtHe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE9RWsHyMf/E7wvN52Bs6g7OKIfHUFAmKQ87gACgkQBs6g7OKI fHUVhQf/QgTZxwU5T+tzFyek22bm0BBTLxU3AOhIVFH9iHCSiaCZduxNZ7FWzg0H h09/O4tO5h5EO+eqbY46cmMMGu3BoK1zwU11gQUNm0vpMySlDoOGq3VnL8XulsRB /y5M4qXhs/IH+Gv1TfSRtIbS9QaBFTfvtBHRVTg4M4KNx2SYaQw9417CPMEoC0W8 4lWk15ql5YOiiGjVuhDcKv0Bbo3qIhwPFJybu5AoPnax/JG4D4f3vbeNm19zj0ci d3gpqxUWWBYA5Wzn5Q5S6eEsqkyqyGLlvG+faSduIIvSFy4/lakYuGGp1f+nHBIl cWIXQBDl1F6qS2o1JhUy92lQewXbNQ== =6Kju -----END PGP SIGNATURE----- --Fiwr2+GTlqocrtHe--