Your message dated Mon, 09 Oct 2017 22:49:00 +0000 with message-id <e1e1gr6-000fbk...@fasolo.debian.org> and subject line Bug#877963: fixed in u-boot 2017.09+dfsg1-3 has caused the Debian Bug report #877963, regarding u-boot: FTBFS on armel with gcc-7 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 877963: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877963 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: u-boot Severity: serious Version: 2017.07+dfsg1-1 Tags: patch X-Debbugs-Cc: debian-...@lists.debian.org Several armel targets FTBFS on armel: https://buildd.debian.org/status/fetch.php?pkg=u-boot&arch=armel&ver=2017.09%2Bdfsg1-2&stamp=1507251912&raw=0 The boot log fails on the first (dockstar), but I believe openrd*, sheevaplug and possibly guruplug and/or dreamplug are also affected. I've set the version to 2017.07+dfsg1-1, as it also FTBFS when rebuilding with gcc-7 on armel. Though this obviously doesn't seem like a good long-term solution, I've been able to work around the issue by patching u-boot to use gcc-6 only on armel, see patch below. live well, vagrant diff --git a/debian/control b/debian/control index d4116be54e..3393470c5e 100644 --- a/debian/control +++ b/debian/control @@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9.20141010), device-tree-compiler, dpkg-dev (>= 1.17.14), + gcc-6 [armel] <!cross>, gcc-6-arm-linux-gnueabi [armel] <cross>, libfdt-dev:native [arm64], libc6:arm64 [arm64] <cross>, libc6:armhf [armhf] <cross>, diff --git a/debian/patches/allow-setting-gcc b/debian/patches/allow-setting-gcc new file mode 100644 index 0000000000..a0ccd9ca18 --- /dev/null +++ b/debian/patches/allow-setting-gcc @@ -0,0 +1,13 @@ +Index: u-boot/Makefile +=================================================================== +--- u-boot.orig/Makefile ++++ u-boot/Makefile +@@ -338,7 +338,7 @@ LD = $(CROSS_COMPILE)ld.bfd + else + LD = $(CROSS_COMPILE)ld + endif +-CC = $(CROSS_COMPILE)gcc ++CC = $(CROSS_COMPILE)$(GCC) + CPP = $(CC) -E + AR = $(CROSS_COMPILE)ar + NM = $(CROSS_COMPILE)nm diff --git a/debian/patches/series b/debian/patches/series index 03cf73d313..65fb2b11d6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -32,3 +32,4 @@ odroid-xu3/877074-u-boot-exynos-Default-environment-for-Odr.patch upstream/rk3399/0003-rockchip-rk3399-spl-remove-hard-coded-addresses-for-.patch upstream/rk3399/0004-rockchip-clk-rk3399-add-clk_enable-function-and-supp.patch +allow-setting-gcc diff --git a/debian/rules b/debian/rules index 4fae806b0c..42b772a2c0 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,11 @@ export CROSS_COMPILE ?= $(DEB_HOST_GNU_TYPE)- cross_build_tools ?= y endif +export GCC = gcc +ifeq ($(DEB_HOST_ARCH),armel) +export GCC = gcc-6 +endif + # support parallel build using DEB_BUILD_OPTIONS=parallel=N ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) DEB_UBOOT_FLAGS += -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: u-boot Source-Version: 2017.09+dfsg1-3 We believe that the bug you reported is fixed in the latest version of u-boot, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 877...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Vagrant Cascadian <vagr...@debian.org> (supplier of updated u-boot package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 09 Oct 2017 15:14:03 -0700 Source: u-boot Binary: u-boot u-boot-amlogic u-boot-imx u-boot-qcom u-boot-tegra u-boot-omap u-boot-sunxi u-boot-exynos u-boot-rockchip u-boot-rpi u-boot-tools Architecture: source Version: 2017.09+dfsg1-3 Distribution: unstable Urgency: medium Maintainer: Vagrant Cascadian <vagr...@debian.org> Changed-By: Vagrant Cascadian <vagr...@debian.org> Description: u-boot - A boot loader for embedded systems u-boot-amlogic - A boot loader for amlogic systems u-boot-exynos - A boot loader for exynos systems u-boot-imx - A boot loader for imx systems u-boot-omap - A boot loader for omap systems u-boot-qcom - A boot loader for qcom systems u-boot-rockchip - A boot loader for rockchip systems u-boot-rpi - A boot loader for Raspberry PI systems u-boot-sunxi - A boot loader for sunxi systems u-boot-tegra - A boot loader for NVIDIA Tegra systems u-boot-tools - companion tools for Das U-Boot bootloader Closes: 870897 877963 Changes: u-boot (2017.09+dfsg1-3) unstable; urgency=medium . * Set the fdtfile variable from the value of CONFIG_DEFAULT_DEVICE_TREE (Closes: #870897). Thanks to Diego Roversi for the bug report! * Add patch to fix building jffs2 with gcc-7 (Closes: #877963). Thanks to Adrian Bunk! * Update Standards-Version of Debian Policy 4.1.1, no changes needed. Checksums-Sha1: 49d5def05e6ea9df1605e4af24e2b7d8bbcf36d0 2910 u-boot_2017.09+dfsg1-3.dsc 43c623f24074ca8320bbc52baa5639318b5e5bee 40048 u-boot_2017.09+dfsg1-3.debian.tar.xz 2a732e24014427f387931326a951a6a5cae5d9f8 5591 u-boot_2017.09+dfsg1-3_amd64.buildinfo Checksums-Sha256: 4a2a5f63994e2a0ee2ecf5d46565ff02a4f24e06414e96437f33a89df0330ea2 2910 u-boot_2017.09+dfsg1-3.dsc cc5e5008a2e038669e1acf2e07bda3007eb7c8cb74f6831f703aabae4f7918c9 40048 u-boot_2017.09+dfsg1-3.debian.tar.xz 8cf0ad8ae04d8d697ab5816d80f6f8e5054d4fd54fb7f646e8840cb7b8556030 5591 u-boot_2017.09+dfsg1-3_amd64.buildinfo Files: f9bb6c6b6de60a8a00921d8f4e7e9079 2910 admin optional u-boot_2017.09+dfsg1-3.dsc 62ceb3c864e1bfcc38a3b2a92b5189d5 40048 admin optional u-boot_2017.09+dfsg1-3.debian.tar.xz 9a7cecefd0d80390a37c59d14a77be14 5591 admin optional u-boot_2017.09+dfsg1-3_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlnb97ETHHZhZ3JhbnRA ZGViaWFuLm9yZwAKCRC3i4LUgUuRtjREEACkKvj+x4BL1LaQpFfw8thI1h7wywyd dIhyx6uMmn6TUbYL2KILN2IzwUB9Y98eTjnFNLufUeVll+V84vMavZNk9dy2v/Qs H2WsF8PnPen8T7mpa/UmUhUP5DfHkUmFADnfa341alUchFkcmIgrh5uaojpwj7Fr oXEtOCO33bHVLCQbbfXQH3tERVf/O+XfJuZ4nG9XNB+cr9Ih6yDKX8VkOEseKG+s Pyi5wz9c1LSkKXjjf9GyWBaH8OF+S+1RAVY34HZyQMNlxAodfzwmsmNuBzYQmubZ fA5WzraCuNnEv0eTOPo3pw/UJ8usU/z27ByL3EwP8tXWv1n5CUpbVmamv2TCGkUc OZ4mqs6kZQKRZSz0WD+c8txlQKZE/RAEL1BpRPWjs+1wF8l+dvf/GvkKypD+fsKA rxbpwQSWzoiI9nwhpvGVn3Bq/64UwwLvP+CzxJ4+opxQACA5KqBul+d3fFXnk/7n IEBJsGbLrj9ilYL2ZzCUly8AcCT3CQ0Blyb0l4HUMu1OLUOdlGwxFMVq649Oopc5 VlImojV/UucZFLPh+KL6X/5HqO0RrJH/KD9cRn2pgu4YjSaMXc6oYsGpSw6P1DeZ GH+iv8rEaG5N0BMngp3nz2iiI/x9tB+P4/TK9NCmTBBO5M9p3CMphbuSKiHFdnTy nOpDwWw7fEuRCw== =vORw -----END PGP SIGNATURE-----
--- End Message ---