[PATCH v2 1/2] base-files: reduce `sed` calls

2021-09-12 Thread Paul Spooren
The `sed`-script shouldn't be called multiple times, especially not with the same files. This commit merges all files together in a single `sed`-script call. Signed-off-by: Paul Spooren --- package/base-files/Makefile | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v2 2/2] base-files: reduce number of `mkdir` calls

2021-09-12 Thread Paul Spooren
The `mkdir` commands supports passing multiple arguments to batch create multiple folders, instead of calling the tool every single time. If the creation of one of the folders fails, all other folder are still created and therefore doesn't change the error handling. Also stop creating `/etc/`

Re: Build issues gcc10

2021-09-12 Thread Rui Salvaterra
Hi, Adrian, On Sun, 12 Sept 2021 at 15:15, Adrian Schmutzler wrote: > > I'm having build issues with master and (default) gcc10 on ipq targets. I don't know about ipq, but I jumped straight to GCC 11.2. Does it make sense to bother with 10? That said… > xgcc: fatal error: cannot execute

RE: Build issues gcc10

2021-09-12 Thread Adrian Schmutzler
> -Original Message- > From: Ansuel Smith [mailto:ansuels...@gmail.com] > Sent: Sonntag, 12. September 2021 19:18 > To: Rui Salvaterra > Cc: Adrian Schmutzler ; OpenWrt Development > List > Subject: Re: Build issues gcc10 > > Il giorno dom 12 set 2021 alle ore 19:16 Rui Salvaterra > ha

Re: Build issues gcc10

2021-09-12 Thread Ansuel Smith
> > > -Original Message- > > From: Ansuel Smith [mailto:ansuels...@gmail.com] > > Sent: Sonntag, 12. September 2021 19:18 > > To: Rui Salvaterra > > Cc: Adrian Schmutzler ; OpenWrt Development > > List > > Subject: Re: Build issues gcc10 > > > > Il giorno dom 12 set 2021 alle ore 19:16

Re: Build issues gcc10

2021-09-12 Thread Ansuel Smith
Il giorno dom 12 set 2021 alle ore 19:16 Rui Salvaterra ha scritto: > > Hi, Adrian, > > On Sun, 12 Sept 2021 at 15:15, Adrian Schmutzler > wrote: > > > > I'm having build issues with master and (default) gcc10 on ipq targets. > > I don't know about ipq, but I jumped straight to GCC 11.2. Does it

Build issues gcc10

2021-09-12 Thread Adrian Schmutzler
Hi, I'm having build issues with master and (default) gcc10 on ipq targets. Build fails with: true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-O2 -I/data/openwrt/staging_dir/host/include " "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts

[PATCH 1/2] build: Replace KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR

2021-09-12 Thread Hauke Mehrtens
The LOCKUP_DETECTOR configuration option split into the SOFTLOCKUP_DETECTOR and HARDLOCKUP_DETECTOR configuration option some time ago. The HARDLOCKUP_DETECTOR option is only working on some architectures, but SOFTLOCKUP_DETECTOR should work everywhere. Replace KERNEL_LOCKUP_DETECTOR with

[PATCH 2/2] kernel: Add missing kernel config options

2021-09-12 Thread Hauke Mehrtens
These options are selectable when some of the kernel debug options like KERNEL_SOFTLOCKUP_DETECTOR are selected. Signed-off-by: Hauke Mehrtens --- target/linux/archs38/config-5.4 | 1 - target/linux/generic/config-5.10 | 3 +++ target/linux/generic/config-5.4

[PATCH v2] sunxi: bring up DSA b53 switch on Lamobo R1

2021-09-12 Thread Daniel Golle
Build cortexa7 subtarget with DSA driver for MDIO-connected Broadcom BCM53xxx switches. This is needed for the Lamobo R1 aka. BananaPi BPi-R1 board which comes with such a switch IC. Remove old swconfig driver from target kernel config as the only board using it is now supported by the DSA

[sdwalker/sdwalker.github.io] b4ec28: This week's update

2021-09-12 Thread Stephen Walker via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Branch: refs/heads/master

Re: [PATCH] octeontx: add linux 5.10 testing kernel support

2021-09-12 Thread Daniel Danzberger
On Sat, 2021-09-04 at 15:18 +0200, Daniel Danzberger wrote: > > > > > > > +CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y > > > > > > CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y might not be a performance > > > win, > > > especially with only 1 GiB of RAM. Should be measured, otherwise > > > MADVISE should be

[PATCH] octeontx: add linux 5.10 testing kernel support

2021-09-12 Thread Daniel Danzberger
Changes from 5.4 to 5.10: - - patches from 5.4 are all upstream for 5.10 execpt for 0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch - disable block device data integrity (DIF/DIX/T10) in default config (CONFIG_BLK_DEV_INTEGRITY) This feature is

[PATCH 0/4] toolchain/musl: update to version 1.2.2

2021-09-12 Thread Hauke Mehrtens
This updates musl to version 1.2.2 and removes some compatibility headers which are not needed any more. This was prepared by Rosen Penev and most changes for packages are already included in master. musl 1.2 changes time_t from 32 bit to 64 bit also on 32 bit architectures. This is needed to

[PATCH 2/4] toolchain/musl: remove several GNU headers

2021-09-12 Thread Hauke Mehrtens
From: Rosen Penev Remove GLOB_ONLYDIR patch. Only fstools relies on it. fstools has been fixed separately. Remove woresize.h file. It seems to be for an old version of GCC. Remove features.h and glibc-types files. Same as above. Remove sys/cdefs.h. This is a deprecated header. Patches to fix

[PATCH 1/4] toolchain/musl: update to 1.2.2

2021-09-12 Thread Hauke Mehrtens
From: Rosen Penev This release introduces 64-bit time_t, which is needed to avoid the year 2038 problem. Remove upstream patches. Refreshed others. Rebased features.h file based on latest musl. Signed-off-by: Rosen Penev --- toolchain/musl/common.mk | 6 +-

RE: Build issues gcc10

2021-09-12 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Ansuel Smith > Sent: Sonntag, 12. September 2021 19:50 > To: Adrian Schmutzler > Cc: Rui Salvaterra ; OpenWrt Development List > > Subject: Re: Build issues gcc10 > > > > > >

[PATCH 4/4] toolchain/musl: Remove extra format attribute patch

2021-09-12 Thread Hauke Mehrtens
This patch never went upstream so remove it. GCC should already add such a check to the common functions. Signed-off-by: Hauke Mehrtens --- ...ribute-to-some-function-declarations.patch | 197 -- 1 file changed, 197 deletions(-) delete mode 100644

[PATCH 3/4] bpftools: fix compilation with musl 1.2.x

2021-09-12 Thread Hauke Mehrtens
From: Rosen Penev A definition for __maybe_inline is needed. Refreshed patches. Signed-off-by: Rosen Penev --- .../utils/bpftools/patches/006-musl-120.patch | 20 +++ 1 file changed, 20 insertions(+) create mode 100644

Re: Build issues gcc10

2021-09-12 Thread Stefan Lippers-Hollmann
Hi On 2021-09-12, Adrian Schmutzler wrote: > Hi, > > I'm having build issues with master and (default) gcc10 on ipq targets. Just for reference, I've just (successfully) tried an ipq806x build on a long-standing, but fully updated, Debian/ unstable host, using gcc-10 on the host $ gcc

Re: [PATCH,opkg-lede] opkg_remove: avoid remove pkg repeatly with option --force-removal-of-dependent-packages

2021-09-12 Thread Etienne Champetier
+ @Jo-Philipp Wich Tested using mvebu target removing librt Le mar. 7 sept. 2021 à 18:42, Etienne Champetier a écrit : > > From: Hongxu Jia > > While remove pkg with '--force-removal-of-dependent-packages', > pkg may be added to pkgs remove list multiple times, add status > check to make sure