diff mbox series

libgo patch committed: Install internal/reflectlite.gox

Message ID CAOyqgcUAdJJvN7ENAtLgTyTCfGS1AnEo788wo7=M6rjYRuoBXw@mail.gmail.com
State New
Headers show
Series libgo patch committed: Install internal/reflectlite.gox | expand

Commit Message

Ian Lance Taylor Feb. 16, 2020, 1:21 p.m. UTC
This patch to libgo arranges to install internal/reflectlite.gox.
This makes it possible to use gccgo to bootstrap Go 1.14.  If we don't
install this, gccgo can't compile the sort package, which expects to
be able to import this internal package.  This fixes GCC PR go/93679.
Bootstrapped on x86_64-pc-linux-gnu.  Committed to mainline.

Ian
72700543b67561ab6a466e93b4c0d4fa8e6530e6
diff mbox series

Patch

diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index e67d792a44c..47dd5fbb908 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@ 
-f368afbbd466941dcc6717412d7182e122b40c93
+8505defaa91ecc5b42afd02eb335981e8b02b288
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index 56d38f57e7d..dea09de592b 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -397,6 +397,11 @@  toolexeclibgounicode_DATA = \
 	unicode/utf16.gox \
 	unicode/utf8.gox
 
+# Some internal packages are needed to bootstrap the gc toolchain.
+toolexeclibgointernaldir = $(toolexeclibgodir)/internal
+toolexeclibgointernal_DATA = \
+	internal/reflectlite.gox
+
 # Some packages are only needed for tests, so unlike the other
 # internal packages nothing will explicitly depend on them.
 # Force them to be built.