| |
@@ -111,8 +111,8 @@
|
| |
$O/lib_sched.o
|
| |
|
| |
lmbench: $(UTILS)
|
| |
- @env LDFLAGS="-ltirpc" CFLAGS="-O -I/usr/include/tirpc" MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build all
|
| |
- -@env LDFLAGS="-ltirpc" CFLAGS="-O -I/usr/include/tirpc" MAKE="$(MAKE)" MAKEFLAGS="-k $(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build opt
|
| |
+ @env LDFLAGS="-ltirpc" CFLAGS="-fpermissive -O -I/usr/include/tirpc" MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build all
|
| |
+ -@env LDFLAGS="-ltirpc" CFLAGS="-fpermissive -O -I/usr/include/tirpc" MAKE="$(MAKE)" MAKEFLAGS="-k $(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build opt
|
| |
|
| |
results: lmbench
|
| |
@env OS="${OS}" ../scripts/config-run
|
| |
Trying to launch the performance test suite as described here [1], the compilation of the lmbench3 script is failing on Fedora 40 due to stricter validation rules enabled by default in gcc. Setting
-fpermissive
[2] in theCFLAGS
variable, it will downgrade the compilation errors to warning messages.Failing message:
[1] https://fedoraproject.org/wiki/QA:Testcase_kernel_regression#How_to_test
[2] https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive