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/22362] Installed crt1.o, crti,.o and crtn.o files are used with -m32


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

--- Comment #6 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  abcb584d0eae7270b35e1b3fed1f9661e26b8be0 (commit)
      from  4e2dff67beeb063cb36fe100d9d2b3f2f88d80c6 (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=abcb584d0eae7270b35e1b3fed1f9661e26b8be0

commit abcb584d0eae7270b35e1b3fed1f9661e26b8be0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Nov 6 08:29:48 2017 -0800

    Use newly built crt*.o files to build shared objects [BZ #22362]

    When multi-lib GCC is used to build glibc, the search order of GCC driver
    for crt*.o is -B*/`gcc -print-multi-directory`, the installed diretory,
    -B*/.  This patch adds multi-lib support to csu/Makefile so that
    -B/glibc-build-directory/csu/ will pick up the newly built crt*.o.

    Tested on x86-64 for i686 and x32.

        [BZ #22362]
        * Makerules (make-link-multidir): New.
        * config.make.in (multidir): New.
        * configure.ac (libc_cv_multidir): New.  AC_SUBST.
        * configure: Regenerated.
        * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
        [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
        [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
        New target.

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

Summary of changes:
 ChangeLog      |   12 ++++++++++++
 Makerules      |    9 +++++++++
 config.make.in |    1 +
 configure      |    6 ++++++
 configure.ac   |    5 +++++
 csu/Makefile   |   10 ++++++++++
 6 files changed, 43 insertions(+), 0 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]