[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#850250: FTBFS on sparc with DEB_BUILD_OPTIONS=nolang=biarch



Source: gcc-6
Version: 6.3.0-2
Tags: patch
User: debian-sparc@lists.debian.org
Usertag: sparc
X-Debbugs-Cc: helmutg@debian.org, debian-sparc@lists.debian.org

Thanks to the recent changes to get gcc to target ultrasparc by default,
the biarch build is now successful. However, it still fails in exactly
the same way when biarch is disabled; I believe the following patch
should fix this. Is there a good reason why this wasn't done before,
other than an oversight?

Regards,
James

> --- debian/rules2.orig  2017-01-05 11:06:00.846518693 +0000
> +++ debian/rules2       2017-01-05 11:08:24.644346025 +0000
> @@ -543,9 +543,9 @@
>  endif
>
>  ifneq (,$(findstring sparc-linux,$(DEB_TARGET_GNU_TYPE)))
> +  CONFARGS += --with-cpu-32=ultrasparc
>    ifeq ($(biarch64),yes)
>      CONFARGS += --enable-targets=all
> -    CONFARGS += --with-cpu-32=ultrasparc
>    endif
>  endif
>


Reply to: