On 9 September 2018 at 18:10, Dirk Eddelbuettel wrote: | | On 9 September 2018 at 18:49, John David Anglin wrote: | | On 2018-09-09 6:45 PM, Dirk Eddelbuettel wrote: | | > Now, one thing has me puzzled. You say the build failed, but on the on | | > status page hppa looks "green": | | > | | > https://buildd.debian.org/status/package.php?p=quantlib-swig | | > | | > Mind you, the entry is 'only' 21 hours old. Everything else built four days ago. | | I did a couple of builds to test the possibilities. The only one that | | worked used -mlong-calls. | | https://buildd.debian.org/status/logs.php?pkg=quantlib-swig&ver=1.13-5&arch=hppa | | Great -- did not know you had access as you hadn't use a @d.o address, and I | don't think we had met (or if so, my apologies). | | That said, do you by chance overlap with the mips64el team or can get them? | Their build needs a longer timeout :-/ It's a big package and it got killed | after 150 of inactivity. That can happen on low-power / low-memory machines.
I added mips64el to another one of the low-mem settings. Current build diff below: 2 files changed, 13 insertions(+), 4 deletions(-) debian/changelog | 7 +++++++ debian/rules | 10 ++++++---- modified debian/changelog @@ -1,3 +1,10 @@ +quantlib-swig (1.13-6) unstable; urgency=medium + + * debian/rules: Additional settings for hppa, plus cleanup. Thanks to + John David Anglin for the -mlong-calls suggestion. (Closes: #908408) + + -- Dirk Eddelbuettel <e...@debian.org> Sun, 09 Sep 2018 18:14:47 -0500 + quantlib-swig (1.13-5) unstable; urgency=medium [Michael Hudson-Doyle] modified debian/rules @@ -37,9 +37,10 @@ cxxcompiler = g++ ## edd 26 Oct 2007 turn strict aliasing warning off ## edd 01 May 2011 add -fpermissive as g++ is more of a stickler ## edd 06 May 2011 remove -fpermissive with QL 1.1 betas +## edd 09 Sep 2018 bringing over a few extra settings for hppa compilerflags = -O2 -Wall -Wno-strict-aliasing -DBOOST_NO_AUTO_PTR ifeq ($(cpu),hppa) -compilerflags = -O2 -ffunction-sections -DBOOST_NO_AUTO_PTR +compilerflags = -O0 -g0 -mlong-calls -ffunction-sections --param ggc-min-expand=20 -DBOOST_NO_AUTO_PTR #cxxcompiler = g++-3.0 endif @@ -51,9 +52,10 @@ endif ## edd 27 May 2012 added mips/mipsel/armel/armhf here too ## edd 11 Mar 2015 remove powerpc and armhf from the list as they built on Ubuntu (cf ## https://launchpad.net/ubuntu/+source/quantlib-swig/1.5-1ubuntu1) and #779720) -## also remove mips, mipsel as they are getting care of below +## also remove mips, mipsel as they are getting taken care of below +## edd 09 Sep 2018 adding mips64el here as well as it recently timed out #ifneq "$(findstring $(cpu), m68k arm armeb s390 powerpc armel armhf mips mipsel)" "" -ifneq "$(findstring $(cpu), m68k arm armeb s390 armel)" "" +ifneq "$(findstring $(cpu), m68k arm armeb s390 armel mips64el)" "" compilerflags = -O0 -g0 -DBOOST_NO_AUTO_PTR endif @@ -72,7 +74,7 @@ compilerflags = -O0 -g0 --param ggc-min-expand=20 -DBOOST_NO_AUTO_PTR endif ## edd 22 Aug 2018 trying to help a few other systems with their memory exhaustion -ifneq "$(findstring $(cpu), hppa hurd-i386 kfreebsd-i386 m68k powerpc x32)" "" +ifneq "$(findstring $(cpu), hurd-i386 kfreebsd-i386 m68k powerpc x32)" "" compilerflags = -O0 -g0 --param ggc-min-expand=20 -DBOOST_NO_AUTO_PTR endif Again, big thank you for looking into hppa! Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org