stubdom: disable newlib's need for texinfo
PATCH 1/1 stubdom: disable newlib's need for texinfo
newlib has a hardcoded dependency on texinfo, which in turn means that Xen has this dependency when building the stub domains. The files that newlib generates are never used or exposed by the Xen build system so its really a wasted effort to require a heavy (size wise) package for the build of something that's thrown away. Instead of adding it as a requirement this patches out the code path in newlib that uses it so that the files are never generated.
--- stubdom/Makefile | 1 + stubdom/newlib-disable-texinfo.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 stubdom/newlib-disable-texinfo.patch
stubdom/Makefile +1 -0
@@ -87,6 +87,7 @@ newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz patch -d $@ -p0 < newlib.patch patch -d $@ -p0 < newlib-chk.patch patch -d $@ -p1 < newlib-stdint-size_max-fix-from-1.17.0.patch + patch -d $@ -p1 < newlib-disable-texinfo.patch find $@ -type f | xargs perl -i.bak \ -pe 's/\b_(tzname|daylight|timezone)\b/$$1/g' touch $@
stubdom/newlib-disable-texinfo.patch new file +13 -0
@@ -0,0 +1,13 @@ +--- a/etc/Makefile.in 2007-03-27 13:09:32.000000000 -0500 ++++ b/etc/Makefile.in 2018-07-09 11:08:50.294183081 -0500 +@@ -63,8 +63,8 @@ + PDFFILES = standards.pdf configure.pdf + HTMLFILES = standards.html configure.html + +-all: info +-install: install-info ++all: ++install: + + uninstall: +
Signature · 7 lines
2.16.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Doug Goldstein writes ("[PATCH] stubdom: disable newlib's need for texinfo"):
Quoted 7 lines
newlib has a hardcoded dependency on texinfo, which in turn means that Xen has this dependency when building the stub domains. The files that newlib generates are never used or exposed by the Xen build system so its really a wasted effort to require a heavy (size wise) package for the build of something that's thrown away. Instead of adding it as a requirement this patches out the code path in newlib that uses it so that the files are never generated.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 9 lines · Doug Goldstein
newlib has a hardcoded dependency on texinfo, which in turn means that Xen has this dependency when building the stub domains. The files that newlib generates are never used or exposed by the Xen build system so its really a wasted effort to require a heavy (size wise) package for the build of something that's thrown away. Instead of adding it as a requirement this patches out the code path in newlib that uses it so that the files are never generated.
Signed-off-by Doug Goldstein <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Samuel Thibault
Reviewed-byWei Liu, le lun. 09 juil. 2018 18:53:46 +0100, a ecrit:
Quoted 9 lines · Doug Goldstein
Quoted 8 lines
newlib has a hardcoded dependency on texinfo, which in turn means that Xen has this dependency when building the stub domains. The files that newlib generates are never used or exposed by the Xen build system so its really a wasted effort to require a heavy (size wise) package for the build of something that's thrown away. Instead of adding it as a requirement this patches out the code path in newlib that uses it so that the files are never generated.
Quoted 3 lines
Quoted 1 line
Signed-off-by Doug Goldstein <[email protected]>Acked-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel