[Debian-med-packaging] Bug#861281: rnahybrid: FTBFS on armel

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Thu Sep 28 13:27:31 UTC 2017


On Thu, Sep 28, 2017 at 01:49:50AM +0300, Adrian Bunk wrote:
> What compile times exactly did you measure?
> 
> The numbers I got are:
> -O0: 11s
> -O1: 82m
> -O2: 249m

Maybe I did it wrong and failed to change the flag then.  I must admit
I did find it odd that I saw no change in time between -O1 and -O2.

> The following builds for me easily within the 150m time limit:
> 
> --- debian/rules.old	2017-09-27 18:38:24.225620119 +0000
> +++ debian/rules	2017-09-27 18:40:59.878867203 +0000
> @@ -1,6 +1,13 @@
>  #!/usr/bin/make -f
>  # -*- makefile -*-
>  
> +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
> +
> +# work around the #861281 gcc >= 6 compile time regression on 32bit arm
> +ifneq (,$(findstring $(DEB_HOST_ARCH), armel))
> +    export DEB_CFLAGS_MAINT_APPEND = -O1
> +endif
> +
>  export DEB_BUILD_MAINT_OPTIONS=hardening=+all
>  
>  %:

That seems like it should work well.

-- 
Len Sorensen



More information about the Debian-med-packaging mailing list