From owner-freebsd-bugs@freebsd.org Fri May 11 21:02:13 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 1996FFCD0C3 for ; Fri, 11 May 2018 21:02:13 +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 4865870F14 for ; Fri, 11 May 2018 21:02:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EBA04FCD0C2; Fri, 11 May 2018 21:02:11 +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 C5550FCD0C1 for ; Fri, 11 May 2018 21:02:11 +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 C5E0070E88 for ; Fri, 11 May 2018 21:02:08 +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 08B4975CB for ; Fri, 11 May 2018 21:02:06 +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 w4BL25Fm089634 for ; Fri, 11 May 2018 21:02:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4BL25Nd089623 for bugs@FreeBSD.org; Fri, 11 May 2018 21:02:05 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 coredump in libxo Date: Fri, 11 May 2018 21:02:05 +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: phil@freebsd.org X-Bugzilla-Status: Open 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: Fri, 11 May 2018 21:02:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227552 --- Comment #27 from Phil Shafer --- Even more odd, running "strip" twice on the same target gives the same TLS length change: Jimi [lib/test]% strip -o mine /usr/obj/usr/src/lib/libxo/libxo.so.0.full Jimi [lib/test]% readelf -e mine > before.elf Jimi [lib/test]% strip mine Jimi [lib/test]% readelf -e mine > after.elf Jimi [lib/test]% diff -u before.elf after.elf --- before.elf 2018-05-11 16:56:33.492235000 -0400 +++ after.elf 2018-05-11 16:56:40.876225000 -0400 @@ -28,7 +28,7 @@ LOAD 0x000000 0x00000000 0x00000000 0x171f8 0x171f8 R E 0x1000 LOAD 0x0171f8 0x000181f8 0x000181f8 0x005fc 0x0064c RW 0x1000 DYNAMIC 0x0172f4 0x000182f4 0x000182f4 0x000d8 0x000d8 RW 0x4 - TLS 0x0171f8 0x000181f8 0x000181f8 0x00000 0x0064c R 0x8 + TLS 0x0171f8 0x000187f4 0x000187f4 0x00000 0x00050 R 0x8 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 Section to Segment mapping: @@ -36,7 +36,7 @@ 00 .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel= .dyn .rel.plt .init .plt .text .fini .rodata .eh_frame .comment .shstrtab 01 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss 02 .dynamic - 03 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss + 03 .bss 04 There are 27 section headers, starting at offset 0x179a4: I see the same issue when "strip" is used twice in a row (both with "-o"): Jimi [lib/test]% strip -o mine /usr/obj/usr/src/lib/libxo/libxo.so.0.full Jimi [lib/test]% readelf -e mine > before.elf Jimi [lib/test]% strip -o never mine Jimi [lib/test]% readelf -e never > after.elf Jimi [lib/test]% diff -u before.elf after.elf --- before.elf 2018-05-11 16:58:07.845980000 -0400 +++ after.elf 2018-05-11 16:58:44.398731000 -0400 @@ -28,7 +28,7 @@ LOAD 0x000000 0x00000000 0x00000000 0x171f8 0x171f8 R E 0x1000 LOAD 0x0171f8 0x000181f8 0x000181f8 0x005fc 0x0064c RW 0x1000 DYNAMIC 0x0172f4 0x000182f4 0x000182f4 0x000d8 0x000d8 RW 0x4 - TLS 0x0171f8 0x000181f8 0x000181f8 0x00000 0x0064c R 0x8 + TLS 0x0171f8 0x000187f4 0x000187f4 0x00000 0x00050 R 0x8 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 Section to Segment mapping: @@ -36,7 +36,7 @@ 00 .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel= .dyn .rel.plt .init .plt .text .fini .rodata .eh_frame .comment .shstrtab 01 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss 02 .dynamic - 03 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss + 03 .bss 04 There are 27 section headers, starting at offset 0x179a4: ---------- Off to look at strip..... Please holler if this sounds familiar.... Thanks, Phil --=20 You are receiving this mail because: You are the assignee for the bug.=