This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/14995] glibc fails to build if gold is the default linker, even if ld.bfd is available
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 10 Mar 2015 12:44:14 +0000
- Subject: [Bug build/14995] glibc fails to build if gold is the default linker, even if ld.bfd is available
- Auto-submitted: auto-generated
- References: <bug-14995-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14995
--- Comment #11 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/pr14995 has been created
at 0eb345cb8844391881de0a53c6ad36917bbf4453 (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0eb345cb8844391881de0a53c6ad36917bbf4453
commit 0eb345cb8844391881de0a53c6ad36917bbf4453
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Mar 9 09:16:26 2015 -0700
Support build glibc with gold as default linker
The gold linker has no builtin default linker script and it can't be
to create shared libraries. Unless --enable-gold is used, it should
only be used to create executables. Use -fuse-ld=bfd to create shared
libraries.
[BZ #14995]
* Makerules (shlib-LDFLAGS): New.
($(common-objpfx)shlib.lds): Use it.
(build-shlib): Likewise.
(build-module-helper): Likewise.
($(common-objpfx)libc_pic.os): Likewise.
* config.make.in (use-bfd): New.
* configure: Regenerated.
* configure.ac: Add --enable-gold.
Accept gold 1.11 or higher.
(libc_cv_cc_use_bfd): Set to yes if -fuse-ld=bfd works. AC_SUBST.
(LDBFDFLAGS): New.
Use $LDBFDFLAGS to check if default -shared layout is sufficient.
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.