From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 3 20:54:34 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3686C78B for ; Wed, 3 Dec 2014 20:54:34 +0000 (UTC) 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 mx1.freebsd.org (Postfix) with ESMTPS id 04B30BBA for ; Wed, 3 Dec 2014 20:54:34 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB3KsXHF013002 for ; Wed, 3 Dec 2014 20:54:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195653] elftoolchain strip(1) corrupts PT_TLS segment Date: Wed, 03 Dec 2014 20:54:34 +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.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 20:54:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195653 --- Comment #1 from Ed Maste --- similar cases: lib/libcrypto.so.7 --- unstripped 2014-12-03 15:52:45.668140759 -0500 +++ stripped 2014-12-03 15:52:45.721733291 -0500 @@ -9,7 +9,7 @@ LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x00000000001ca3a4 0x00000000001ca3a4 R E 200000 LOAD 0x00000000001cb000 0x00000000003cb000 0x00000000003cb000 - 0x0000000000027268 0x0000000000029d50 RW 200000 + 0x0000000000027268 0x0000000000029d48 RW 200000 DYNAMIC 0x00000000001e3348 0x00000000003e3348 0x00000000003e3348 0x00000000000001a0 0x00000000000001a0 RW 8 GNU_EH_FRAME 0x000000000019b374 0x000000000019b374 0x000000000019b374 @@ -20,7 +20,7 @@ Section to Segment mapping: Segment Sections... 00 .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame - 01 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss + 01 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data 02 .dynamic 03 .eh_frame_hdr 04 lib/libc.so.7 --- unstripped 2014-12-03 15:52:45.619139832 -0500 +++ stripped 2014-12-03 15:52:45.620140128 -0500 @@ -13,7 +13,7 @@ DYNAMIC 0x000000000016f168 0x000000000036f168 0x000000000036f168 0x0000000000000190 0x0000000000000190 RW 8 TLS 0x000000000016a000 0x000000000036a000 0x000000000036a000 - 0x0000000000000004 0x00000000000000a0 R 10 + 0x0000000000000004 0x0000000000000094 R 10 GNU_EH_FRAME 0x0000000000146be4 0x0000000000146be4 0x0000000000146be4 0x000000000000685c 0x000000000000685c R 4 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 @@ -24,6 +24,6 @@ 00 .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 01 .tdata .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss 02 .dynamic - 03 .tdata .tbss + 03 .tdata 04 .eh_frame_hdr 05 -- You are receiving this mail because: You are the assignee for the bug.