When compressing docs, do not save the original file name and
timestamp by default (gzip -n). Make archives be reproducible
at each build
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct
latest stable verison.
Before the patch:
$ devtool latest-version bonnie++
INFO: Current version: 2.00a
INFO: Latest version: 1.04
After the patch:
$ devtool latest-version bonnie++
INFO: Current version: 2.00a
INFO: Latest version: 2.00a
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These CVEs are for iperf3 - which is a similar application in its goals (and name),
but an independent project from this, and the projects are independent implementations
also, they share no common code.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
glibc objects here expect libgcc to be linked in sadly compiler-rt does
not provide all the needed function implementations e.g. __unordtf2
__letf2, __multf3, __addtf3 needed for 128 bit data types
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.
I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is no perl used in the build, and no python installed in ${PN}.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This doesn't appear to have ever been needed as a build dependency.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fix too many arguments error
dhry_1.c: In function 'main':
dhry_1.c:176:23: error: too many arguments to function 'Func_1'; expected 0, have 2
176 | if (Enum_Loc == Func_1 (Ch_Index, 'C'))
| ^~~~~~ ~~~~~~~~
dhry_1.c:33:17: note: declared here
33 | Enumeration Func_1 ();
| ^~~~~~
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* see more details
http://errors.yoctoproject.org/Errors/Details/851798/
lat_rpc.c:172:1: error: conflicting types for 'client_rpc_xact_1'; have 'char *(char *, CLIENT *)' {aka 'char *(char *, struct __rpc_client *)'}
172 | client_rpc_xact_1(char *argp, CLIENT *clnt)
| ^~~~~~~~~~~~~~~~~
bench.h:349:14: note: previous declaration of 'client_rpc_xact_1' with type 'char *(void)'
349 | extern char *client_rpc_xact_1();
| ^~~~~~~~~~~~~~~~~
lat_rpc.c: In function 'rpc_xact_1':
lat_rpc.c:189:1: warning: old-style function definition [-Wold-style-definition]
189 | rpc_xact_1(msg, transp)
| ^~~~~~~~~~
lat_rpc.c:192:1: error: number of arguments doesn't match prototype
192 | {
| ^
bench.h:348:14: error: prototype declaration
348 | extern char *rpc_xact_1();
| ^~~~~~~~~~
Fix errors due to old-style function declarations
The code was using old-style function declarations without proper prototypes,
which causes compilation errors with newer GCC versions. This patch updates
the function declarations to use modern C syntax with proper parameter types.
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Fix the following build error with gcc-15:
nbench1.c:3520:13: error: conflicting types for 'adjust_mid_wts'; have 'void(int)'
3520 | static void adjust_mid_wts(int patt)
| ^~~~~~~~~~~~~~
In file included from nbench1.c:64:
nbench1.h:373:13: note: previous declaration of 'adjust_mid_wts' with type 'void(void)'
373 | static void adjust_mid_wts();
| ^~~~~~~~~~~~~~
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fix following error:
linpacknew.c: In function 'dgefa':
linpacknew.c:257:9: error: conflicting types for 'idamax'; have 'int(void)'
257 | int idamax(),j,k,kp1,l,nm1;
| ^~~~~~
linpacknew.c:63:13: note: previous declaration of 'idamax' with type 'int(int, REAL *, int)' {aka 'int(int, double *, int)'}
63 | static int idamax (int n,REAL *dx,int incx);
| ^~~~~~
linpacknew.c:272:21: error: too many arguments to function 'idamax'; expected 0, have 3
272 | l = idamax(n-k,&a[lda*k+k],1) + k;
| ^~~~~~ ~~~
linpacknew.c:257:9: note: declared here
257 | int idamax(),j,k,kp1,l,nm1;
| ^~~~~~
linpacknew.c:326:21: error: too many arguments to function 'idamax'; expected 0, have 3
326 | l = idamax(n-k,&a[lda*k+k],1) + k;
| ^~~~~~ ~~~
linpacknew.c:257:9: note: declared here
257 | int idamax(),j,k,kp1,l,nm1;
| ^~~~~~
The function was already declared as static int idamax(int n, REAL *dx, int incx);
on line 63, but it was redeclared as int idamax() inside the dgefa function on line 257,
causing a conflict.
where functions are redeclared without parameters,
causing conflicts with the original function definitions.
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
glibc defines struct udphdr as a union where members have aliased names
uh_sport -> source
uh_dport -> uh_dport
uh_dport -> len
check -> check
But musl only defines the aliases if _GNU_SOURCE is defined, ideally
iperf2 should be using uh_* names of the members so it is portable across
musl and glibc but thats for upstream to consider.
Fixes
| ../../iperf-2.2.1/src/checksums.c:175:19: error: no member named 'check' in 'struct udphdr'
| 175 | if (!udp_hdr->check) {
| | ~~~~~~~ ^
| 1 error generated.
| make[2]: *** [Makefile:539: checksums.o] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Randy MacLeod <Randy.MacLeod@windriver.com>
Release notes:
https://sourceforge.net/p/iperf2/code/ci/2-2-1/tree/NEWS.md
Drop the stdbool patch. It seems to have been fixed upstream by:
ae0284e4 2020-10-22 Replace DAST_CHECK_BOOL with AC_HEADER_STDBOOL
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This application uses a custom configure script, which is called
explicitly from a do_configure task. This however means that the
recipe needs to take care of passing the dynamic arguments based
on the PACKAGECONFIG values.
Pass the value of PACKAGECONFIG_CONFARGS to the configure script
to ensure that the PACKAGECONFIG changes take effect.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-let-system-headers-provide-pread64.patch
removed since it's not available in 507
License-Update:
file location of Copyright changed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The `ttf-dejavu-sans` font is needed by SVG charts rendered in
phoronix-test-suite PDF reports.
Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a backport of a fix to iperf3. The author saw a 40% improvement in
their network throughput, we've seen around a 55% improvement in our tests.
Link: ac6b9f7fd3
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.
This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
ld.hugetlbfs is munging certain linker commandline options
and presenting a differently named options to its users, in
summary its expecting linker process to call ld.hugetlbfs
which calls the final linker with additional decorations.
This patch makes space for that by adding -B option to compiler
so it finds this the linker in S and then we creates symlinks
for linker name that clang/gcc are expecting.
Fixes
libhugetlbfs/2.24/recipe-sysroot-native/usr/bin/x86_64-yoe-linux/x86_64-yoe-linux-ld.bfd: unrecognized option '--hugetlbfs-link=B'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The current PV=3.6 is not a git tag but a Readme content so, use
UPSTREAM_CHECK_COMMITS to detect upstream updates.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Alexandre Truong <alexandre.truong@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.
Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2024.
Changelog:
============
- Version number has been corrected.
- No longer signing tags
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update dhrystone sources to use C89 instead of K&R C in order to fix
build issues with the recent GCC.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* as oe-core did in:
https://git.openembedded.org/openembedded-core/commit/?id=d4c346e8ab
* when people are have to maintain own PRs for recipes in oe-core, they
might add them for meta-oe recipes at the same time when upgrading
to next LTS
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The upstream project already patched this, but considering this package
is currently locked to the latest tag, I'll add it here.
This fixes an issue with stencil configs being scored unnecessarily low.
It also addresses a problem when the target config is below 0.
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
rebase patch 0001-configure.ac-check-for-CPP-prog.patch for iperf3.16
Changelog:
===========
Multiple test streams started with -P/--parallel will now be
serviced by different threads. This allows iperf3 to take
advantage of multiple CPU cores on modern processors, and will
generally result in significant throughput increases (PR #1591).
OpenSSL 3 is now detected at build time. If OpenSSL 3 is found,
various older, deprecated, APIs will not be used. iperf3 will
continue to work with OpenSSL 1.1.1. OpenSSL is used as a part
of the iperf3 authentication functionality (Issue #1300, PR#1589).
The authorized users file used by the authentication functionality
is now checked for accessibility much earlier during the program
startup, as opposed to being checked near the start of a test (Issue #1583, PR #1585).
Iperf3 now requires pthreads and C atomic variables to compile and run.
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>