From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11228 invoked by alias); 17 Jul 2014 14:37:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 11107 invoked by uid 55); 17 Jul 2014 14:36:57 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/6441] Value of slibdir changes after reconfigure for 64-bit targets Date: Thu, 17 Jul 2014 14:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00629.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=6441 --- Comment #5 from 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 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.