From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "gliao.tw--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45376: 28.0.50; [Feature/Native-Comp] strange `ls` output in eshell loaded from eln Date: Wed, 23 Dec 2020 17:10:39 +0000 Message-ID: References: Reply-To: "gliao.tw@pm.me" , "gliao.tw@pm.me" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6688"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45376@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 23 18:11:23 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ks7fX-0001eU-13 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 18:11:23 +0100 Original-Received: from localhost ([::1]:35084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks7fV-0006Zt-Kw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 12:11:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks7fD-0006Xo-Ly for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 12:11:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ks7fC-0005lb-L8 for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 12:11:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ks7fC-0001ph-Ff for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 12:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "gliao.tw@pm.me" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Dec 2020 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45376 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "Andrea Corallo via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" , "45376@debbugs.gnu.org" <45376@debbugs.gnu.org> Original-Received: via spool by 45376-submit@debbugs.gnu.org id=B45376.16087434557029 (code B ref 45376); Wed, 23 Dec 2020 17:11:02 +0000 Original-Received: (at 45376) by debbugs.gnu.org; 23 Dec 2020 17:10:55 +0000 Original-Received: from localhost ([127.0.0.1]:53990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks7f5-0001pJ-GC for submit@debbugs.gnu.org; Wed, 23 Dec 2020 12:10:55 -0500 Original-Received: from mail-40131.protonmail.ch ([185.70.40.131]:48479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks7f1-0001p1-8i for 45376@debbugs.gnu.org; Wed, 23 Dec 2020 12:10:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1608743444; bh=mDMrs0WlEE9Lgm8ZwFqbNtERBgI5o03agQSX5C6rTIw=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=n7tPaBg/orEHAbo3nOqfR6FCcaJ3WGZkQULTTGs4bUlWQRX9eRiAQFrCQGwoYI+mR vLEfwCQ+FJ7d7fwlZ4cL9jHDPpY+GPWx4Jc4kUKL7J6vAuwyFy2WLwMLf3HSxnHLQZ sz6gsNq/Nx5bon5oOFCa7QNJcj1y0CDgQkh5mgTWGea3jl+vjsLtoHlN2/GOTw9nsh tq04JXcz2mgUZSNsLX0lAR5Ms1awXgtOUNd9jUl1ymgOxsBOPaOSXkG9sa9Hzq/C32 y8qqdAbLnB8uWAoXKog1REXgy7jyR8tyFQHqsHBVw6WAVEGfc4DvJOAGeXVWKTdDFv bCIQaiWoyMX7g== In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196627 Archived-At: Hi Andrea, I can confirm that this issue is resolved by commit ffcd490cb4 on the follo= wing platforms (all using GCC 10.2): Linux (Debian testing) Amd64 and Arm64 FreeBSD 12.2 Amd64, gcc build from ports Windows/Msys2 as 2020-12-16 I believe we can close this bug now. Thanks, Gong-Yi. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Wednesday, December 23, 2020 9:27 AM, Andrea Corallo wrot= e: > Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" bug-gnu-emacs@gnu.org writes: > > > "gliao.tw@pm.me" gliao.tw@pm.me writes: > > > > > Hi, > > > I checked the last updated feature/native-comp branch (commit 433ae7b= 0a5cedbcd7b0a1daf12846e38f00fd111) and identified a strange outputs from el= n-compiled eshell. > > > The first attachment shows the `ls` command output under eshell loade= d > > > from elc, while the second attachment shows the same command, but muc= h > > > stranger output under eshell loaded from eln. > > > I have tested/complied the last updated code on Linux/x86-64, > > > Linux/aarch64 (Debian Bullseye, GCC 10.2.1) and Windows (Msys2), all > > > the test cases generate the same weird output from `ls` under > > > eln-loaded eshell. > > > This issue does not happen on the code based at or before commit f244= c21902 > > > Thanks, > > > Kiong-Ge. > > > > Hi Kiong-Ge, > > yep, I've merged a lot of stuff into the value/type inference logic so > > this is certanly related. > > The offending function is `eshell-ls-find-column-lengths', I'll have a > > look. > > Hi Kiong-Ge, > > as of ffcd490cb4 is working for me, could you give it a try? > > Just remember you might need to clean the eln-cache folder to have > eshell freshly recompiled. > > Thanks! > > Andrea