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 math/19822] libm.so install clobbers old version


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

--- Comment #5 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, release/2.22/master has been updated
       via  de905d1487a6d1d1667ae1346e4f2629dce9485f (commit)
      from  e5d560e0e7f621b5cde4bcbbac424f8b2742395a (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=de905d1487a6d1d1667ae1346e4f2629dce9485f

commit de905d1487a6d1d1667ae1346e4f2629dce9485f
Author: Dylan Alex Simon <dylan-sourceware@dylex.net>
Date:   Tue Mar 15 13:20:01 2016 -0400

    math: don't clobber old libm.so on install [BZ #19822]

    When installing glibc (w/mathvec enabled) in-place on a system with
    a glibc w/out mathvec enabled, the install will clobber the existing
    libm.so (e.g., /lib64/libm-2.21.so) with a linker script.  This is
    because libm.so is a symlink to libm.so.6 which is a symlink to the
    final libm-2.21.so file.  When the makefile writes the linker script
    directly to libm.so, it gets clobbered.

    The simple patch below to math/Makefile fixes this.  It is based on
    the nptl Makefile, which does exactly the same thing in a safer way.

    (cherry picked from commit f9378ac3773ffe998a2b3406568778ee9f77f759)

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

Summary of changes:
 ChangeLog     |    6 ++++++
 NEWS          |    2 +-
 math/Makefile |    3 ++-
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
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]