From owner-freebsd-bugs@freebsd.org Sat Apr 28 12:40:22 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 250BDFADF87 for ; Sat, 28 Apr 2018 12:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AD5AC7BECE for ; Sat, 28 Apr 2018 12:40:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6E757FADF86; Sat, 28 Apr 2018 12:40:21 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C22FFADF85 for ; Sat, 28 Apr 2018 12:40:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DCE467BEC8 for ; Sat, 28 Apr 2018 12:40:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 36B9862C1 for ; Sat, 28 Apr 2018 12:40:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3SCeK6s073841 for ; Sat, 28 Apr 2018 12:40:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3SCeKPI073835 for bugs@FreeBSD.org; Sat, 28 Apr 2018 12:40:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 227552] w, uptime i386 cordeump Date: Sat, 28 Apr 2018 12:40:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2018 12:40:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227552 --- Comment #11 from Dimitry Andric --- I'm now not so sure anymore about the TLS section being a problem. On a stable/11 i386 box with r332318 (as of 2018-04-09), I do *not* see crashes = in w or uptime, even though the TLS section appears to be 0x50 bytes: $ ldd /usr/bin/uptime /usr/bin/uptime: libkvm.so.7 =3D> /lib/libkvm.so.7 (0x28070000) libsbuf.so.6 =3D> /lib/libsbuf.so.6 (0x2807d000) libxo.so.0 =3D> /lib/libxo.so.0 (0x28080000) libutil.so.9 =3D> /lib/libutil.so.9 (0x28099000) libc.so.7 =3D> /lib/libc.so.7 (0x280ab000) libelf.so.2 =3D> /lib/libelf.so.2 (0x2820a000) $ uptime 2:36PM up 21 mins, 1 user, load averages: 0.32, 0.26, 0.23 $ readelf -l /lib/libxo.so.0 | grep 'Type\|TLS' Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align TLS 0x017160 0x00018764 0x00018764 0x00000 0x00050 R 0x8 $ readelf -l /usr/obj/usr/src/lib/libxo/libxo.so.0.full | grep 'Type\|TLS' Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align TLS 0x017160 0x00018160 0x00018160 0x00000 0x00658 R 0x8 $ readelf -l /usr/obj/usr/src/lib/libxo/libxo.so.0 | grep 'Type\|TLS' Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align TLS 0x017160 0x00018160 0x00018160 0x00000 0x00654 R 0x8 So, libxo.so.0.full, the actual output of the link stage, has a TLS MemSize= of 0x658 bytes, libxo.so.0, which is produced by: objcopy --strip-debug --add-gnu-debuglink=3Dlibxo.so.0.debug libxo.so.0.fu= ll libxo.so.0 has a TLS MemSize of 0x654 bytes, and the final version installed by installworld, and stripped during that time, has a TLS MemSize of 0x50 byte= s. However, at this revision, r332318, it does not crash. --=20 You are receiving this mail because: You are the assignee for the bug.=