This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/18479] libpthred.so is no longer properly runnable


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]