public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/18479] New: libpthred.so is no longer properly runnable
@ 2015-06-02 18:01 glebfm at altlinux dot org
  2015-06-02 18:28 ` [Bug nptl/18479] " glebfm at altlinux dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: glebfm at altlinux dot org @ 2015-06-02 18:01 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18479

            Bug ID: 18479
           Summary: libpthred.so is no longer properly runnable
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: glebfm at altlinux dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

In commit 02657da2cf4457804ed938ee08b8316249126444, .interp section was
removed from libpthread.so.  This led to an error:

$ /lib64/libpthread.so.0
Native POSIX Threads Library by Ulrich Drepper et al
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Forced unwind support included.
Segmentation fault

(gdb) bt
#0  0x00000000000055a6 in _exit@plt ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nptl/18479] libpthred.so is no longer properly runnable
  2015-06-02 18:01 [Bug nptl/18479] New: libpthred.so is no longer properly runnable glebfm at altlinux dot org
@ 2015-06-02 18:28 ` glebfm at altlinux dot org
  2015-06-10 10:25 ` cvs-commit at gcc dot gnu.org
  2015-06-10 10:34 ` ldv at altlinux dot org
  2 siblings, 0 replies; 4+ messages in thread
From: glebfm at altlinux dot org @ 2015-06-02 18:28 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18479

Gleb Fotengauer-Malinovskiy <glebfm at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://sourceware.org/ml/l
                   |                            |ibc-alpha/2015-06/msg00041.
                   |                            |html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nptl/18479] libpthred.so is no longer properly runnable
  2015-06-02 18:01 [Bug nptl/18479] New: libpthred.so is no longer properly runnable glebfm at altlinux dot org
  2015-06-02 18:28 ` [Bug nptl/18479] " glebfm at altlinux dot org
@ 2015-06-10 10:25 ` cvs-commit at gcc dot gnu.org
  2015-06-10 10:34 ` ldv at altlinux dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-06-10 10:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18479

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  78ad175b3060aae058ed5d05ced2bc58714901cd (commit)
       via  ac63a0783cdee8454c84fc45f37330d98b6039e7 (commit)
      from  7cbeabac0fb28e24c99aaa5085e613ea543a2346 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=78ad175b3060aae058ed5d05ced2bc58714901cd

commit 78ad175b3060aae058ed5d05ced2bc58714901cd
Author: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Date:   Tue Jun 2 21:04:06 2015 +0300

    nptl: restore .interp section in libpthread.so

    In commit 02657da2cf4457804ed938ee08b8316249126444, .interp section
    was removed from libpthread.so.  This led to an error:

      $ /lib64/libpthread.so.0
      Native POSIX Threads Library by Ulrich Drepper et al
      Copyright (C) 2015 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.
      There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
      PARTICULAR PURPOSE.
      Forced unwind support included.
      Segmentation fault

      (gdb) bt
      #0  0x00000000000055a6 in _exit@plt ()

    Unfortunately, there is no way to add a regression test for the bug
    because .interp specifies the path to dynamic linker of the target
    system.

    [BZ #18479]
    * nptl/pt-interp.c: New file.
    * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
    Add pt-interp.
    [$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
    $(common-objpfx)runtime-linker.h.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ac63a0783cdee8454c84fc45f37330d98b6039e7

commit ac63a0783cdee8454c84fc45f37330d98b6039e7
Author: Dmitry V. Levin <ldv@altlinux.org>
Date:   Fri Jun 5 22:20:13 2015 +0000

    Prepare for restoration of .interp section in libpthread.so

    Make runtime-linker.h available outside $(elf-objpfx) by moving
    the file to $(common-objpfx) and the rules for it to Makerules.

    Tested for x86_64 and x86 (testsuite, and that no compiled code
    changed by the patch).

    * Makeconfig (+interp): Remove unused variable.
    * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
    only.  Depend on $(common-objpfx)runtime-linker.h instead of
    $(elf-objpfx)runtime-linker.h.
    ($(elf-objpfx)runtime-linker.h): Rename to
    $(common-objpfx)runtime-linker.h and move ...
    * Makerules [$(build-shared) = yes]: ... here.
    * elf/interp.c: Include <runtime-linker.h> instead of
    <elf/runtime-linker.h>.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |   21 +++++++++++++++++++++
 Makeconfig       |    1 -
 Makerules        |   10 ++++++++++
 NEWS             |    2 +-
 elf/Makefile     |   12 +++---------
 elf/interp.c     |    2 +-
 nptl/Makefile    |    7 +++++--
 nptl/pt-interp.c |    1 +
 8 files changed, 42 insertions(+), 14 deletions(-)
 create mode 100644 nptl/pt-interp.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nptl/18479] libpthred.so is no longer properly runnable
  2015-06-02 18:01 [Bug nptl/18479] New: libpthred.so is no longer properly runnable glebfm at altlinux dot org
  2015-06-02 18:28 ` [Bug nptl/18479] " glebfm at altlinux dot org
  2015-06-10 10:25 ` cvs-commit at gcc dot gnu.org
@ 2015-06-10 10:34 ` ldv at altlinux dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ldv at altlinux dot org @ 2015-06-10 10:34 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18479

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.22

--- Comment #2 from Dmitry V. Levin <ldv at altlinux dot org> ---
Fixed in master.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-10 10:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-02 18:01 [Bug nptl/18479] New: libpthred.so is no longer properly runnable glebfm at altlinux dot org
2015-06-02 18:28 ` [Bug nptl/18479] " glebfm at altlinux dot org
2015-06-10 10:25 ` cvs-commit at gcc dot gnu.org
2015-06-10 10:34 ` ldv at altlinux dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).