This is the mail archive of the 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

--- Comment #4 from cvs-commit at gcc dot <cvs-commit at gcc dot> ---
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, hjl/pr22362/master has been created
        at  340c6cf9bdf6734013f0c6b4e0d8f3a10fbd4ed0 (commit)

- Log -----------------------------------------------------------------;h=340c6cf9bdf6734013f0c6b4e0d8f3a10fbd4ed0

commit 340c6cf9bdf6734013f0c6b4e0d8f3a10fbd4ed0
Author: H.J. Lu <>
Date:   Sat Oct 28 17:41:16 2017 -0700

    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 extends multi-lib support from nptl/Makefile 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]
        * (multidir): New.
        * (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.
        * nptl/Makefile: Don't include
        ($(objpfx) Removed.


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]