Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [autobuild.buildroot.net] Your build results for 2017-05-01
From: Fabio Estevam @ 2017-05-04 12:11 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170502062817.7C03E207D4@mail.free-electrons.com>

On Tue, May 2, 2017 at 3:28 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> This is the list of Buildroot build failures that occured on
> 2017-05-01, and for which you are a registered architecture developer
> or package developer. Please help us improving the quality of
> Buildroot by investigating those build failures and sending patches to
> fix them. Thanks!
>
> Build failures related to your packages:
>
>          arm | atest-895b0183a89c15f5e2305... | http://autobuild.buildroot.net/results/24081a28132899e9853dcb33a345db55c7c9d04a

What about adding a "depends on BR2_USE_MMU" to  package/atest/Config.in?

Would this be the correct fix for this issue?

^ permalink raw reply

* [Buildroot] [PATCH] cukinia: new package
From: Thomas Petazzoni @ 2017-05-04  9:16 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <243032793.106391.1493650100104.JavaMail.zimbra@savoirfairelinux.com>

Hello,

On Mon, 1 May 2017 10:48:20 -0400 (EDT), Alexandre   Leblanc wrote:

> I'm quite new to the world of project up-streaming. 
> Knowing This might be a hard question to answer, would you be able to quantify how many outside contribution would be reasonably acceptable ? 

There is no exact quantity, it's just a feeling about the project
activity/spread/usefulness.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [autobuild.buildroot.net] Your build results for 2017-05-02
From: Peter Korsgaard @ 2017-05-04  8:46 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170504095750.7cb38619@free-electrons.com>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Thu, 4 May 2017 09:48:57 +0200, Waldemar Brodkorb wrote:

 >> I wouldn't say it was wrong.
 >> We have all internal toolchains fixed and we get a good idea about the quality of the latest release.
 >> 
 >> May be it will motivate Synopsis to release a new tarball, as other important ARC Bugfixes are included
 >> in this release. 

 > Well the problem is that in the mean time, we have autobuilder failures
 > caused by this. We are about to release -rc1, so we will try to reduce
 > the number of autobuilder failures, and this will get in the way. Which
 > is why we need to find a solution here.

 > Options:

 >  (1) Synopsys quickly publishes a new pre-built toolchain with uClibc
 >      1.0.24 + wordexp

 >  (2) We disable the Synopsys toolchain from our autobuilders

I would suggest we give Synopsys a few days to do (1), and if it doesn't
get fixed / too much noise in the autobuilder results do (2).

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [autobuild.buildroot.net] Your build results for 2017-05-02
From: Thomas Petazzoni @ 2017-05-04  7:57 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <035B547B-A554-4715-A235-95E6A1E14EE9@uclibc-ng.org>

Hello,

On Thu, 4 May 2017 09:48:57 +0200, Waldemar Brodkorb wrote:

> I wouldn't say it was wrong.
> We have all internal toolchains fixed and we get a good idea about the quality of the latest release.
> 
> May be it will motivate Synopsis to release a new tarball, as other important ARC Bugfixes are included
> in this release. 

Well the problem is that in the mean time, we have autobuilder failures
caused by this. We are about to release -rc1, so we will try to reduce
the number of autobuilder failures, and this will get in the way. Which
is why we need to find a solution here.

Options:

 (1) Synopsys quickly publishes a new pre-built toolchain with uClibc
     1.0.24 + wordexp

 (2) We disable the Synopsys toolchain from our autobuilders

 (3) We re-add exceptions in the relevant packages, but only for the
     Synopsys toolchain (and not uClibc globally)

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [autobuild.buildroot.net] Your build results for 2017-04-29
From: Thomas Petazzoni @ 2017-05-04  7:37 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <223d1087-7158-2bce-b145-774a871f1911@mind.be>

Hello,

On Thu, 4 May 2017 08:55:47 +0200, Arnout Vandecappelle wrote:

>  The problem is that that defconfig file (sourcery-arm-thumb2.config) doesn't
> specify which toolchain to use:
> 
> BR2_arm=y
> BR2_cortex_a8=y
> BR2_ARM_EABI=y
> BR2_ARM_INSTRUCTIONS_THUMB2=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TARGET_OPTIMIZATION=""
> 
> It just relies on the default external toolchain.
> 
>  Obviously this isn't very robust to begin with: when the external toolchains
> change, this could implicitly change this toolchain defconfig. E.g. imagine that
> Linaro would grow a Thumb2 option, then suddenly this sourcery-arm-thumb2.config
> would build using a Linaro toolchain...

Aaah, yes.

>  So I think the solution is to explicitly add the predefined external toolchain
> to use to all the toolchain configs. I'll try to send a patch for that.

OK. Thanks.

>  BTW, I notice now that we don't have configs for the Codescape toolchains. Any
> reason for that?

Nope, just nobody has suggested one. Or maybe at the time I was a bit
annoyed by having too many MIPS related configurations.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [autobuild.buildroot.net] Your build results for 2017-05-02
From: Thomas Petazzoni @ 2017-05-04  7:30 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAOMZO5BbPjn9b6i1uDr01ikFsSHWy9xkzfpk7F7GhssQyCuuJw@mail.gmail.com>

Hello,

On Wed, 3 May 2017 18:20:20 -0300, Fabio Estevam wrote:

> >>          arc | atest-895b0183a89c15f5e2305... | http://autobuild.buildroot.net/results/f344bbc94344107ef2f0337a4d8f211563d5a3bf

This one is the ARC pre-built toolchain, which we don't have control
over. So for now, we need to add an exclusion.

Waldemar: in fact, re-enabling atest, ifupdown and lvm on uClibc was
wrong, because the ARC external toolchain provided pre-built by
Synopsys does not have wordexp support and does not use uClibc-ng
1.0.24 yet.

Vlad: do you know when the Synopsys toolchain might be rebuilt with
those options enabled?

> >> microblazeel | atest-895b0183a89c15f5e2305... | http://autobuild.buildroot.net/results/b05ef59f1fd20800da2f407f64c369b9b5252328
> >> microblazeel | atest-895b0183a89c15f5e2305... | http://autobuild.buildroot.net/results/35b4a1e2a47f4e169e286fa8d25606821a88cc58  

Those ones are due to me having forgotten to rebuild the Microblaze
toolchain. I've just started the build, I will deploy once the build is
finished.

Thanks for reporting the issue!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [PATCH] linux-headers: bump 4.{4,9,10}.x series
From: Peter Korsgaard @ 2017-05-04  7:29 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170503193629.5291-1-peter@korsgaard.com>

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] linux-headers: bump 4.{4,9,10}.x series
From: Peter Korsgaard @ 2017-05-04  7:29 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=15a31470b0381fc0a77cafbc5ed63c8578a163ff
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/linux-headers/Config.in.host | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index f75fac8..dcfcce9 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -227,8 +227,8 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "3.10.105"	if BR2_KERNEL_HEADERS_3_10
 	default "3.12.73"	if BR2_KERNEL_HEADERS_3_12
 	default "4.1.39"	if BR2_KERNEL_HEADERS_4_1
-	default "4.4.65"	if BR2_KERNEL_HEADERS_4_4
-	default "4.9.25"	if BR2_KERNEL_HEADERS_4_9
-	default "4.10.13"	if BR2_KERNEL_HEADERS_4_10
+	default "4.4.66"	if BR2_KERNEL_HEADERS_4_4
+	default "4.9.26"	if BR2_KERNEL_HEADERS_4_9
+	default "4.10.14"	if BR2_KERNEL_HEADERS_4_10
 	default "4.11"		if BR2_KERNEL_HEADERS_4_11
 	default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION

^ permalink raw reply related

* [Buildroot] [git commit] configs: add raspberrypi3 64bits defconfig
From: Peter Korsgaard @ 2017-05-04  7:25 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=9bbea36e3e6f27475dd8589f087522745aa39aa5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This configuration builds a 64bit image for RaspberryPi 3.

The size of the ext4 filesystem has to be extended to fit the large amount
(~60MB) of kernel modules enabled in the defconfig.

[Peter: drop gcc version selection / glibc, explain ext4 size requirement]
Signed-off-by: Ga??l PORTAY <gael.portay@savoirfairelinux.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/raspberrypi/genimage-raspberrypi3-64.cfg | 31 +++++++++++++++++++++
 board/raspberrypi/post-image.sh                | 20 ++++++++++++++
 board/raspberrypi3-64                          |  1 +
 configs/raspberrypi3_64_defconfig              | 37 ++++++++++++++++++++++++++
 4 files changed, 89 insertions(+)

diff --git a/board/raspberrypi/genimage-raspberrypi3-64.cfg b/board/raspberrypi/genimage-raspberrypi3-64.cfg
new file mode 100644
index 0000000..c5f8652
--- /dev/null
+++ b/board/raspberrypi/genimage-raspberrypi3-64.cfg
@@ -0,0 +1,31 @@
+image boot.vfat {
+  vfat {
+    files = {
+      "bcm2710-rpi-3-b.dtb",
+      "bcm2837-rpi-3-b.dtb",
+      "rpi-firmware/bootcode.bin",
+      "rpi-firmware/cmdline.txt",
+      "rpi-firmware/config.txt",
+      "rpi-firmware/fixup.dat",
+      "rpi-firmware/start.elf",
+      "Image"
+    }
+  }
+  size = 32M
+}
+
+image sdcard.img {
+  hdimage {
+  }
+
+  partition boot {
+    partition-type = 0xC
+    bootable = "true"
+    image = "boot.vfat"
+  }
+
+  partition rootfs {
+    partition-type = 0x83
+    image = "rootfs.ext4"
+  }
+}
diff --git a/board/raspberrypi/post-image.sh b/board/raspberrypi/post-image.sh
index b2bb070..de97299 100755
--- a/board/raspberrypi/post-image.sh
+++ b/board/raspberrypi/post-image.sh
@@ -16,6 +16,26 @@ dtoverlay=pi3-miniuart-bt
 __EOF__
 	fi
 	;;
+	--aarch64)
+	# Run a 64bits kernel (armv8)
+	sed -e '/^kernel=/s,=.*,=Image,' -i "${BINARIES_DIR}/rpi-firmware/config.txt"
+	if ! grep -qE '^arm_control=0x200' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
+		cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
+
+# enable 64bits support
+arm_control=0x200
+__EOF__
+	fi
+
+	# Enable uart console
+	if ! grep -qE '^enable_uart=1' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
+		cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
+
+# enable rpi3 ttyS0 serial console
+enable_uart=1
+__EOF__
+	fi
+	;;
 esac
 
 rm -rf "${GENIMAGE_TMP}"
diff --git a/board/raspberrypi3-64 b/board/raspberrypi3-64
new file mode 120000
index 0000000..fcdafc8
--- /dev/null
+++ b/board/raspberrypi3-64
@@ -0,0 +1 @@
+raspberrypi
\ No newline at end of file
diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig
new file mode 100644
index 0000000..13a505b
--- /dev/null
+++ b/configs/raspberrypi3_64_defconfig
@@ -0,0 +1,37 @@
+BR2_aarch64=y
+BR2_cortex_a53=y
+BR2_ARM_FPU_VFPV4=y
+
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+
+BR2_SYSTEM_DHCP="eth0"
+
+# Linux headers same as kernel, a 4.9 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
+
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5e4ee836560d4c0371e109bf469e1ad808ae7a44"
+BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
+
+# Build the DTB from the kernel sources
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2837-rpi-3-b"
+
+BR2_PACKAGE_RPI_FIRMWARE=y
+# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
+
+# Required tools to create the SD image
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
+
+# Filesystem / image
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_BLOCKS=120000
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="--aarch64"

^ permalink raw reply related

* [Buildroot] [v3 1/1] configs: add raspberrypi3 64bits defconfig
From: Peter Korsgaard @ 2017-05-04  7:24 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170418155959.27129-1-gael.portay@savoirfairelinux.com>

>>>>> "Ga?l" == Ga?l PORTAY <gael.portay@savoirfairelinux.com> writes:

 > This configuration builds a 64bit image for RaspberryPi 3.
 > Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
 > ---
 > Changes since v2:
 > - Set Floating Point Unit to VFPv4 (Martin Bark)

 > Changes since v1:
 > - Symlink raspberrypi3-64 and update BR2_ROOTFS_POST_[BUILD|IMAGE]_SCRIPT
 > - Add BR2_cortex_a53 architecture
 > - Set BR2_TARGET_ROOTFS_EXT2_BLOCKS to 120000
 > - Update kernel repository version

 > diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig
 > new file mode 100644
 > index 000000000..aa78c162b
 > --- /dev/null
 > +++ b/configs/raspberrypi3_64_defconfig
 > @@ -0,0 +1,39 @@
 > +BR2_aarch64=y
 > +BR2_cortex_a53=y
 > +BR2_ARM_FPU_VFPV4=y
 > +
 > +BR2_GCC_VERSION_6_X=y
 > +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y

Any specific reason why you want to use gcc 6.x / glibc? We normally
don't do that in our defconfigs, and gcc 5 / uClibc works here with a
quick test - So I've removed it.

 > +# Filesystem / image
 > +BR2_TARGET_ROOTFS_EXT2=y
 > +BR2_TARGET_ROOTFS_EXT2_4=y
 > +BR2_TARGET_ROOTFS_EXT2_BLOCKS=120000

I was going to drop this EXT2_BLOCKS, but I did a test build and the
kernel config indeed enables so many modules that they don't fit in our
default size, so I've added a comment about that and committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH v3 1/2] cracklib: New package
From: Sørensen, Stefan @ 2017-05-04  7:10 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <f24453b3-9fc6-1a1e-4e01-071da345bbdb@gmail.com>

On Sun, 2017-04-30 at 15:36 +0200, Romain Naour wrote:

> +ifeq ($(BR2_PACKAGE_CRACKLIB_TOOLS),)
> > +define CRACKLIB_REMOVE_TOOLS
> > +	rm -f $(TARGET_DIR)/usr/sbin/*cracklib*
> 
> Maybe this part can be done in a post install script instead ?

Post install script? I can't find any reference to what that is.

> > +	rm $(TARGET_DIR)/usr/share/cracklib/cracklib-small
> 
> Why do you remove cracklib-small binary ?

This is not a binary, but rather the source for the small dictionary.
It is not needed on the target.


Stefan

^ permalink raw reply

* [Buildroot] [PATCH] toolchains/configs: make external toolchain explicit
From: Arnout Vandecappelle @ 2017-05-04  7:07 UTC (permalink / raw)
  To: buildroot

Some of the toolchain configs rely on the default to select which
external toolchain to use. However, this is wrong for two reasons:
- when the defaults change in Buildroot, the toolchain config will
  change under the hood;
- when the autobuild-run script adds some options (in particular,
  BR2_STATIC_LIBS), it is possible that the default changes (or is
  no longer available).

Both can be fixed by explicitly adding the external toolchain option
we want to the config file. Indeed, the autobuild-run script will
then detect that there is a difference between the generated config
and the base one, and will discard it.

Fixes:
http://autobuild.buildroot.net/results/39888c188c0d13219a8419897a833275fcc81597

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
I didn't really test this change, I just manually ran a config which
each of them and checked if it was OK.
---
 web/toolchains/configs/linaro-aarch64.config      | 1 +
 web/toolchains/configs/linaro-arm.config          | 1 +
 web/toolchains/configs/sourcery-arm-thumb2.config | 1 +
 web/toolchains/configs/sourcery-nios2.config      | 1 +
 4 files changed, 4 insertions(+)

diff --git a/web/toolchains/configs/linaro-aarch64.config b/web/toolchains/configs/linaro-aarch64.config
index bb466f3..f65f78a 100644
--- a/web/toolchains/configs/linaro-aarch64.config
+++ b/web/toolchains/configs/linaro-aarch64.config
@@ -1,2 +1,3 @@
 BR2_aarch64=y
 BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y
diff --git a/web/toolchains/configs/linaro-arm.config b/web/toolchains/configs/linaro-arm.config
index 91149a7..d72e19b 100644
--- a/web/toolchains/configs/linaro-arm.config
+++ b/web/toolchains/configs/linaro-arm.config
@@ -2,3 +2,4 @@ BR2_arm=y
 BR2_cortex_a8=y
 BR2_ARM_EABIHF=y
 BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y
diff --git a/web/toolchains/configs/sourcery-arm-thumb2.config b/web/toolchains/configs/sourcery-arm-thumb2.config
index 14b64b7..e726757 100644
--- a/web/toolchains/configs/sourcery-arm-thumb2.config
+++ b/web/toolchains/configs/sourcery-arm-thumb2.config
@@ -3,4 +3,5 @@ BR2_cortex_a8=y
 BR2_ARM_EABI=y
 BR2_ARM_INSTRUCTIONS_THUMB2=y
 BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM=y
 BR2_TARGET_OPTIMIZATION=""
diff --git a/web/toolchains/configs/sourcery-nios2.config b/web/toolchains/configs/sourcery-nios2.config
index 0124413..d58407d 100644
--- a/web/toolchains/configs/sourcery-nios2.config
+++ b/web/toolchains/configs/sourcery-nios2.config
@@ -1,2 +1,3 @@
 BR2_nios2=y
 BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [autobuild.buildroot.net] Your build results for 2017-04-29
From: Arnout Vandecappelle @ 2017-05-04  6:55 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170503150243.72d66fb9@free-electrons.com>



On 03-05-17 15:02, Thomas Petazzoni wrote:
> Hello,
> 
> On Wed, 3 May 2017 14:47:13 +0200, Richard Braun wrote:
> 
>>> Richard have you updated your autobuild-run script recently?  
>>
>> My builder should be running with version 6986aa15ed966e16312ebaef1a47f498ca76a197.
>>
>> It is automatically updated and restarted once a week.
> 
> Then you are running with the latest changes from Arnout, and most of
> the other autobuilder slaves are not, which is why we only see this
> issue coming from your autobuilder.
> 
> So, this confirms my hypothesis that the bug is in the changes from
> Arnout :-)

 The problem is that that defconfig file (sourcery-arm-thumb2.config) doesn't
specify which toolchain to use:

BR2_arm=y
BR2_cortex_a8=y
BR2_ARM_EABI=y
BR2_ARM_INSTRUCTIONS_THUMB2=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_OPTIMIZATION=""

It just relies on the default external toolchain.

 Obviously this isn't very robust to begin with: when the external toolchains
change, this could implicitly change this toolchain defconfig. E.g. imagine that
Linaro would grow a Thumb2 option, then suddenly this sourcery-arm-thumb2.config
would build using a Linaro toolchain...

 So I think the solution is to explicitly add the predefined external toolchain
to use to all the toolchain configs. I'll try to send a patch for that.

 BTW, I notice now that we don't have configs for the Codescape toolchains. Any
reason for that?

 Regards,
 Arnout
-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply

* [Buildroot] [autobuild.buildroot.net] Build results for 2017-05-03
From: Thomas Petazzoni @ 2017-05-04  6:28 UTC (permalink / raw)
  To: buildroot

Hello,

Build statistics for 2017-05-03
================================

      successes : 202
       failures : 86 
       timeouts : 0  
          TOTAL : 288

Classification of failures by reason
====================================

           host-protobuf-3.2.0 | 27
           uboot-tools-2017.03 | 6 
                    mpir-3.0.0 | 5 
               acpica-20170303 | 4 
                 libqmi-1.18.0 | 4 
                   luvi-v2.7.5 | 4 
                    mpv-0.25.0 | 4 
                 binutils-2.27 | 3 
               ifupdown-0.8.16 | 3 
atest-895b0183a89c15f5e2305... | 2 
                 mplayer-1.3.0 | 2 
                protobuf-3.2.0 | 2 
                tinyxml2-4.0.1 | 2 
                  arp-scan-1.9 | 1 
                      bmon-4.0 | 1 
                busybox-1.26.2 | 1 
                 efibootmgr-14 | 1 
kvm-unit-tests-5731572b2ac2... | 1 
                  libcdio-0.94 | 1 
             lttng-tools-2.9.4 | 1 
        luasql-sqlite3-2.3.0-1 | 1 
               opencv-2.4.13.2 | 1 
                 opencv3-3.2.0 | 1 
                poppler-0.54.0 | 1 
               pulseview-0.3.0 | 1 
                      qt-4.8.7 | 1 
             rabbitmq-c-v0.8.0 | 1 
                 sudo-1.8.19p2 | 1 
toolchain-external-codesour... | 1 
toolchain-external-codesour... | 1 
             util-linux-2.29.2 | 1 


Detail of failures
===================

         arm |                acpica-20170303 | NOK | http://autobuild.buildroot.net/results/89077c248570046c8285e9f689c684ef936d2b3e |     
         arm |                acpica-20170303 | NOK | http://autobuild.buildroot.net/results/b9ebec1df2a6f54b1311b8936cfb3a0095eaa6b5 |     
         arm |                acpica-20170303 | NOK | http://autobuild.buildroot.net/results/45749c63ef62c91bc7120a35960b4683db7f5fd6 |     
         arm |                acpica-20170303 | NOK | http://autobuild.buildroot.net/results/250451b52c23c4d6abed80d93945fe4ee4c340a4 |     
         arm |                   arp-scan-1.9 | NOK | http://autobuild.buildroot.net/results/a4ea4d04bcb7bb43074e93b11b3e69909be52305 |     
         arc | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/f25db27e15a784b91e33fd51ddd10f268b73d56c |     
microblazeel | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/56fd7e8d4d6b422cf63ff50eae06268660253080 |     
        bfin |                  binutils-2.27 | NOK | http://autobuild.buildroot.net/results/ad6b264bf61f2bf9654198cc7e0c587c9499e3b1 | ORPH
        bfin |                  binutils-2.27 | NOK | http://autobuild.buildroot.net/results/462046ff091029d1064dad5b2bc24a2d06d44c50 | ORPH
        bfin |                  binutils-2.27 | NOK | http://autobuild.buildroot.net/results/277c8143322b43e32b9a7d58923448939a088b71 | ORPH
         arm |                       bmon-4.0 | NOK | http://autobuild.buildroot.net/results/8bae854a574083b1007d9d9ececd8b2f2c643ace |     
         arm |                 busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/cf6bd48143e3350b6b420929d7b8e4d492984563 | ORPH
         arm |                  efibootmgr-14 | NOK | http://autobuild.buildroot.net/results/bbebee9e0170f6dc4e22c11ae68ba076d72b0df8 |     
       nios2 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ef9f8094964572067a2761a14ca15348e7489950 | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/f2f451bf208db662930e2a2e620a9aa9138bb212 | ORPH
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ff8c98c855658c121f4683e30631cbcc603febc9 | ORPH
        or1k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/a24621a48e70cede84ed13458bd5be2f5ef4cfb1 | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/379e3757b3ca809f0390a2262fad71beb56558b6 | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/d1f57cbd84a0a996da709279d0ca6b8e71118abe | ORPH
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/7a52d3b55b2371e5c80de804a608a6316800e7fc | ORPH
        bfin |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/836f1b86499f63adc66b8cbae54fb1eb26486ae1 | ORPH
        mips |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/fe2cd93f27bc429b26e959f878427d925fa2bebf | ORPH
    mips64el |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/a20219ef134855788903daf6882885bebef0e9e1 | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/f8fe71a742c217f234ce1d8ff173e41ce8d5233e | ORPH
        m68k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/77b1def3b5d550e53dfe59773afb7b2ae7ca5fd9 | ORPH
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/c2f756d509e585b86220b85b74fd91d349a7602e | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/5f016bdb38cf16098124d7cbfced8059240b179c | ORPH
         sh4 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/4aa2831df047c1f52da4753481ef7f61689758c7 | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/730ea3529eb75ffbf8fde9095b7e427ed037601b | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/677828e08a9239d58b219a420e1590d980498466 | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/bfd7972d4dcfb637542d8de7ed2eec1625ccbb85 | ORPH
        m68k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/a8952e824af19609decc4a820e2e60efb51fc13c | ORPH
    mips64el |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/0e639e366a9ea6a2281693e5ad647153237b20a8 | ORPH
     sparc64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/9ae66b2cd8608f5470f16c45a51be2d2b2c1b9f8 | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/53ab12eaa9bce93003ea449ef8b6535220fbc5c3 | ORPH
        i586 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/54807c9ae328f5f51b88d8ed6169e86564200059 | ORPH
     powerpc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/b0479011b5abb60e371c73bbcc134c196d330437 | ORPH
     aarch64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/4410551110440d3bd6a6b7a178710946fd6ad2cc | ORPH
         arc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6d3d9a8906ff7660fd13ecceaff0b8359720f14b | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/3037775c39566209bb18a534d34def3a992d0568 | ORPH
         arc |                ifupdown-0.8.16 | NOK | http://autobuild.buildroot.net/results/067e5272cfdf7f66dd76db92a71cced8924ce962 |     
         arc |                ifupdown-0.8.16 | NOK | http://autobuild.buildroot.net/results/35b540927a43672f84b14116dc5deca742ba9eea |     
         arc |                ifupdown-0.8.16 | NOK | http://autobuild.buildroot.net/results/a0314570381c3e37945244393042d4094750a899 |     
      x86_64 | kvm-unit-tests-5731572b2ac2... | NOK | http://autobuild.buildroot.net/results/af85f76a4e85b9067244feb9c32952c29b065215 |     
         arc |                   libcdio-0.94 | NOK | http://autobuild.buildroot.net/results/9d1d0daebd92b251645ce774b5f9760d331aa734 |     
         arm |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/8d664a41fad5c2488dc266f532033505048d6bdc | ORPH
         arm |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/6d4e3fd13cade397dd7fae38a65d4796516bbd62 | ORPH
      x86_64 |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/d6ee9cbb1e2968a20362892241f2d7bd74b9949a | ORPH
        i586 |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/bca2007dbbf4dc3216b0bb78ddd0a9e9781155b0 | ORPH
         arm |              lttng-tools-2.9.4 | NOK | http://autobuild.buildroot.net/results/cb2cfcb40e742a46b8cdeed75cbcd811332324bd |     
      x86_64 |         luasql-sqlite3-2.3.0-1 | NOK | http://autobuild.buildroot.net/results/63ace7923a8abe425b9a40a449146120026fd6bc |     
         arm |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/d0fe97b9d1ceec911fa1eddf504d615fc09478b2 |     
      x86_64 |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/b26bd7a39d7c2b40d4c8f8de7615c36841bfec2b |     
        i686 |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/fcc289c05a12217be9b76e5829261be99b054aa1 |     
     powerpc |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/1c666f1cfef63ee75cc0298bf7fb7fc05f482d53 |     
    mips64el |                     mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/dc7566898aec9639fea4c24aa50abe8dc7026811 |     
         arm |                     mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/4817cf37b27d7d8ab324b67b165ba5763e536a8f |     
    mips64el |                     mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/de2f3b7576bcfbbe7034322d15abd8c0861e986b |     
    mips64el |                     mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/3a297177f7fd701a2841910f00b5cb83aa8a9ed3 |     
         arm |                     mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/185e41c73858d9200c3688fb7f74dd3c03d32ed0 |     
        i686 |                  mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/6a63260502f1794d9fd57800f64f5c94357515f0 |     
        i686 |                  mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/a321fe1bdf5857059fe06c9bd506f9e0c0b0af4b |     
      xtensa |                     mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/35f02d3f14703e14da6b03e792105a1f0820eda9 |     
        mips |                     mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/839401cc2bd7cf1ea7d86b7f6ab50fc8cec434bf |     
    mips64el |                     mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/e3684a8ddb9475bb8427db663915024199d6da4f |     
     sparc64 |                     mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/f0dd9195b7e85417d812ef99c21e6388901c7620 |     
        sh4a |                opencv-2.4.13.2 | NOK | http://autobuild.buildroot.net/results/9d0bc0a1552b732a2e0e153d17016f1fc65ec686 |     
      x86_64 |                  opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/af950c6172a578c4eeeb9440b6990ceb48263fa6 |     
         arc |                 poppler-0.54.0 | NOK | http://autobuild.buildroot.net/results/54b787cb3f21dd0afbc877cc6d60fd6da7c437c8 |     
       sparc |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/0cf510e47640463afd3882c8a066cadbcfd0f9c7 | ORPH
       sparc |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/68828f6bd254a39ef2a80594980b964f2f9cd6ac | ORPH
      x86_64 |                pulseview-0.3.0 | NOK | http://autobuild.buildroot.net/results/593939a5ef8115be8d0367cb4719d4ac4ca50ea9 |     
        or1k |                       qt-4.8.7 | NOK | http://autobuild.buildroot.net/results/24ec59101f13f5681c2ff7633c03301abbc24604 | ORPH
         arm |              rabbitmq-c-v0.8.0 | NOK | http://autobuild.buildroot.net/results/4b05a512276ba187e9358eda4df05bb01be895d0 |     
         arm |                  sudo-1.8.19p2 | NOK | http://autobuild.buildroot.net/results/05151c4ef7f0b3702a6cd5e6df4888d826a37431 | ORPH
        i586 |                 tinyxml2-4.0.1 | NOK | http://autobuild.buildroot.net/results/79c998bee6236ba5a2c39e832068c59a049c7216 |     
     powerpc |                 tinyxml2-4.0.1 | NOK | http://autobuild.buildroot.net/results/d301bcbe5db26068b35eaa94bd816ae8cf8ef2e1 |     
      x86_64 | toolchain-external-codesour... | NOK | http://autobuild.buildroot.net/results/bd4159c5c6d74cc0c9d73d263dab88c1d5eed6bd | ORPH
       nios2 | toolchain-external-codesour... | NOK | http://autobuild.buildroot.net/results/7dc5ac0f53992e674078a6aadaa4d87b0b1b2f1e | ORPH
         sh4 |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/cf0a13b7015b044d148f562d154b96535ecd6801 | ORPH
         sh4 |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/34434c72bdc075aa73cde8c561c5df253638aea4 | ORPH
        sh4a |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/579dea9c03a217d27c9751c2c58f7a15b6502e80 | ORPH
        or1k |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/a8da20f1d67b013c2c3c4e95b2398904be1cdf36 | ORPH
       nios2 |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/d9462941fe93e8af22b262c953dc15cc60db5658 | ORPH
      x86_64 |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/7aa9b15fca97a14f98e62bde5c85f3f58dca9c08 | ORPH
         arc |              util-linux-2.29.2 | NOK | http://autobuild.buildroot.net/results/417d816bd8c13b04301973326a301b5751f207bd |     

-- 
http://autobuild.buildroot.net

^ permalink raw reply

* [Buildroot] [WIP] package/gcc: add support for gcc 7
From: Romain Naour @ 2017-05-03 21:46 UTC (permalink / raw)
  To: buildroot

Remove upstream patches:

831-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch

870-xtensa-Fix-PR-target-78118.patch

871-xtensa-Fix-PR-target-78603.patch

890-fix-m68k-compile.patch:
https://github.com/gcc-mirror/gcc/commit/1701058da920d27de87dc82e8d327b8ca930e997

892-libgcc-mkmap-symver-support-skip_underscore.patch:
https://github.com/gcc-mirror/gcc/commit/6c8f362e1f17cce05131eb8ff53963d64bc69484

893-libgcc-config-bfin-use-the-generic-linker-version-in.patch:
https://github.com/gcc-mirror/gcc/commit/966d046c08ba50fc988ac614f84f2d49c1546e28

894-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch:
https://github.com/gcc-mirror/gcc/commit/397d0e43abb943f1fe57801220e7e46bc6636c7c

895-bfin-define-REENTRANT.patch:
https://github.com/gcc-mirror/gcc/commit/da89a4dcdf75bc3134f73520535c949bbbb0c845

940-uclinux-enable-threads.patch:
https://github.com/gcc-mirror/gcc/commit/b9ce54109ec78d18f6123a1e54aae1293bede716

941-mips-Add-support-for-mips-r6-musl.patch:
https://github.com/gcc-mirror/gcc/commit/83717065090bb8b954556d1216dd9dc397dc0243

Remove obsolete patches:

301-missing-execinfo_h.patch: boehm-gc removed from gcc sources:
https://github.com/gcc-mirror/gcc/commit/baf71228766058f5541d929891237d394376c975

830-arm_unbreak_armv4t.patch: SUBTARGET_CPU_DEFAULT removed:
https://github.com/gcc-mirror/gcc/commit/ff3caa3ade14a42d5ab7e81cbd3605fe15aa998d

Add a new patch to allow to build gcc 7.1 without extracting gcc/testsuite
directory.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
---

Build tested with musl and glibc.

While testing with uClibc-ng 1.0.24, the gcc-final fail to build
with the following error:

../../../../libstdc++-v3/libsupc++/new_opa.cc: In function ?void* operator new(std::size_t, std::align_val_t)?:
../../../../libstdc++-v3/libsupc++/new_opa.cc:103:33: error: ?aligned_alloc? was not declared in this scope
   while (__builtin_expect ((p = aligned_alloc (align, sz)) == 0, false))
                                 ^~~~~~~~~~~~~
From libstdc++-v3/config.log:
conftest.c:185:6: warning: conflicting types for built-in function 'aligned_alloc' [-Wbuiltin-declaration-mismatch]
 char aligned_alloc ();
      ^~~~~~~~~~~~~
configure:59951: $? = 0
configure:59951: result: yes

Waldemar, you worked on aligned_alloc() recently [1], do you have an idea?

Best regards,
Romain

[1] https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/commit/?id=cee0b058fa0b4501b289a2da365182d60314d746
---
 package/gcc/7.1.0/0100-uclibc-conf.patch           |  29 ++++++
 package/gcc/7.1.0/0810-arm-softfloat-libgcc.patch  |  45 +++++++++
 .../7.1.0/0860-cilk-fix-build-without-wchar.patch  |  64 ++++++++++++
 package/gcc/7.1.0/0891-fix-m68k-uclinux.patch      |  30 ++++++
 package/gcc/7.1.0/0900-remove-selftests.patch      | 111 +++++++++++++++++++++
 package/gcc/Config.in.host                         |  11 ++
 package/gcc/gcc.hash                               |   2 +
 toolchain/toolchain-common.in                      |   5 +
 8 files changed, 297 insertions(+)
 create mode 100644 package/gcc/7.1.0/0100-uclibc-conf.patch
 create mode 100644 package/gcc/7.1.0/0810-arm-softfloat-libgcc.patch
 create mode 100644 package/gcc/7.1.0/0860-cilk-fix-build-without-wchar.patch
 create mode 100644 package/gcc/7.1.0/0891-fix-m68k-uclinux.patch
 create mode 100644 package/gcc/7.1.0/0900-remove-selftests.patch

diff --git a/package/gcc/7.1.0/0100-uclibc-conf.patch b/package/gcc/7.1.0/0100-uclibc-conf.patch
new file mode 100644
index 0000000..d354baf
--- /dev/null
+++ b/package/gcc/7.1.0/0100-uclibc-conf.patch
@@ -0,0 +1,29 @@
+From 326b880b20e5f8187dbda736b4c4c662cbfb00ca Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Tue, 2 May 2017 22:36:15 +0200
+Subject: [PATCH] uclibc-conf
+
+[Romain: convert to git patch]
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ contrib/regression/objs-gcc.sh | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/contrib/regression/objs-gcc.sh b/contrib/regression/objs-gcc.sh
+index 60b0497..6dc7ead 100755
+--- a/contrib/regression/objs-gcc.sh
++++ b/contrib/regression/objs-gcc.sh
+@@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-gnu ]
+  then
+   make all-gdb all-dejagnu all-ld || exit 1
+   make install-gdb install-dejagnu install-ld || exit 1
++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
++ then
++  make all-gdb all-dejagnu all-ld || exit 1
++  make install-gdb install-dejagnu install-ld || exit 1
+ elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
+   make bootstrap || exit 1
+   make install || exit 1
+-- 
+2.9.3
+
diff --git a/package/gcc/7.1.0/0810-arm-softfloat-libgcc.patch b/package/gcc/7.1.0/0810-arm-softfloat-libgcc.patch
new file mode 100644
index 0000000..63880dd
--- /dev/null
+++ b/package/gcc/7.1.0/0810-arm-softfloat-libgcc.patch
@@ -0,0 +1,45 @@
+From 420a304ac0daa29d66da6ed5b0b49fc4c482d522 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Tue, 2 May 2017 22:46:18 +0200
+Subject: [PATCH] arm softfloat libgcc
+
+[Romain: convert to git patch]
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ gcc/config/arm/linux-elf.h | 2 +-
+ libgcc/config/arm/t-linux  | 7 ++++++-
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
+index 3d62367..dad0b97 100644
+--- a/gcc/config/arm/linux-elf.h
++++ b/gcc/config/arm/linux-elf.h
+@@ -58,7 +58,7 @@
+    %{shared:-lc} \
+    %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
+ 
+-#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
++#define LIBGCC_SPEC "-lgcc"
+ 
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
+ 
+diff --git a/libgcc/config/arm/t-linux b/libgcc/config/arm/t-linux
+index 3d520de..e7bc042 100644
+--- a/libgcc/config/arm/t-linux
++++ b/libgcc/config/arm/t-linux
+@@ -1,6 +1,11 @@
+ LIB1ASMSRC = arm/lib1funcs.S
+ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
+-	_ctzsi2 _arm_addsubdf3 _arm_addsubsf3
++	_ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \
++	_arm_addsubdf3 _arm_addsubsf3 \
++	_arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
++	_arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
++	_arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
++	_arm_fixsfsi _arm_fixunssfsi
+ 
+ # Just for these, we omit the frame pointer since it makes such a big
+ # difference.
+-- 
+2.9.3
+
diff --git a/package/gcc/7.1.0/0860-cilk-fix-build-without-wchar.patch b/package/gcc/7.1.0/0860-cilk-fix-build-without-wchar.patch
new file mode 100644
index 0000000..61ab01c
--- /dev/null
+++ b/package/gcc/7.1.0/0860-cilk-fix-build-without-wchar.patch
@@ -0,0 +1,64 @@
+From 714739e69ead1d9823233af40645277f6d4633ea Mon Sep 17 00:00:00 2001
+From: Peter Korsgaard <peter@korsgaard.com>
+Date: Tue, 2 May 2017 23:21:46 +0200
+Subject: [PATCH] cilk: fix build without wchar
+
+When building against uClibc with wchar support disabled, WCHAR_MIN and
+WCHAR_MAX are not defined leading to compilation errors.
+
+Fix it by only including the wchar code if available.
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+[Romain: convert to git patch]
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ libcilkrts/include/cilk/reducer_min_max.h | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/libcilkrts/include/cilk/reducer_min_max.h b/libcilkrts/include/cilk/reducer_min_max.h
+index 641aa82..4f8e010 100644
+--- a/libcilkrts/include/cilk/reducer_min_max.h
++++ b/libcilkrts/include/cilk/reducer_min_max.h
+@@ -3289,7 +3289,9 @@ __CILKRTS_BEGIN_EXTERN_C
+ CILK_C_REDUCER_MAX_INSTANCE(char,               char,       CHAR_MIN)
+ CILK_C_REDUCER_MAX_INSTANCE(unsigned char,      uchar,      0)
+ CILK_C_REDUCER_MAX_INSTANCE(signed char,        schar,      SCHAR_MIN)
++#ifdef WCHAR_MIN
+ CILK_C_REDUCER_MAX_INSTANCE(wchar_t,            wchar_t,    WCHAR_MIN)
++#endif
+ CILK_C_REDUCER_MAX_INSTANCE(short,              short,      SHRT_MIN)
+ CILK_C_REDUCER_MAX_INSTANCE(unsigned short,     ushort,     0)
+ CILK_C_REDUCER_MAX_INSTANCE(int,                int,        INT_MIN)
+@@ -3441,7 +3443,9 @@ __CILKRTS_BEGIN_EXTERN_C
+ CILK_C_REDUCER_MAX_INDEX_INSTANCE(char,               char,       CHAR_MIN)
+ CILK_C_REDUCER_MAX_INDEX_INSTANCE(unsigned char,      uchar,      0)
+ CILK_C_REDUCER_MAX_INDEX_INSTANCE(signed char,        schar,      SCHAR_MIN)
++#ifdef WCHAR_MIN
+ CILK_C_REDUCER_MAX_INDEX_INSTANCE(wchar_t,            wchar_t,    WCHAR_MIN)
++#endif
+ CILK_C_REDUCER_MAX_INDEX_INSTANCE(short,              short,      SHRT_MIN)
+ CILK_C_REDUCER_MAX_INDEX_INSTANCE(unsigned short,     ushort,     0)
+ CILK_C_REDUCER_MAX_INDEX_INSTANCE(int,                int,        INT_MIN)
+@@ -3567,7 +3571,9 @@ __CILKRTS_BEGIN_EXTERN_C
+ CILK_C_REDUCER_MIN_INSTANCE(char,               char,       CHAR_MAX)
+ CILK_C_REDUCER_MIN_INSTANCE(unsigned char,      uchar,      CHAR_MAX)
+ CILK_C_REDUCER_MIN_INSTANCE(signed char,        schar,      SCHAR_MAX)
++#ifdef WCHAR_MAX
+ CILK_C_REDUCER_MIN_INSTANCE(wchar_t,            wchar_t,    WCHAR_MAX)
++#endif
+ CILK_C_REDUCER_MIN_INSTANCE(short,              short,      SHRT_MAX)
+ CILK_C_REDUCER_MIN_INSTANCE(unsigned short,     ushort,     USHRT_MAX)
+ CILK_C_REDUCER_MIN_INSTANCE(int,                int,        INT_MAX)
+@@ -3719,7 +3725,9 @@ __CILKRTS_BEGIN_EXTERN_C
+ CILK_C_REDUCER_MIN_INDEX_INSTANCE(char,               char,       CHAR_MAX)
+ CILK_C_REDUCER_MIN_INDEX_INSTANCE(unsigned char,      uchar,      CHAR_MAX)
+ CILK_C_REDUCER_MIN_INDEX_INSTANCE(signed char,        schar,      SCHAR_MAX)
++#ifdef WCHAR_MAX
+ CILK_C_REDUCER_MIN_INDEX_INSTANCE(wchar_t,            wchar_t,    WCHAR_MAX)
++#endif
+ CILK_C_REDUCER_MIN_INDEX_INSTANCE(short,              short,      SHRT_MAX)
+ CILK_C_REDUCER_MIN_INDEX_INSTANCE(unsigned short,     ushort,     USHRT_MAX)
+ CILK_C_REDUCER_MIN_INDEX_INSTANCE(int,                int,        INT_MAX)
+-- 
+2.9.3
+
diff --git a/package/gcc/7.1.0/0891-fix-m68k-uclinux.patch b/package/gcc/7.1.0/0891-fix-m68k-uclinux.patch
new file mode 100644
index 0000000..e84fd92
--- /dev/null
+++ b/package/gcc/7.1.0/0891-fix-m68k-uclinux.patch
@@ -0,0 +1,30 @@
+From c2773170a1b0e2728f71f2275a99fd177ba2cef4 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Tue, 2 May 2017 23:25:17 +0200
+Subject: [PATCH] fix m68k uclinux avoids internal compiler error while
+ compiling linux-atomic.c See here:
+ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53833
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+[Romain: convert to git patch]
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ libgcc/config.host | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libgcc/config.host b/libgcc/config.host
+index b279a64..04fe183 100644
+--- a/libgcc/config.host
++++ b/libgcc/config.host
+@@ -820,7 +820,7 @@ m68k*-*-netbsdelf*)
+ m68k*-*-openbsd*)
+ 	;;
+ m68k-*-uclinux*)	# Motorola m68k/ColdFire running uClinux with uClibc
+-	tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux"
++	tmake_file="$tmake_file m68k/t-floatlib"
+ 	md_unwind_header=m68k/linux-unwind.h
+ 	;;
+ m68k-*-linux*)			# Motorola m68k's running GNU/Linux
+-- 
+2.9.3
+
diff --git a/package/gcc/7.1.0/0900-remove-selftests.patch b/package/gcc/7.1.0/0900-remove-selftests.patch
new file mode 100644
index 0000000..a3bc7a5
--- /dev/null
+++ b/package/gcc/7.1.0/0900-remove-selftests.patch
@@ -0,0 +1,111 @@
+From 63f0917d90eb83d267dc517fdfb6523a74b1917c Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Wed, 3 May 2017 00:37:06 +0200
+Subject: [PATCH] remove selftests
+
+When the gcc archive is extracted by the gcc.mk, the gcc/testsuite
+is excluded:
+
+HOST_GCC_EXCLUDES = \
+	libjava/* libgo/* \
+	gcc/testsuite/* libstdc++-v3/testsuite/*
+
+The new Makefile target from the "Selftest framework" [1] added a dependency
+on the gcc/testsuite/Makefile.
+Revert partially the commit [1] to allow building gcc without selftest.
+
+[1] https://github.com/gcc-mirror/gcc/commit/99b4f3a2d5bf2c137de9731e27b483eb6b462fd9
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ gcc/Makefile.in | 46 +++++-----------------------------------------
+ 1 file changed, 5 insertions(+), 41 deletions(-)
+
+diff --git a/gcc/Makefile.in b/gcc/Makefile.in
+index 74d1912..652a554 100644
+--- a/gcc/Makefile.in
++++ b/gcc/Makefile.in
+@@ -1581,14 +1581,13 @@ OBJS = \
+ OBJS-libcommon = diagnostic.o diagnostic-color.o diagnostic-show-locus.o \
+ 	edit-context.o \
+ 	pretty-print.o intl.o \
+-	vec.o input.o version.o hash-table.o ggc-none.o memory-block.o \
+-	selftest.o
++	vec.o input.o version.o hash-table.o ggc-none.o memory-block.o
+ 
+ # Objects in libcommon-target.a, used by drivers and by the core
+ # compiler and containing target-dependent code.
+ OBJS-libcommon-target = $(common_out_object_file) prefix.o params.o \
+ 	opts.o opts-common.o options.o vec.o hooks.o common/common-targhooks.o \
+-	hash-table.o file-find.o spellcheck.o selftest.o
++	hash-table.o file-find.o spellcheck.o
+ 
+ # This lists all host objects for the front ends.
+ ALL_HOST_FRONTEND_OBJS = $(foreach v,$(CONFIG_LANGUAGES),$($(v)_OBJS))
+@@ -1865,10 +1864,10 @@ config.status: $(srcdir)/configure $(srcdir)/config.gcc
+ quickstrap: all
+ 	cd $(toplevel_builddir) && $(MAKE) all-target-libgcc
+ 
+-all.internal: start.encap rest.encap doc selftest
++all.internal: start.encap rest.encap doc
+ # This is what to compile if making a cross-compiler.
+ all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \
+-	libgcc-support lang.all.cross doc selftest @GENINSRC@ srcextra
++	libgcc-support lang.all.cross doc @GENINSRC@ srcextra
+ # This is what must be made before installing GCC and converting libraries.
+ start.encap: native xgcc$(exeext) cpp$(exeext) specs \
+ 	libgcc-support lang.start.encap @GENINSRC@ srcextra
+@@ -1888,41 +1887,6 @@ endif
+ # This does the things that can't be done on the host machine.
+ rest.cross: specs
+ 
+-# GCC's selftests.
+-# Specify a dummy input file to placate the driver.
+-# Specify -nostdinc to work around missing WIND_BASE environment variable
+-# required for *-wrs-vxworks-* targets.
+-# Specify -o /dev/null so the output of -S is discarded. More importantly
+-# It does not try to create a file with the name "null.s" on POSIX and
+-# "nul.s" on Windows. Because on Windows "nul" is a reserved file name.
+-# Specify the path to gcc/testsuite/selftests within the srcdir
+-# as an argument to -fself-test.
+-SELFTEST_FLAGS = -nostdinc -x c /dev/null -S -o /dev/null \
+-	-fself-test=$(srcdir)/testsuite/selftests
+-
+-# Run the selftests during the build once we have a driver and a cc1,
+-# so that self-test failures are caught as early as possible.
+-# Use "s-selftest" to ensure that we only run the selftests if the
+-# driver, cc1, or selftest data change.
+-.PHONY: selftest
+-selftest: s-selftest
+-s-selftest: $(GCC_PASSES) cc1$(exeext) stmp-int-hdrs \
+-  $(srcdir)/testsuite/selftests
+-	$(GCC_FOR_TARGET) $(SELFTEST_FLAGS)
+-	$(STAMP) $@
+-
+-# Convenience method for running selftests under gdb:
+-.PHONY: selftest-gdb
+-selftest-gdb: $(GCC_PASSES) cc1$(exeext) stmp-int-hdrs
+-	$(GCC_FOR_TARGET) $(SELFTEST_FLAGS) \
+-	  -wrapper gdb,--args
+-
+-# Convenience method for running selftests under valgrind:
+-.PHONY: selftest-valgrind
+-selftest-valgrind: $(GCC_PASSES) cc1$(exeext) stmp-int-hdrs
+-	$(GCC_FOR_TARGET) $(SELFTEST_FLAGS) \
+-	  -wrapper valgrind,--leak-check=full
+-
+ # Recompile all the language-independent object files.
+ # This is used only if the user explicitly asks for it.
+ compilations: $(BACKEND)
+@@ -2076,7 +2040,7 @@ gcc-nm.c: gcc-ar.c
+ 	cp $^ $@
+ 
+ COLLECT2_OBJS = collect2.o collect2-aix.o tlink.o vec.o ggc-none.o \
+-  collect-utils.o file-find.o hash-table.o selftest.o
++  collect-utils.o file-find.o hash-table.o
+ COLLECT2_LIBS = @COLLECT2_LIBS@
+ collect2$(exeext): $(COLLECT2_OBJS) $(LIBDEPS)
+ # Don't try modifying collect2 (aka ld) in place--it might be linking this.
+-- 
+2.9.3
+
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 4bcb23e..f1c2faf 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -87,6 +87,16 @@ config BR2_GCC_VERSION_6_X
 	depends on !BR2_mips_m6250 && !BR2_mips_p6600
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_6
 
+config BR2_GCC_VERSION_7_X
+	bool "gcc 7.x"
+	# Broken or unsupported architectures
+	depends on !BR2_arc
+	depends on !BR2_microblaze
+	depends on !BR2_or1k
+	# Unsupported MIPS cores
+	depends on !BR2_mips_m6250 && !BR2_mips_p6600
+	select BR2_TOOLCHAIN_GCC_AT_LEAST_7
+
 endchoice
 
 # Indicates if GCC for architecture supports --with-{arch,cpu,..}  to
@@ -106,6 +116,7 @@ config BR2_GCC_VERSION
 	default "4.9.4"     if BR2_GCC_VERSION_4_9_X
 	default "5.4.0"     if BR2_GCC_VERSION_5_X
 	default "6.3.0"     if BR2_GCC_VERSION_6_X
+	default "7.1.0"     if BR2_GCC_VERSION_7_X
 	default "arc-2017.03-rc1" if BR2_GCC_VERSION_ARC
 	default "musl-5.4.0" if BR2_GCC_VERSION_OR1K
 
diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash
index 052a825..7255d12 100644
--- a/package/gcc/gcc.hash
+++ b/package/gcc/gcc.hash
@@ -10,6 +10,8 @@ sha512  93abb78e16277454f41a8e9810f41f66c0fdffdc539a762ff6b67d3037f78db971378683
 sha512  2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d1ef16ea39def408a644ba48f97519ec7a7dd37d260c3e9423514265b  gcc-5.4.0.tar.bz2
 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-6.3.0/sha512.sum
 sha512  234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78  gcc-6.3.0.tar.bz2
+# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-7.1.0/sha512.sum
+sha512  b5d952be9a10f0e0926bb2868877d10544039d6d2f35ba0a08f51231dd622a007650764a03e173194701467547789ad7d2d9cbc10adcdf118d619cdedbd14aec  gcc-7.1.0.tar.bz2
 
 # Locally calculated (fetched from Github)
 sha512  e4fe5a179b8feabf932a8a6f4794ff6907b868a65487412d855a4b3671aa24ec8544a44f3b63e69ea2c12fcd4d8028d0619d40bf016ee7c1a5b5a99aa9315ef3  gcc-arc-2017.03-rc1.tar.gz
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index 37079fa..e012d60 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -324,10 +324,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_6
 	bool
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_5
 
+config BR2_TOOLCHAIN_GCC_AT_LEAST_7
+	bool
+	select BR2_TOOLCHAIN_GCC_AT_LEAST_6
+
 # This order guarantees that the highest version is set, as kconfig
 # stops affecting a value on the first matching default.
 config BR2_TOOLCHAIN_GCC_AT_LEAST
 	string
+	default "7"	if BR2_TOOLCHAIN_GCC_AT_LEAST_7
 	default "6"	if BR2_TOOLCHAIN_GCC_AT_LEAST_6
 	default "5"	if BR2_TOOLCHAIN_GCC_AT_LEAST_5
 	default "4.9"	if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH v2 1/1] openssh: add support for HW SSL engines
From: Peter Korsgaard @ 2017-05-03 21:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1492520583-13537-1-git-send-email-gilad@benyossef.com>

>>>>> "Gilad" == Gilad Ben-Yossef <gilad@benyossef.com> writes:

 > Enable support for OpenSSH to use a hardware SSL engine if
 > cryptodev-linux is included. Without this, OpenSSH uses only
 > OpenSSL software crypto implementation.

 > Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
 > CC: Baruch Siach <baruch@tkos.co.il>
 > CC: Arnout Vandecappelle <arnout@mind.be>
 > ---

 > Changes from v1:
 > Incorporated style feedback from Baruch and Arnout.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] openssh: add support for HW SSL engines
From: Peter Korsgaard @ 2017-05-03 21:07 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=634655b6281047f5fe2a2b09b95aa642144d23a1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Enable support for OpenSSH to use a hardware SSL engine if
cryptodev-linux is included. Without this, OpenSSH uses only
OpenSSL software crypto implementation.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
CC: Baruch Siach <baruch@tkos.co.il>
CC: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/openssh/openssh.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index f971e99..7e197b0 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -28,6 +28,13 @@ endif
 
 OPENSSH_DEPENDENCIES = zlib openssl
 
+ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y)
+OPENSSH_DEPENDENCIES += cryptodev-linux
+OPENSSH_CONF_OPTS += --with-ssl-engine
+else
+OPENSSH_CONF_OPTS += --without-ssl-engine
+endif
+
 ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
 define OPENSSH_INSTALL_PAM_CONF
 	$(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd

^ permalink raw reply related

* [Buildroot] [PATCH v2] package: protobuf, python-protobuf: bump to v3.3.0
From: Mario J. Rugiero @ 2017-05-03 20:59 UTC (permalink / raw)
  To: buildroot

Includes upstream patch working around a gcc bug which got fixed in version 4.5.0.

Fixes:
http://autobuild.buildroot.org/results/77d/77dbb6bbbc0ea9e9bcdd22b10011ef9728c20d54/
http://autobuild.buildroot.org/results/21f/21f5e1ea4f37e1d174604d6da78c0e916c89f1e3/
http://autobuild.buildroot.org/results/24e/24e880086c87d40b5d79a90d805acc75b33d484c/

Tested with:
qemu_aarch64_virt_defconfig

Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
---
 package/protobuf/protobuf.hash               | 3 +--
 package/protobuf/protobuf.mk                 | 4 +---
 package/python-protobuf/python-protobuf.hash | 2 +-
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
index 8c2ade37e..91e70f236 100644
--- a/package/protobuf/protobuf.hash
+++ b/package/protobuf/protobuf.hash
@@ -1,3 +1,2 @@
 # Locally calculated
-sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
-sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
+sha256 578a2589bf9258adb03245dec5d624b61536867ebb732dbb8aeb30d96b0ada1f protobuf-cpp-3.3.0.tar.gz
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index 610da8c04..556773106 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -7,7 +7,7 @@
 # When bumping this package, make sure to also verify if the
 # python-protobuf package still works, as they share the same
 # version/site variables.
-PROTOBUF_VERSION = 3.2.0
+PROTOBUF_VERSION = 3.3.0
 PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
 PROTOBUF_SITE = https://github.com/google/protobuf/releases/download/v$(PROTOBUF_VERSION)
 PROTOBUF_LICENSE = BSD-3-Clause
@@ -19,8 +19,6 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
 
 PROTOBUF_INSTALL_STAGING = YES
 
-PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
-
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 PROTOBUF_DEPENDENCIES += zlib
 endif
diff --git a/package/python-protobuf/python-protobuf.hash b/package/python-protobuf/python-protobuf.hash
index c87403f24..7da2fed03 100644
--- a/package/python-protobuf/python-protobuf.hash
+++ b/package/python-protobuf/python-protobuf.hash
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 c574e2b2178ffe66599274e8cfa11ecf83799a7992be30f0b68fb33ea0a0f1af protobuf-python-3.2.0.tar.gz
+sha256 3fd180eee78c7ee2e7a1b2f02657ef61ccbc2537a6767cd2493077d3b38c9d2d protobuf-python-3.3.0.tar.gz
-- 
2.12.2

^ permalink raw reply related

* [Buildroot] [PATCH] package: protobuf, python-protobuf: bump to v3.3.0
From: Mario J. Rugiero @ 2017-05-03 20:45 UTC (permalink / raw)
  To: buildroot

Includes upstream patch working around a gcc bug which got fixed in version 4.5.0.

Fixes:
http://autobuild.buildroot.org/results/77d/77dbb6bbbc0ea9e9bcdd22b10011ef9728c20d54/
http://autobuild.buildroot.org/results/21f/21f5e1ea4f37e1d174604d6da78c0e916c89f1e3/
http://autobuild.buildroot.org/results/24e/24e880086c87d40b5d79a90d805acc75b33d484c/

Tested with:
qemu_aarch64_virt_defconfig

Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
---
 package/protobuf/protobuf.hash | 3 +--
 package/protobuf/protobuf.mk   | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
index 8c2ade37e..91e70f236 100644
--- a/package/protobuf/protobuf.hash
+++ b/package/protobuf/protobuf.hash
@@ -1,3 +1,2 @@
 # Locally calculated
-sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
-sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
+sha256 578a2589bf9258adb03245dec5d624b61536867ebb732dbb8aeb30d96b0ada1f protobuf-cpp-3.3.0.tar.gz
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index 610da8c04..556773106 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -7,7 +7,7 @@
 # When bumping this package, make sure to also verify if the
 # python-protobuf package still works, as they share the same
 # version/site variables.
-PROTOBUF_VERSION = 3.2.0
+PROTOBUF_VERSION = 3.3.0
 PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
 PROTOBUF_SITE = https://github.com/google/protobuf/releases/download/v$(PROTOBUF_VERSION)
 PROTOBUF_LICENSE = BSD-3-Clause
@@ -19,8 +19,6 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
 
 PROTOBUF_INSTALL_STAGING = YES
 
-PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
-
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 PROTOBUF_DEPENDENCIES += zlib
 endif
-- 
2.12.2

^ permalink raw reply related

* [Buildroot] [git commit] rpi-bt-firmware: new package
From: Peter Korsgaard @ 2017-05-03 20:12 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=1f94f1aaab2e786542a83327358570a828d68f45
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Add firmware file for the Raspberry Pi 3 and Zero W Bluetooth module.

Note that to successfully download the firmware bluez5_utils needs a patch[1].

Even though the firmware file name (BCM43430A1.hcd) only mentions the
Bluetooth module, it is most likely tailored for the Raspberry Pi boards.
Firmware for the same BT module on other boards look different. For this
reason the name of the package is rpi-bt-firmware.

[1] http://www.spinics.net/lists/linux-bluetooth/msg69470.html

[Peter: correct Config.in ordering]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/Config.in                          |  1 +
 package/rpi-bt-firmware/Config.in          |  8 ++++++++
 package/rpi-bt-firmware/rpi-bt-firmware.mk | 21 +++++++++++++++++++++
 3 files changed, 30 insertions(+)

diff --git a/package/Config.in b/package/Config.in
index aaecd61..acaf43c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -346,6 +346,7 @@ menu "Firmware"
 	source "package/am33x-cm3/Config.in"
 	source "package/b43-firmware/Config.in"
 	source "package/linux-firmware/Config.in"
+	source "package/rpi-bt-firmware/Config.in"
 	source "package/rpi-firmware/Config.in"
 	source "package/sunxi-boards/Config.in"
 	source "package/ts4900-fpga/Config.in"
diff --git a/package/rpi-bt-firmware/Config.in b/package/rpi-bt-firmware/Config.in
new file mode 100644
index 0000000..dfc1cee
--- /dev/null
+++ b/package/rpi-bt-firmware/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_RPI_BT_FIRMWARE
+	bool "rpi-bt-firmware"
+	depends on BR2_arm || BR2_aarch64
+	help
+	  Raspberry Pi 3 and Zero W Broadcom BCM43438 Bluetooth module
+	  firmware.
+
+	  https://aur.archlinux.org/packages/pi-bluetooth
diff --git a/package/rpi-bt-firmware/rpi-bt-firmware.mk b/package/rpi-bt-firmware/rpi-bt-firmware.mk
new file mode 100644
index 0000000..255da19
--- /dev/null
+++ b/package/rpi-bt-firmware/rpi-bt-firmware.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# rpi-bt-firmware
+#
+################################################################################
+
+RPI_BT_FIRMWARE_VERSION = a439f892bf549ddfefa9ba7ad1999cc515f233bf
+RPI_BT_FIRMWARE_SITE = https://aur.archlinux.org/pi-bluetooth.git
+RPI_BT_FIRMWARE_SITE_METHOD = git
+RPI_BT_FIRMWARE_LICENSE = PROPRIETARY
+RPI_BT_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx
+
+# The BlueZ hciattach utility looks for firmware in /etc/firmware. Add a
+# compatibility symlink.
+define RPI_BT_FIRMWARE_INSTALL_TARGET_CMDS
+	ln -sf ../lib/firmware $(TARGET_DIR)/etc/firmware
+	$(INSTALL) -D -m 0644 $(@D)/BCM43430A1.hcd \
+		$(TARGET_DIR)/lib/firmware/BCM43430A1.hcd
+endef
+
+$(eval $(generic-package))

^ permalink raw reply related

* [Buildroot] [PATCH v3] rpi-bt-firmware: new package
From: Peter Korsgaard @ 2017-05-03 20:11 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <a8dbc814558874942a3b44a49a0a59eb858fa787.1490074258.git.baruch@tkos.co.il>

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Add firmware file for the Raspberry Pi 3 and Zero W Bluetooth module.
 > Note that to successfully download the firmware bluez5_utils needs a patch[1].

 > Even though the firmware file name (BCM43430A1.hcd) only mentions the
 > Bluetooth module, it is most likely tailored for the Raspberry Pi boards.
 > Firmware for the same BT module on other boards look different. For this
 > reason the name of the package is rpi-bt-firmware.

 > [1] http://www.spinics.net/lists/linux-bluetooth/msg69470.html

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
 > ---
 > v3: Justify the package name in the commit log (Thomas P)

 > v2: mention RPi Zero W in the commit log (Martin Bark)
 > ---
 >  package/Config.in                          |  1 +
 >  package/rpi-bt-firmware/Config.in          |  7 +++++++
 >  package/rpi-bt-firmware/rpi-bt-firmware.mk | 21 +++++++++++++++++++++
 >  3 files changed, 29 insertions(+)
 >  create mode 100644 package/rpi-bt-firmware/Config.in
 >  create mode 100644 package/rpi-bt-firmware/rpi-bt-firmware.mk

 > diff --git a/package/Config.in b/package/Config.in
 > index 5ec3e8bd2318..93f85356c75d 100644
 > --- a/package/Config.in
 > +++ b/package/Config.in
 > @@ -342,6 +342,7 @@ menu "Firmware"
 >  	source "package/b43-firmware/Config.in"
 >  	source "package/linux-firmware/Config.in"
 >  	source "package/rpi-firmware/Config.in"
 > +	source "package/rpi-bt-firmware/Config.in"

fixed ordering and committed, thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] linux-headers: bump 4.{4,9,10}.x series
From: Peter Korsgaard @ 2017-05-03 19:36 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/linux-headers/Config.in.host | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index f75fac8a1..dcfcce94c 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -227,8 +227,8 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "3.10.105"	if BR2_KERNEL_HEADERS_3_10
 	default "3.12.73"	if BR2_KERNEL_HEADERS_3_12
 	default "4.1.39"	if BR2_KERNEL_HEADERS_4_1
-	default "4.4.65"	if BR2_KERNEL_HEADERS_4_4
-	default "4.9.25"	if BR2_KERNEL_HEADERS_4_9
-	default "4.10.13"	if BR2_KERNEL_HEADERS_4_10
+	default "4.4.66"	if BR2_KERNEL_HEADERS_4_4
+	default "4.9.26"	if BR2_KERNEL_HEADERS_4_9
+	default "4.10.14"	if BR2_KERNEL_HEADERS_4_10
 	default "4.11"		if BR2_KERNEL_HEADERS_4_11
 	default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH 2/2] picocom: force target LDFLAGS
From: Peter Korsgaard @ 2017-05-03 19:29 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170503170019.tzz5ok3gwkq67v5z@tarshish>

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

Hi,

 >> Committed, thanks.
 >> 
 >> Is this only an issue for picocom 2.2, or also something we should
 >> backport for the 2017.02.x branch?

 > Version 2.1 is also affected. But I'm not sure the issue is bad enough for a 
 > backport.

Ok, thanks.

I think the risk of it breaking something is quite low, and it does fix
possible use cases, so it is imho a candidate for a backport.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] package: protobuf: fix build on gcc < 4.5.0
From: Mario Rugiero @ 2017-05-03 19:21 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170503191657.18596-1-mrugiero@gmail.com>

2017-05-03 16:16 GMT-03:00 Mario J. Rugiero <mrugiero@gmail.com>:
> Add upstream patch working around a gcc bug which got fixed in version 4.5.0.
>
> Fixes:
> http://autobuild.buildroot.org/results/77d/77dbb6bbbc0ea9e9bcdd22b10011ef9728c20d54/
> http://autobuild.buildroot.org/results/21f/21f5e1ea4f37e1d174604d6da78c0e916c89f1e3/
> http://autobuild.buildroot.org/results/24e/24e880086c87d40b5d79a90d805acc75b33d484c/
>
> Tested with:
> qemu_aarch64_virt_defconfig
>
> Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
> ---
>  package/protobuf/protobuf.hash | 1 +
>  package/protobuf/protobuf.mk   | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
> index 8c2ade37e..9b8e1e86d 100644
> --- a/package/protobuf/protobuf.hash
> +++ b/package/protobuf/protobuf.hash
> @@ -1,3 +1,4 @@
>  # Locally calculated
>  sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
>  sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
> +sha256 309c8fd476863ddf9726a9700023d6349f7305e05bec071a06f4ccf7e90a7053 a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
> diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
> index 610da8c04..92b6fe344 100644
> --- a/package/protobuf/protobuf.mk
> +++ b/package/protobuf/protobuf.mk
> @@ -20,6 +20,7 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
>  PROTOBUF_INSTALL_STAGING = YES
>
>  PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
> +PROTOBUF_PATCH += https://github.com/google/protobuf/commit/a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
>
>  ifeq ($(BR2_PACKAGE_ZLIB),y)
>  PROTOBUF_DEPENDENCIES += zlib
> --
> 2.12.2
>
Nevermind this, I thought I had bumped the version already.

^ permalink raw reply

* [Buildroot] [PATCH] package: protobuf: fix build on gcc < 4.5.0
From: Mario J. Rugiero @ 2017-05-03 19:16 UTC (permalink / raw)
  To: buildroot

Add upstream patch working around a gcc bug which got fixed in version 4.5.0.

Fixes:
http://autobuild.buildroot.org/results/77d/77dbb6bbbc0ea9e9bcdd22b10011ef9728c20d54/
http://autobuild.buildroot.org/results/21f/21f5e1ea4f37e1d174604d6da78c0e916c89f1e3/
http://autobuild.buildroot.org/results/24e/24e880086c87d40b5d79a90d805acc75b33d484c/

Tested with:
qemu_aarch64_virt_defconfig

Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
---
 package/protobuf/protobuf.hash | 1 +
 package/protobuf/protobuf.mk   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
index 8c2ade37e..9b8e1e86d 100644
--- a/package/protobuf/protobuf.hash
+++ b/package/protobuf/protobuf.hash
@@ -1,3 +1,4 @@
 # Locally calculated
 sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
 sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
+sha256 309c8fd476863ddf9726a9700023d6349f7305e05bec071a06f4ccf7e90a7053 a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index 610da8c04..92b6fe344 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -20,6 +20,7 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
 PROTOBUF_INSTALL_STAGING = YES
 
 PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
+PROTOBUF_PATCH += https://github.com/google/protobuf/commit/a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff.patch
 
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 PROTOBUF_DEPENDENCIES += zlib
-- 
2.12.2

^ permalink raw reply related


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox