This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

[patch] src-release.sh enable gold


Hello, attached is a patch for src-release.sh to enable gold,
as an attempt to fix:
https://sourceware.org/ml/binutils/2017-08/msg00358.html

I ran src-release.sh before/after the patch on both binutils, and gdb,
diffing the results, the only extraneous changes were that
gdb/po/gdb.pot apparently produces the date/time.

So, this should in theory only enable gold to be built without bison installed,
not actually change anything with regards to gold being built default
when compiling from the tarball.

$ diffstat tarball-binutils.diff
 gold/yyscript.c | 3629 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 gold/yyscript.h |  307 ++++
 md5.sum         |    4
 src-release.sh  |    2
 4 files changed, 3940 insertions(+), 2 deletions(-)

$ diffstat tarball-gdb.diff.xz
 gdb/po/gdb.pot |    2 +-
 md5.sum        |    4 ++--
 src-release.sh |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

2017-04-13  Matt Rice <ratmice@gmail.com>

        * src-release.sh: Enable gold during release process.
From 31fb0fb02ee47280214ec5c8b3fc3e6d03f6af17 Mon Sep 17 00:00:00 2001
From: matt rice <ratmice@gmail.com>
Date: Wed, 13 Sep 2017 09:46:22 -0700
Subject: [PATCH] Add enable-gold and enable-ld to src-release so that the
 tarball picks up gold bison output.

---
 src-release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src-release.sh b/src-release.sh
index 64fa4c2..80c1c33 100755
--- a/src-release.sh
+++ b/src-release.sh
@@ -83,7 +83,7 @@ do_proto_toplev()
 	<Makefile.in >tmp
     mv -f tmp Makefile.in
     #
-    ./configure --target=i386-pc-linux-gnu
+    ./configure --target=i386-pc-linux-gnu --enable-gold --enable-ld
     $MAKE configure-host configure-target \
 	ALL_GCC="" ALL_GCC_C="" ALL_GCC_CXX="" \
 	CC_FOR_TARGET="$CC" CXX_FOR_TARGET="$CXX"
-- 
2.9.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]