[PATCH] cacheflush.2: Update SYNOPSIS for glibc wrapper

2021-01-16 Thread Alejandro Colomar
Glibc uses 'void *' instead of 'char *'. And the prototype is declared in . .. $ syscall='cacheflush'; $ ret='int'; $ find glibc/ -type f -name '*.h' \ |xargs pcregrep -Mn "(?s)^[\w\s]*${ret}\s*${syscall}\s*\(.*?;"; glibc/sysdeps/unix/sysv/linux/nios2/sys/cachectl.h:27: extern int cacheflus

Re: [Buildroot] [PATCH 0/4] ARC updates

2021-01-16 Thread Yann E. MORIN
Vineet, All, On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly: > PFA assorted ARC changes. Main being a hw config for -mcpu=hs4x which > schedules code for HS48x dual issue pipeline. Series applied to master, thanks! I have however done a bit of changes, so I will reply individually to affec

Re: [Buildroot] [PATCH 1/4] ARC: Add support for generic HS48 processor

2021-01-16 Thread Yann E. MORIN
Vineet, All, On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly: > For the HS48 processor, BR currently builds with -mcpu=hs4x_rel31 which > generates suboptimal code as it inhibits delay slot and back-back ST and so > on. > > Enable a new variant to build with -mcpu=hs4x for normal codegen. >

Re: [Buildroot] [PATCH 3/4] configs/snps_archs38_hsdk_defconfig: switch to glibc hard-float

2021-01-16 Thread Yann E. MORIN
Vineet, All, On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly: > We are no longer actively working on uClibc and hard-float support is > pretty stable, so make that default for HSDK boards > > The hard-float setting is a bit convulated since current ARC gcc lacks > --with-fpu - so this is don

Re: [Buildroot] [PATCH 4/4] configs/snps_archs38_hsdk_defconfig: update for better out-of-box experience

2021-01-16 Thread Yann E. MORIN
Vineet, All, On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly: > - Enable C++ support > - Don't strip executables > - Add minimal debug symbols > - Enable strace and openssh > - Enable perf (and elfutils) Of all those, I only kept adding C++. None of the other defconfigs enable debug, o