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 libc/6441] Value of slibdir changes after reconfigure for 64-bit targets


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

--- 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, master has been updated
       via  d95ffd4cfd1c277779ea960ed851ee667f1f8e96 (commit)
      from  29c4f53e2a3d25290afd16baf38c05f0351eacb5 (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=d95ffd4cfd1c277779ea960ed851ee667f1f8e96

commit d95ffd4cfd1c277779ea960ed851ee667f1f8e96
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Jul 17 14:35:48 2014 +0000

    Refactor handling of /lib64 etc. cases, move out of
sysdeps/gnu/configure.ac.

    This patch continues removing architecture-specific cases from
    non-architecture-specific files by moving the logic to use directories
    such as /lib64 out of sysdeps/gnu/configure.ac.

    A new macro LIBC_SLIBDIR_RTLDDIR is created that sysdeps configure
    scripts can use to declare the library directories to be used; the
    logic was previously duplicated in configure fragments for aarch64,
    mips and x32 as well as in sysdeps/gnu/configure.ac.  This macro is
    used directly in sysdeps/gnu/configure.ac only to provide the /lib
    default (the logic saying that with --prefix=/usr shared libraries go
    in /lib not /usr/lib); the architecture cases formerly there are moved
    into various new or existing configure.ac files.  The new macro is
    also used in the various architecture fragments that already had such
    logic.  In the x32 there was previously a configure fragment, but it
    was a directly written one without a .ac file; now a .ac file is used
    there instead to generate configure.

    Tested x86_64 that the installed shared libraries, and the directory
    structure of the installation, are unchanged by this patch.

    There is an old bug report - bug 6441 - about library directories
    changing after reconfiguring.  If this is still applicable - and I
    haven't attempted to confirm it or review the old patch pointed to in
    that bug - then this patch should reduce the number of places needing
    changing in any fix.

        * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
        * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
        cases for individual architectures.
        * sysdeps/gnu/configure: Regenerated.
        * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
        LIBC_SLIBDIR_RTLDDIR.
        * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
        * sysdeps/unix/sysv/linux/mips/configure.ac: Use
        LIBC_SLIBDIR_RTLDDIR.
        * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
        LIBC_SLIBDIR_RTLDDIR.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
        Regenerated.
        * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
        * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
        file.
        * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
        * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
        file.
        * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
        * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
        * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
        * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.

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

Summary of changes:
 ChangeLog                                          |   25 +++++++++
 aclocal.m4                                         |   18 +++++++
 sysdeps/gnu/configure                              |   34 +++++--------
 sysdeps/gnu/configure.ac                           |   23 +--------
 sysdeps/unix/sysv/linux/aarch64/configure          |   18 +++---
 sysdeps/unix/sysv/linux/aarch64/configure.ac       |   13 +-----
 sysdeps/unix/sysv/linux/mips/configure             |   52 ++++++++++---------
 sysdeps/unix/sysv/linux/mips/configure.ac          |   34 +++----------
 .../unix/sysv/linux/powerpc/powerpc64/configure    |   13 +++++
 .../unix/sysv/linux/powerpc/powerpc64/configure.ac |    2 +
 sysdeps/unix/sysv/linux/s390/s390-64/configure     |   15 ++++++
 sysdeps/unix/sysv/linux/s390/s390-64/configure.ac  |    4 ++
 sysdeps/unix/sysv/linux/sparc/sparc64/configure    |   15 ++++++
 sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac |    4 ++
 sysdeps/unix/sysv/linux/x86_64/64/configure        |   15 ++++++
 sysdeps/unix/sysv/linux/x86_64/64/configure.ac     |    4 ++
 sysdeps/unix/sysv/linux/x86_64/x32/configure       |   29 +++++------
 sysdeps/unix/sysv/linux/x86_64/x32/configure.ac    |    6 ++
 18 files changed, 192 insertions(+), 132 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/configure
 create mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/configure.ac
 create mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/configure
 create mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/64/configure
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/64/configure.ac
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/configure.ac

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