This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22362] Installed crt1.o, crti,.o and crtn.o files are used with -m32
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 29 Oct 2017 02:06:18 +0000
- Subject: [Bug libc/22362] Installed crt1.o, crti,.o and crtn.o files are used with -m32
- Auto-submitted: auto-generated
- References: <bug-22362-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22362
--- Comment #4 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, hjl/pr22362/master has been created
at 340c6cf9bdf6734013f0c6b4e0d8f3a10fbd4ed0 (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=340c6cf9bdf6734013f0c6b4e0d8f3a10fbd4ed0
commit 340c6cf9bdf6734013f0c6b4e0d8f3a10fbd4ed0
Author: H.J. Lu <hjl.tools@gmail.com>
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]
* 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.
* nptl/Makefile: Don't include multidir.mk.
($(objpfx)multidir.mk): Removed.
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.