Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/iozone: bump to version 3.508
@ 2025-09-06 16:25 Romain Naour via buildroot
  2025-09-06 16:25 ` [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem Romain Naour via buildroot
  2025-09-06 17:03 ` [Buildroot] [PATCH 1/2] package/iozone: bump to version 3.508 Julien Olivain via buildroot
  0 siblings, 2 replies; 10+ messages in thread
From: Romain Naour via buildroot @ 2025-09-06 16:25 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

iozone releases 3.507 and 3.508 seems to be only build fixes releases
for latest GCC compiler version but since there is no public vcs
it's not easy to review the history between releases and backport
any patches.

Based on the changelog from [1]:

  Revision 3.507
  Fix GCC compile warnings.

  Revision 3.508
  Put an end to the (&*% stupid GCC breaking builds for no valid reason.

So bump to the latest 508 release.

Rebase 0001-Add-new-targets-for-iozone.patch
Rebase 0002-fix-build-without-aio.patch and convert to git format

The TestIozone build issue is not yet fixed by the version bump [2].

[1] https://www.iozone.org/src/current/Changes.txt
[2] https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405

Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 .../0001-Add-new-targets-for-iozone.patch     | 24 +++----
 ... => 0002-Fix-build-without-ASYNC_IO.patch} | 63 ++++++++++++-------
 package/iozone/iozone.hash                    |  2 +-
 package/iozone/iozone.mk                      |  2 +-
 4 files changed, 54 insertions(+), 37 deletions(-)
 rename package/iozone/{0002-fix-build-without-aio.patch => 0002-Fix-build-without-ASYNC_IO.patch} (64%)

diff --git a/package/iozone/0001-Add-new-targets-for-iozone.patch b/package/iozone/0001-Add-new-targets-for-iozone.patch
index 3cc184ec8f..585f128724 100644
--- a/package/iozone/0001-Add-new-targets-for-iozone.patch
+++ b/package/iozone/0001-Add-new-targets-for-iozone.patch
@@ -1,4 +1,4 @@
-From 5b1e973b2333e838624abf195b3ba9716591f304 Mon Sep 17 00:00:00 2001
+From 015b6fa0c4a503ae822e6cf787de82e09bc44511 Mon Sep 17 00:00:00 2001
 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Date: Sun, 10 Oct 2021 10:15:26 +0200
 Subject: [PATCH] Add new targets for iozone:
@@ -10,12 +10,14 @@ And make largefile support optional via CFLAGS.
 
 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
+[Romain: rebase on 3.508]
+Signed-off-by: Romain Naour <romain.naour@smile.fr>
 ---
  src/current/makefile | 56 +++++++++++++++++++++++++++++++++++++-------
  1 file changed, 47 insertions(+), 9 deletions(-)
 
 diff --git a/src/current/makefile b/src/current/makefile
-index 3a54701..3b17b1b 100644
+index 24a391e..bd66a4e 100755
 --- a/src/current/makefile
 +++ b/src/current/makefile
 @@ -172,10 +172,28 @@ hpux_no_ansi:	iozone_hpux_no.o  libbif.o
@@ -54,15 +56,15 @@ index 3a54701..3b17b1b 100644
  	@echo ""
  	@echo "Building iozone for Linux"
  	@echo ""
--	$(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \
+-	$(CC) -Wmissing-prototypes -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \
 -		-DSHARED_MEM -Dlinux -D_LARGEFILE64_SOURCE $(CFLAGS) iozone.c \
-+	$(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \
++	$(CC) -Wmissing-prototypes -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \
 +		-DSHARED_MEM -Dlinux $(CFLAGS) iozone.c \
  		-DNAME='"linux"' -o iozone_linux.o
--	$(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -D_LARGEFILE64_SOURCE \
-+	$(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \
+-	$(CC) -Wmissing-prototypes -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -D_LARGEFILE64_SOURCE \
++	$(CC) -Wmissing-prototypes -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \
 +		-DSHARED_MEM -Dlinux $(CFLAGS) libbif.c -o libbif.o
-+	$(CC) -Wmissing-prototypes -Wall -c -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \
++	$(CC) -Wmissing-prototypes -c -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \
 +		$(CFLAGS) libasync.c  -o libasync.o
 +
 +iozone_linux-noaio.o: iozone.c libbif.c
@@ -84,7 +86,7 @@ index 3a54701..3b17b1b 100644
 +		-DNAME='"linux"' -o iozone_linux-noth.o
 +	$(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DNO_THREADS \
  		-DSHARED_MEM -Dlinux $(CFLAGS) libbif.c -o libbif.o
--	$(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \
+-	$(CC) -Wmissing-prototypes -c -O3 -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \
 -		-D_LARGEFILE64_SOURCE $(CFLAGS) libasync.c  -o libasync.o 
  
  fileop_AIX.o:	fileop.c
@@ -93,11 +95,11 @@ index 3a54701..3b17b1b 100644
  	@echo ""
  	@echo "Building fileop for Linux"
  	@echo ""
--	$(CC) -Wall -c -O3 $(CFLAGS) fileop.c -o fileop_linux.o
-+	$(CC) -Wall -c $(CFLAGS) fileop.c -o fileop_linux.o
+-	$(CC) -c -O3 $(CFLAGS) fileop.c -o fileop_linux.o
++	$(CC) -c $(CFLAGS) fileop.c -o fileop_linux.o
  
  fileop_openbsd.o:	fileop.c
  	@echo ""
 -- 
-2.27.0
+2.51.0
 
diff --git a/package/iozone/0002-fix-build-without-aio.patch b/package/iozone/0002-Fix-build-without-ASYNC_IO.patch
similarity index 64%
rename from package/iozone/0002-fix-build-without-aio.patch
rename to package/iozone/0002-Fix-build-without-ASYNC_IO.patch
index 8b54bef4e1..92621e5242 100644
--- a/package/iozone/0002-fix-build-without-aio.patch
+++ b/package/iozone/0002-Fix-build-without-ASYNC_IO.patch
@@ -1,4 +1,7 @@
-Fix build without ASYNC_IO
+From cdd5e78a275c8cda5d48d15acc96c3be5170bf2f Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@smile.fr>
+Date: Sat, 6 Sep 2025 00:26:00 +0200
+Subject: [PATCH] Fix build without ASYNC_IO
 
 Fix the following build failure without ASYNC_IO:
 
@@ -10,11 +13,20 @@ Fixes:
 
 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 Upstream: sent to capps@iozone.org
+[Romain:
+  rebase on 3.508
+  convert to git format
+]
+Signed-off-by: Romain Naour <romain.naour@smile.fr>
+---
+ src/current/iozone.c | 20 ++++++++++++++++++++
+ 1 file changed, 20 insertions(+)
 
-diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/current/iozone.c
---- iozone3_506.orig/src/current/iozone.c	2024-03-06 12:28:16.734023725 +0100
-+++ iozone3_506/src/current/iozone.c	2024-03-06 12:39:14.453991162 +0100
-@@ -9153,6 +9153,7 @@
+diff --git a/src/current/iozone.c b/src/current/iozone.c
+index 6657a9b..8de26cf 100755
+--- a/src/current/iozone.c
++++ b/src/current/iozone.c
+@@ -9196,6 +9196,7 @@ long long *data1,*data2;
  				}
  			  }
  			}
@@ -22,7 +34,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  			if(async_flag)
  			{
  				if(no_copy_flag)
-@@ -9160,6 +9161,7 @@
+@@ -9203,6 +9204,7 @@ long long *data1,*data2;
  				end_async(gc);
  				gc=0;
  			}
@@ -30,7 +42,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  			buffer1=0;
  			if(hist_summary)
  			{
-@@ -9634,6 +9636,7 @@
+@@ -9677,6 +9679,7 @@ long long *data1, *data2;
  				}
  			  }
  			}
@@ -38,7 +50,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  			if(async_flag)
  			{
  				if(no_copy_flag)
-@@ -9641,6 +9644,7 @@
+@@ -9684,6 +9687,7 @@ long long *data1, *data2;
  				end_async(gc);
  				gc=0;
  			}
@@ -46,7 +58,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  			if(rlocking)
  			{
  				lock_offset=I_LSEEK(fd,0,SEEK_CUR);
-@@ -10097,6 +10101,7 @@
+@@ -10140,6 +10144,7 @@ long long *data1,*data2;
  				}
  			   }
  			}
@@ -54,7 +66,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  			if(async_flag)
  			{
  				if(no_copy_flag)
-@@ -10104,6 +10109,7 @@
+@@ -10147,6 +10152,7 @@ long long *data1,*data2;
  				end_async(gc);
  				gc=0;
  			}
@@ -62,7 +74,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  			if(rlocking)
  			{
  				mylockr((int) fd, (int) 0, (int)1,
-@@ -10749,6 +10755,7 @@
+@@ -10792,6 +10798,7 @@ printf("Read_Stride\n");
  			   }
  			}
  		}
@@ -70,7 +82,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		if(async_flag)
  		{
  			if(no_copy_flag)
-@@ -10756,6 +10763,7 @@
+@@ -10799,6 +10806,7 @@ printf("Read_Stride\n");
  			end_async(gc);
  			gc=0;
  		}
@@ -78,7 +90,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  			
  		/* This is a bit tricky.  The goal is to read with a stride through
  		   the file. The problem is that you need to touch all of the file
-@@ -15485,6 +15493,7 @@
+@@ -15528,6 +15536,7 @@ thread_read_test(x)
  			   }
  		   }
  		}
@@ -86,7 +98,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		if(async_flag)
  		{
  			if(no_copy_flag)
-@@ -15492,6 +15501,7 @@
+@@ -15535,6 +15544,7 @@ thread_read_test(x)
  			end_async(gc);
  			gc=0;
  		}
@@ -94,7 +106,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		read_so_far+=reclen/1024;
  		r_traj_bytes_completed+=reclen;
  		r_traj_ops_completed++;
-@@ -16050,6 +16060,7 @@
+@@ -16093,6 +16103,7 @@ thread_pread_test(x)
  			   }
  		   }
  		}
@@ -102,7 +114,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		if(async_flag)
  		{
  			if(no_copy_flag)
-@@ -16057,6 +16068,7 @@
+@@ -16100,6 +16111,7 @@ thread_pread_test(x)
  			end_async(gc);
  			gc=0;
  		}
@@ -110,7 +122,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		read_so_far+=reclen/1024;
  		r_traj_bytes_completed+=reclen;
  		r_traj_ops_completed++;
-@@ -16665,6 +16677,7 @@
+@@ -16708,6 +16720,7 @@ thread_rread_test(x)
  			}
  		   }
  		}
@@ -118,7 +130,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		if(async_flag)
  		{
  			if(no_copy_flag)
-@@ -16672,6 +16685,7 @@
+@@ -16715,6 +16728,7 @@ thread_rread_test(x)
  			end_async(gc);
  			gc=0;
  		}
@@ -126,7 +138,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		re_read_so_far+=reclen/1024;
  		r_traj_bytes_completed+=reclen;
  		r_traj_ops_completed++;
-@@ -17244,6 +17258,7 @@
+@@ -17287,6 +17301,7 @@ thread_reverse_read_test(x)
  			  lock_offset, reclen);
  		}
  		current_position+=reclen;
@@ -134,7 +146,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		if(async_flag)
  		{
  			if(no_copy_flag)
-@@ -17251,6 +17266,7 @@
+@@ -17294,6 +17309,7 @@ thread_reverse_read_test(x)
  			end_async(gc);
  			gc=0;
  		}
@@ -142,7 +154,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		t_offset = (off64_t)reclen*2;
  		if (!(h_flag || k_flag || mmapflag))
  		{
-@@ -17778,6 +17794,7 @@
+@@ -17821,6 +17837,7 @@ thread_stride_read_test(x)
  			}
  		   }
  		}
@@ -150,7 +162,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		if(async_flag)
  		{
  			if(no_copy_flag)
-@@ -17785,6 +17802,7 @@
+@@ -17828,6 +17845,7 @@ thread_stride_read_test(x)
  			end_async(gc);
  			gc=0;
  		}
@@ -158,7 +170,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		if(current_position + (stride * reclen) >= (numrecs64 * reclen)-reclen) 
  		{
  			current_position=0;
-@@ -18528,6 +18546,7 @@
+@@ -18571,6 +18589,7 @@ void *x;
  			}
  		   }
  		}
@@ -166,7 +178,7 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		if(async_flag)
  		{
  			if(no_copy_flag)
-@@ -18535,6 +18554,7 @@
+@@ -18578,6 +18597,7 @@ void *x;
  			end_async(gc);
  			gc=0;
  		}
@@ -174,3 +186,6 @@ diff '--color=auto' -Nura iozone3_506.orig/src/current/iozone.c iozone3_506/src/
  		ranread_so_far+=reclen/1024;
  		if(*stop_flag)
  		{
+-- 
+2.51.0
+
diff --git a/package/iozone/iozone.hash b/package/iozone/iozone.hash
index 936ab5a646..1f41483b4a 100644
--- a/package/iozone/iozone.hash
+++ b/package/iozone/iozone.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  114ce5c071873b9a2c7ba6e73d05d5ef7e66564392acbfcdc0b3261db10fcbe7  iozone3_506.tar
+sha256  ee55af310a65ec97e1db214aebd75ee87f458b529cea3da37081a63974e8ace3  iozone3_508.tar
 sha256  bff7909fd698708d15613a4fb977a193cff98f44ef170c2dc1dd502974df75b2  docs/License.txt
diff --git a/package/iozone/iozone.mk b/package/iozone/iozone.mk
index b1b29d1098..07034cd96f 100644
--- a/package/iozone/iozone.mk
+++ b/package/iozone/iozone.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-IOZONE_VERSION = 3.506
+IOZONE_VERSION = 3.508
 IOZONE_SOURCE = iozone$(subst .,_,$(IOZONE_VERSION)).tar
 IOZONE_SITE = http://www.iozone.org/src/current
 IOZONE_LICENSE = IOzone license (NO DERIVED WORKS ALLOWED)
-- 
2.51.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem
  2025-09-06 16:25 [Buildroot] [PATCH 1/2] package/iozone: bump to version 3.508 Romain Naour via buildroot
@ 2025-09-06 16:25 ` Romain Naour via buildroot
  2025-09-11 19:26   ` Thomas Perale via buildroot
  2025-09-06 17:03 ` [Buildroot] [PATCH 1/2] package/iozone: bump to version 3.508 Julien Olivain via buildroot
  1 sibling, 1 reply; 10+ messages in thread
From: Romain Naour via buildroot @ 2025-09-06 16:25 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

Apply a patch from meta-openembedded fixing a cross-build issue [1].

[1] https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405 (TestIozone)

Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 ...ve-libasync.o-and-libbif.o-from-deps.patch | 114 ++++++++++++++++++
 1 file changed, 114 insertions(+)
 create mode 100644 package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch

diff --git a/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch b/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch
new file mode 100644
index 0000000000..ea4c9c97b3
--- /dev/null
+++ b/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch
@@ -0,0 +1,114 @@
+From 34c25d67c33050f42f0f243c0fb6674c28ff44b5 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@smile.fr>
+Date: Sat, 6 Sep 2025 00:31:48 +0200
+Subject: [PATCH] remove libasync.o and libbif.o from deps
+
+there are no implicit rules to build them and they get wrong CFLAGS
+when compiled with implicit rule.
+
+They are built as part of iozone_linux.o target anyway
+
+Only fixed linux targets for now
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream: Pending
+[Romain:
+  rebase on 3.508
+  convert to git format
+]
+Signed-off-by: Romain Naour <romain.naour@smile.fr>
+---
+Patch from Yocto:
+https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
+---
+ src/current/makefile | 18 +++++++++---------
+ 1 file changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/src/current/makefile b/src/current/makefile
+index bd66a4e..ba5759f 100755
+--- a/src/current/makefile
++++ b/src/current/makefile
+@@ -171,7 +171,7 @@ hpux_no_ansi:	iozone_hpux_no.o  libbif.o
+ #
+ # GNU 'C' compiler Linux build with threads, largefiles, async I/O 
+ #
+-linux:	iozone_linux.o libasync.o libbif.o fileop_linux.o pit_server.o
++linux:	iozone_linux.o fileop_linux.o pit_server.o
+ 	$(CC)  $(CFLAGS) $(LDFLAGS) iozone_linux.o libasync.o libbif.o \
+ 		-lpthread -lrt -o iozone
+ 	$(CC)  $(CFLAGS) -Dlinux fileop_linux.o -o fileop
+@@ -198,7 +198,7 @@ linux-noth: iozone_linux-noth.o libbif.o fileop_linux.o pit_server.o
+ #
+ # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O 
+ #
+-linux-powerpc: iozone_linux-powerpc.o  libbif.o libasync.o fileop_linux-ppc.o pit_server.o
++linux-powerpc: iozone_linux-powerpc.o fileop_linux-ppc.o pit_server.o
+ 	$(CC) -O3 $(LDFLAGS) iozone_linux-powerpc.o libasync.o \
+ 		libbif.o -lpthread  -lrt -o iozone
+ 	$(CC)  -O3 -Dlinux fileop_linux-ppc.o -o fileop
+@@ -206,7 +206,7 @@ linux-powerpc: iozone_linux-powerpc.o  libbif.o libasync.o fileop_linux-ppc.o pi
+ #
+ # GNU 'C' compiler Linux build for sparc chip with threads, largefiles, async I/O 
+ #
+-linux-sparc: iozone_linux-sparc.o  libbif.o libasync.o fileop_linux.o pit_server.o
++linux-sparc: iozone_linux-sparc.o fileop_linux.o pit_server.o
+ 	$(CC) -O3 $(LDFLAGS) iozone_linux-sparc.o libasync.o libbif.o \
+ 		-lpthread -lrt -o iozone
+ 	$(CC) -O3 -Dlinux fileop_linux.o -o fileop
+@@ -215,7 +215,7 @@ linux-sparc: iozone_linux-sparc.o  libbif.o libasync.o fileop_linux.o pit_server
+ #
+ # GNU 'C' compiler Linux build with threads, largefiles, async I/O 
+ #
+-linux-ia64:	iozone_linux-ia64.o  libbif.o libasync.o fileop_linux-ia64.o pit_server.o
++linux-ia64:	iozone_linux-ia64.o fileop_linux-ia64.o pit_server.o
+ 	$(CC) -O3 $(LDFLAGS) iozone_linux-ia64.o libbif.o libasync.o \
+ 		-lrt -lpthread -o iozone
+ 	$(CC)  -O3 -Dlinux fileop_linux-ia64.o -o fileop
+@@ -224,7 +224,7 @@ linux-ia64:	iozone_linux-ia64.o  libbif.o libasync.o fileop_linux-ia64.o pit_ser
+ #
+ # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O 
+ #
+-linux-powerpc64: iozone_linux-powerpc64.o  libbif.o libasync.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o
++linux-powerpc64: iozone_linux-powerpc64.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o
+ 	$(CC) -O3 -Dunix -DHAVE_ANSIC_C -DSHARED_MEM -DASYNC_IO \
+ 		-D_LARGEFILE64_SOURCE -Dlinux \
+ 		iozone_linux-powerpc64.o libasync.o libbif.o -lpthread \
+@@ -235,7 +235,7 @@ linux-powerpc64: iozone_linux-powerpc64.o  libbif.o libasync.o fileop_linux-ppc6
+ #
+ # GNU 'C' compiler Linux build with threads, largefiles, async I/O
+ #
+-linux-arm:	iozone_linux-arm.o  libbif.o libasync.o fileop_linux-arm.o pit_server.o
++linux-arm:	iozone_linux-arm.o fileop_linux-arm.o pit_server.o
+ 	$(CC) -O3 $(LDFLAGS) iozone_linux-arm.o libbif.o libasync.o \
+ 		-lrt -lpthread -o iozone
+ 	$(CC) -O3 -Dlinux fileop_linux-arm.o -o fileop
+@@ -267,7 +267,7 @@ endif
+ #
+ # GNU 'C' compiler Linux build with threads, largefiles, async I/O 
+ #
+-linux-AMD64:	iozone_linux-AMD64.o  libbif.o libasync.o fileop_linux-AMD64.o pit_server.o
++linux-AMD64:	iozone_linux-AMD64.o fileop_linux-AMD64.o pit_server.o
+ 	$(CC)  -O3 $(LDFLAGS) iozone_linux-AMD64.o libbif.o libasync.o \
+ 		-lrt -lpthread -o iozone
+ 	$(CC)  -O3 -Dlinux fileop_linux-AMD64.o -o fileop
+@@ -276,7 +276,7 @@ linux-AMD64:	iozone_linux-AMD64.o  libbif.o libasync.o fileop_linux-AMD64.o pit_
+ #
+ # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
+ #
+-linux-S390:	iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_server.o
++linux-S390:	iozone_linux-s390.o fileop_linux-s390.o pit_server.o
+ 	$(CC)  -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390.o \
+ 		libbif.o libasync.o -o iozone
+ 	$(CC)  -O3 -Dlinux fileop_linux-s390.o -o fileop
+@@ -285,7 +285,7 @@ linux-S390:	iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_serv
+ #
+ # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
+ #
+-linux-S390X:	iozone_linux-s390x.o libbif.o libasync.o fileop_linux-s390x.o pit_server.o
++linux-S390X:	iozone_linux-s390x.o fileop_linux-s390x.o pit_server.o
+ 	$(CC)  -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390x.o \
+ 		libbif.o libasync.o -o iozone
+ 	$(CC)  -O3 -Dlinux fileop_linux-s390x.o -o fileop
+-- 
+2.51.0
+
-- 
2.51.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/iozone: bump to version 3.508
  2025-09-06 16:25 [Buildroot] [PATCH 1/2] package/iozone: bump to version 3.508 Romain Naour via buildroot
  2025-09-06 16:25 ` [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem Romain Naour via buildroot
@ 2025-09-06 17:03 ` Julien Olivain via buildroot
  1 sibling, 0 replies; 10+ messages in thread
From: Julien Olivain via buildroot @ 2025-09-06 17:03 UTC (permalink / raw)
  To: Romain Naour; +Cc: buildroot

On 06/09/2025 18:25, Romain Naour via buildroot wrote:
> iozone releases 3.507 and 3.508 seems to be only build fixes releases
> for latest GCC compiler version but since there is no public vcs
> it's not easy to review the history between releases and backport
> any patches.
> 
> Based on the changelog from [1]:
> 
>   Revision 3.507
>   Fix GCC compile warnings.
> 
>   Revision 3.508
>   Put an end to the (&*% stupid GCC breaking builds for no valid 
> reason.
> 
> So bump to the latest 508 release.
> 
> Rebase 0001-Add-new-targets-for-iozone.patch
> Rebase 0002-fix-build-without-aio.patch and convert to git format
> 
> The TestIozone build issue is not yet fixed by the version bump [2].
> 
> [1] https://www.iozone.org/src/current/Changes.txt
> [2] https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405
> 
> Signed-off-by: Romain Naour <romain.naour@smile.fr>

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem
  2025-09-06 16:25 ` [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem Romain Naour via buildroot
@ 2025-09-11 19:26   ` Thomas Perale via buildroot
  2025-09-12 12:50     ` Baruch Siach via buildroot
  2025-11-17 19:51     ` Arnout Vandecappelle via buildroot
  0 siblings, 2 replies; 10+ messages in thread
From: Thomas Perale via buildroot @ 2025-09-11 19:26 UTC (permalink / raw)
  To: Romain Naour; +Cc: Thomas Perale, buildroot

In reply of:
> Apply a patch from meta-openembedded fixing a cross-build issue [1].
> 
> [1] https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
> 
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405 (TestIozone)
> 
> Signed-off-by: Romain Naour <romain.naour@smile.fr>

Applied to 2025.02.x & 2025.05.x. Thanks

> ---
>  ...ve-libasync.o-and-libbif.o-from-deps.patch | 114 ++++++++++++++++++
>  1 file changed, 114 insertions(+)
>  create mode 100644 package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch
> 
> diff --git a/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch b/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch
> new file mode 100644
> index 0000000000..ea4c9c97b3
> --- /dev/null
> +++ b/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch
> @@ -0,0 +1,114 @@
> +From 34c25d67c33050f42f0f243c0fb6674c28ff44b5 Mon Sep 17 00:00:00 2001
> +From: Romain Naour <romain.naour@smile.fr>
> +Date: Sat, 6 Sep 2025 00:31:48 +0200
> +Subject: [PATCH] remove libasync.o and libbif.o from deps
> +
> +there are no implicit rules to build them and they get wrong CFLAGS
> +when compiled with implicit rule.
> +
> +They are built as part of iozone_linux.o target anyway
> +
> +Only fixed linux targets for now
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +Upstream: Pending
> +[Romain:
> +  rebase on 3.508
> +  convert to git format
> +]
> +Signed-off-by: Romain Naour <romain.naour@smile.fr>
> +---
> +Patch from Yocto:
> +https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
> +---
> + src/current/makefile | 18 +++++++++---------
> + 1 file changed, 9 insertions(+), 9 deletions(-)
> +
> +diff --git a/src/current/makefile b/src/current/makefile
> +index bd66a4e..ba5759f 100755
> +--- a/src/current/makefile
> ++++ b/src/current/makefile
> +@@ -171,7 +171,7 @@ hpux_no_ansi:	iozone_hpux_no.o  libbif.o
> + #
> + # GNU 'C' compiler Linux build with threads, largefiles, async I/O 
> + #
> +-linux:	iozone_linux.o libasync.o libbif.o fileop_linux.o pit_server.o
> ++linux:	iozone_linux.o fileop_linux.o pit_server.o
> + 	$(CC)  $(CFLAGS) $(LDFLAGS) iozone_linux.o libasync.o libbif.o \
> + 		-lpthread -lrt -o iozone
> + 	$(CC)  $(CFLAGS) -Dlinux fileop_linux.o -o fileop
> +@@ -198,7 +198,7 @@ linux-noth: iozone_linux-noth.o libbif.o fileop_linux.o pit_server.o
> + #
> + # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O 
> + #
> +-linux-powerpc: iozone_linux-powerpc.o  libbif.o libasync.o fileop_linux-ppc.o pit_server.o
> ++linux-powerpc: iozone_linux-powerpc.o fileop_linux-ppc.o pit_server.o
> + 	$(CC) -O3 $(LDFLAGS) iozone_linux-powerpc.o libasync.o \
> + 		libbif.o -lpthread  -lrt -o iozone
> + 	$(CC)  -O3 -Dlinux fileop_linux-ppc.o -o fileop
> +@@ -206,7 +206,7 @@ linux-powerpc: iozone_linux-powerpc.o  libbif.o libasync.o fileop_linux-ppc.o pi
> + #
> + # GNU 'C' compiler Linux build for sparc chip with threads, largefiles, async I/O 
> + #
> +-linux-sparc: iozone_linux-sparc.o  libbif.o libasync.o fileop_linux.o pit_server.o
> ++linux-sparc: iozone_linux-sparc.o fileop_linux.o pit_server.o
> + 	$(CC) -O3 $(LDFLAGS) iozone_linux-sparc.o libasync.o libbif.o \
> + 		-lpthread -lrt -o iozone
> + 	$(CC) -O3 -Dlinux fileop_linux.o -o fileop
> +@@ -215,7 +215,7 @@ linux-sparc: iozone_linux-sparc.o  libbif.o libasync.o fileop_linux.o pit_server
> + #
> + # GNU 'C' compiler Linux build with threads, largefiles, async I/O 
> + #
> +-linux-ia64:	iozone_linux-ia64.o  libbif.o libasync.o fileop_linux-ia64.o pit_server.o
> ++linux-ia64:	iozone_linux-ia64.o fileop_linux-ia64.o pit_server.o
> + 	$(CC) -O3 $(LDFLAGS) iozone_linux-ia64.o libbif.o libasync.o \
> + 		-lrt -lpthread -o iozone
> + 	$(CC)  -O3 -Dlinux fileop_linux-ia64.o -o fileop
> +@@ -224,7 +224,7 @@ linux-ia64:	iozone_linux-ia64.o  libbif.o libasync.o fileop_linux-ia64.o pit_ser
> + #
> + # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O 
> + #
> +-linux-powerpc64: iozone_linux-powerpc64.o  libbif.o libasync.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o
> ++linux-powerpc64: iozone_linux-powerpc64.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o
> + 	$(CC) -O3 -Dunix -DHAVE_ANSIC_C -DSHARED_MEM -DASYNC_IO \
> + 		-D_LARGEFILE64_SOURCE -Dlinux \
> + 		iozone_linux-powerpc64.o libasync.o libbif.o -lpthread \
> +@@ -235,7 +235,7 @@ linux-powerpc64: iozone_linux-powerpc64.o  libbif.o libasync.o fileop_linux-ppc6
> + #
> + # GNU 'C' compiler Linux build with threads, largefiles, async I/O
> + #
> +-linux-arm:	iozone_linux-arm.o  libbif.o libasync.o fileop_linux-arm.o pit_server.o
> ++linux-arm:	iozone_linux-arm.o fileop_linux-arm.o pit_server.o
> + 	$(CC) -O3 $(LDFLAGS) iozone_linux-arm.o libbif.o libasync.o \
> + 		-lrt -lpthread -o iozone
> + 	$(CC) -O3 -Dlinux fileop_linux-arm.o -o fileop
> +@@ -267,7 +267,7 @@ endif
> + #
> + # GNU 'C' compiler Linux build with threads, largefiles, async I/O 
> + #
> +-linux-AMD64:	iozone_linux-AMD64.o  libbif.o libasync.o fileop_linux-AMD64.o pit_server.o
> ++linux-AMD64:	iozone_linux-AMD64.o fileop_linux-AMD64.o pit_server.o
> + 	$(CC)  -O3 $(LDFLAGS) iozone_linux-AMD64.o libbif.o libasync.o \
> + 		-lrt -lpthread -o iozone
> + 	$(CC)  -O3 -Dlinux fileop_linux-AMD64.o -o fileop
> +@@ -276,7 +276,7 @@ linux-AMD64:	iozone_linux-AMD64.o  libbif.o libasync.o fileop_linux-AMD64.o pit_
> + #
> + # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
> + #
> +-linux-S390:	iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_server.o
> ++linux-S390:	iozone_linux-s390.o fileop_linux-s390.o pit_server.o
> + 	$(CC)  -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390.o \
> + 		libbif.o libasync.o -o iozone
> + 	$(CC)  -O3 -Dlinux fileop_linux-s390.o -o fileop
> +@@ -285,7 +285,7 @@ linux-S390:	iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_serv
> + #
> + # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
> + #
> +-linux-S390X:	iozone_linux-s390x.o libbif.o libasync.o fileop_linux-s390x.o pit_server.o
> ++linux-S390X:	iozone_linux-s390x.o fileop_linux-s390x.o pit_server.o
> + 	$(CC)  -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390x.o \
> + 		libbif.o libasync.o -o iozone
> + 	$(CC)  -O3 -Dlinux fileop_linux-s390x.o -o fileop
> +-- 
> +2.51.0
> +
> -- 
> 2.51.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem
  2025-09-11 19:26   ` Thomas Perale via buildroot
@ 2025-09-12 12:50     ` Baruch Siach via buildroot
  2025-10-31  9:50       ` Alexis Lothoré via buildroot
  2025-11-17 19:51     ` Arnout Vandecappelle via buildroot
  1 sibling, 1 reply; 10+ messages in thread
From: Baruch Siach via buildroot @ 2025-09-12 12:50 UTC (permalink / raw)
  To: Thomas Perale via buildroot; +Cc: Romain Naour, Thomas Perale

Hi Thomas,

On Thu, Sep 11 2025, Thomas Perale via buildroot wrote:
> In reply of:
>> Apply a patch from meta-openembedded fixing a cross-build issue [1].
>> 
>> [1]
>> https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
>> 
>> Fixes:
>> https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405 (TestIozone)
>> 
>> Signed-off-by: Romain Naour <romain.naour@smile.fr>
>
> Applied to 2025.02.x & 2025.05.x. Thanks

Not in 2025.02.x or 2025.05.x as of a4ac42f4e7a74 ("Revert
"package/firewalld: add missing nftables json runtime dependency"") and
02f4d62bbf95 ("package/python3: do build-time detection of non-working
toolchain"), respectively.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem
  2025-09-12 12:50     ` Baruch Siach via buildroot
@ 2025-10-31  9:50       ` Alexis Lothoré via buildroot
  2025-10-31 15:00         ` Thomas Perale via buildroot
  0 siblings, 1 reply; 10+ messages in thread
From: Alexis Lothoré via buildroot @ 2025-10-31  9:50 UTC (permalink / raw)
  To: Baruch Siach, Thomas Perale via buildroot; +Cc: Romain Naour, Thomas Perale

Hello,

On Fri Sep 12, 2025 at 2:50 PM CEST, Baruch Siach via buildroot wrote:
> Hi Thomas,
>
> On Thu, Sep 11 2025, Thomas Perale via buildroot wrote:
>> In reply of:
>>> Apply a patch from meta-openembedded fixing a cross-build issue [1].
>>> 
>>> [1]
>>> https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
>>> 
>>> Fixes:
>>> https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405 (TestIozone)
>>> 
>>> Signed-off-by: Romain Naour <romain.naour@smile.fr>
>>
>> Applied to 2025.02.x & 2025.05.x. Thanks
>
> Not in 2025.02.x or 2025.05.x as of a4ac42f4e7a74 ("Revert
> "package/firewalld: add missing nftables json runtime dependency"") and
> 02f4d62bbf95 ("package/python3: do build-time detection of non-working
> toolchain"), respectively.

I was investigating a build failure on the iozone package on buildroot
2025.02.x, and eventually found this series which indeed fixes the issues
observed locally. As Baruch stated, it does not seem to be applied on
2025.02.x, despite Thomas's notification.

Any plan to eventually apply it on 2025.02.x ?

Thanks,

Alexis

-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem
  2025-10-31  9:50       ` Alexis Lothoré via buildroot
@ 2025-10-31 15:00         ` Thomas Perale via buildroot
  2025-10-31 15:39           ` Alexis Lothoré via buildroot
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Perale via buildroot @ 2025-10-31 15:00 UTC (permalink / raw)
  To: Alexis Lothoré, Baruch Siach, Thomas Perale via buildroot
  Cc: Romain Naour

Hi Alexis,

On 10/31/25 10:50 AM, Alexis Lothoré wrote:
> Hello,
>
> On Fri Sep 12, 2025 at 2:50 PM CEST, Baruch Siach via buildroot wrote:
>> Hi Thomas,
>>
>> On Thu, Sep 11 2025, Thomas Perale via buildroot wrote:
>>> In reply of:
>>>> Apply a patch from meta-openembedded fixing a cross-build issue [1].
>>>>
>>>> [1]
>>>> https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
>>>>
>>>> Fixes:
>>>> https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405 (TestIozone)
>>>>
>>>> Signed-off-by: Romain Naour <romain.naour@smile.fr>
>>> Applied to 2025.02.x & 2025.05.x. Thanks
>> Not in 2025.02.x or 2025.05.x as of a4ac42f4e7a74 ("Revert
>> "package/firewalld: add missing nftables json runtime dependency"") and
>> 02f4d62bbf95 ("package/python3: do build-time detection of non-working
>> toolchain"), respectively.
> I was investigating a build failure on the iozone package on buildroot
> 2025.02.x, and eventually found this series which indeed fixes the issues
> observed locally. As Baruch stated, it does not seem to be applied on
> 2025.02.x, despite Thomas's notification.
>
> Any plan to eventually apply it on 2025.02.x ?
>
> Thanks,
>
> Alexis

Are you talking about the parallelism issue ? We didn't ended up picking 
it because the fix came after the version bump which could imply this 
error only happens after the version bump.

For the bump and the gcc fixes, if i remember correctly I tried to build 
it locally and it didn't fail. Since the commit message was not specific 
enough about the error I didn't include it. But I may have done 
something wrong.

What's the error you are running into ? The bump looks to be small so we 
might include it as well next week.

Thanks for the message,
PERALE Thomas

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem
  2025-10-31 15:00         ` Thomas Perale via buildroot
@ 2025-10-31 15:39           ` Alexis Lothoré via buildroot
  2025-11-01 18:03             ` Thomas Perale via buildroot
  0 siblings, 1 reply; 10+ messages in thread
From: Alexis Lothoré via buildroot @ 2025-10-31 15:39 UTC (permalink / raw)
  To: Thomas Perale, Alexis Lothoré, Baruch Siach,
	Thomas Perale via buildroot
  Cc: Romain Naour

Hello Thomas,

On Fri Oct 31, 2025 at 4:00 PM CET, Thomas Perale wrote:
> Hi Alexis,
>
> On 10/31/25 10:50 AM, Alexis Lothoré wrote:
>> Hello,
>>
>> On Fri Sep 12, 2025 at 2:50 PM CEST, Baruch Siach via buildroot wrote:
>>> Hi Thomas,
>>>
>>> On Thu, Sep 11 2025, Thomas Perale via buildroot wrote:
>>>> In reply of:
>>>>> Apply a patch from meta-openembedded fixing a cross-build issue [1].
>>>>>
>>>>> [1]
>>>>> https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
>>>>>
>>>>> Fixes:
>>>>> https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405 (TestIozone)
>>>>>
>>>>> Signed-off-by: Romain Naour <romain.naour@smile.fr>
>>>> Applied to 2025.02.x & 2025.05.x. Thanks
>>> Not in 2025.02.x or 2025.05.x as of a4ac42f4e7a74 ("Revert
>>> "package/firewalld: add missing nftables json runtime dependency"") and
>>> 02f4d62bbf95 ("package/python3: do build-time detection of non-working
>>> toolchain"), respectively.
>> I was investigating a build failure on the iozone package on buildroot
>> 2025.02.x, and eventually found this series which indeed fixes the issues
>> observed locally. As Baruch stated, it does not seem to be applied on
>> 2025.02.x, despite Thomas's notification.
>>
>> Any plan to eventually apply it on 2025.02.x ?
>>
>> Thanks,
>>
>> Alexis
>
> Are you talking about the parallelism issue ? We didn't ended up picking 
> it because the fix came after the version bump which could imply this 
> error only happens after the version bump.

My bad, I did make things confusing by replying to the thread involving the
parallel build fix, but I am indeed referring to the bump to get build
fixes related to GCC raising errors instead of warnings.

> For the bump and the gcc fixes, if i remember correctly I tried to build 
> it locally and it didn't fail. Since the commit message was not specific 
> enough about the error I didn't include it. But I may have done 
> something wrong.
>
> What's the error you are running into ? The bump looks to be small so we 
> might include it as well next week.

Here are the errors I am seeing:

libbif.c:205:1: error: return type defaults to 'int' [-Wimplicit-int]
  205 | create_xls(name)
      | ^~~~~~~~~~
make[2]: *** [<builtin>: libbif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
libasync.c: In function 'end_async':
libasync.c:302:9: error: implicit declaration of function 'del_cache' [-Wimplicit-function-declaration]
  302 |         del_cache(mygc);
      |         ^~~~~~~~~
libasync.c: In function 'async_read':
libasync.c:432:17: error: implicit declaration of function 'takeoff_cache'; did you mean 'alloc_cache'? [-Wimplicit-function-declaration]
  432 |                 takeoff_cache(gc,ce);
      |                 ^~~~~~~~~~~~~
      |                 alloc_cache
libasync.c: At top level:
libasync.c:618:1: warning: conflicting types for 'takeoff_cache'; have 'void(struct cache *, struct cache_ent *)'
  618 | takeoff_cache(struct cache *gc, struct cache_ent *ce)
      | ^~~~~~~~~~~~~
libasync.c:432:17: note: previous implicit declaration of 'takeoff_cache' with type 'void(struct cache *, struct cache_ent *)'
  432 |                 takeoff_cache(gc,ce);
      |                 ^~~~~~~~~~~~~
libasync.c:692:1: warning: conflicting types for 'del_cache'; have 'void()'
  692 | del_cache(gc)
      | ^~~~~~~~~
libasync.c:302:9: note: previous implicit declaration of 'del_cache' with type 'void()'
  302 |         del_cache(mygc);
      |         ^~~~~~~~~
libasync.c: In function 'async_read_no_copy':
libasync.c:815:17: error: implicit declaration of function 'putoninuse' [-Wimplicit-function-declaration]
  815 |                 putoninuse(gc,ce);
      |                 ^~~~~~~~~~
libasync.c: In function 'async_release':
libasync.c:982:9: error: implicit declaration of function 'takeoffinuse' [-Wimplicit-function-declaration]
  982 |         takeoffinuse(gc);
      |         ^~~~~~~~~~~~
libasync.c: At top level:
libasync.c:996:1: warning: conflicting types for 'putoninuse'; have 'void()'
  996 | putoninuse(gc,entry)
      | ^~~~~~~~~~
libasync.c:815:17: note: previous implicit declaration of 'putoninuse' with type 'void()'
  815 |                 putoninuse(gc,ce);
      |                 ^~~~~~~~~~
libasync.c:1017:1: warning: conflicting types for 'takeoffinuse'; have 'void()'
 1017 | takeoffinuse(gc)
      | ^~~~~~~~~~~~
libasync.c:982:9: note: previous implicit declaration of 'takeoffinuse' with type 'void()'
  982 |         takeoffinuse(gc);
      |         ^~~~~~~~~~~~
make[2]: *** [<builtin>: libasync.o] Error 1
make[2]: Leaving directory '/workspace/build/out/output-diamond/build/iozone-3.506/src/current'
make[1]: *** [package/pkg-generic.mk:273: /workspace/build/out/output-diamond/build/iozone-3.506/.stamp_built] Error 2
make[1]: Leaving directory '/workspace/build/build/buildroot'
make: *** [/workspace/build/build/matchbox/buildroot.mk:48: iozone] Error 2

I managed to reproduce the build issue with the following minimal
defconfig on 2025.02.x

BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_ARM_FPU_NEON=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_PACKAGE_IOZONE=y

If it helps, would you like me to resend the original patch and enrich it
with those info ?

Alexis
>
> Thanks for the message,
> PERALE Thomas




-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem
  2025-10-31 15:39           ` Alexis Lothoré via buildroot
@ 2025-11-01 18:03             ` Thomas Perale via buildroot
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Perale via buildroot @ 2025-11-01 18:03 UTC (permalink / raw)
  To: Alexis Lothoré, Baruch Siach, Thomas Perale via buildroot
  Cc: Romain Naour

Hi,

On 10/31/25 4:39 PM, Alexis Lothoré wrote:
> Hello Thomas,
>
> On Fri Oct 31, 2025 at 4:00 PM CET, Thomas Perale wrote:
>> Hi Alexis,
>>
>> On 10/31/25 10:50 AM, Alexis Lothoré wrote:
>>> Hello,
>>>
>>> On Fri Sep 12, 2025 at 2:50 PM CEST, Baruch Siach via buildroot wrote:
>>>> Hi Thomas,
>>>>
>>>> On Thu, Sep 11 2025, Thomas Perale via buildroot wrote:
>>>>> In reply of:
>>>>>> Apply a patch from meta-openembedded fixing a cross-build issue [1].
>>>>>>
>>>>>> [1]
>>>>>> https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
>>>>>>
>>>>>> Fixes:
>>>>>> https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405 (TestIozone)
>>>>>>
>>>>>> Signed-off-by: Romain Naour <romain.naour@smile.fr>
>>>>> Applied to 2025.02.x & 2025.05.x. Thanks
>>>> Not in 2025.02.x or 2025.05.x as of a4ac42f4e7a74 ("Revert
>>>> "package/firewalld: add missing nftables json runtime dependency"") and
>>>> 02f4d62bbf95 ("package/python3: do build-time detection of non-working
>>>> toolchain"), respectively.
>>> I was investigating a build failure on the iozone package on buildroot
>>> 2025.02.x, and eventually found this series which indeed fixes the issues
>>> observed locally. As Baruch stated, it does not seem to be applied on
>>> 2025.02.x, despite Thomas's notification.
>>>
>>> Any plan to eventually apply it on 2025.02.x ?
>>>
>>> Thanks,
>>>
>>> Alexis
>> Are you talking about the parallelism issue ? We didn't ended up picking
>> it because the fix came after the version bump which could imply this
>> error only happens after the version bump.
> My bad, I did make things confusing by replying to the thread involving the
> parallel build fix, but I am indeed referring to the bump to get build
> fixes related to GCC raising errors instead of warnings.
>
>> For the bump and the gcc fixes, if i remember correctly I tried to build
>> it locally and it didn't fail. Since the commit message was not specific
>> enough about the error I didn't include it. But I may have done
>> something wrong.
>>
>> What's the error you are running into ? The bump looks to be small so we
>> might include it as well next week.
> Here are the errors I am seeing:
>
> libbif.c:205:1: error: return type defaults to 'int' [-Wimplicit-int]
>    205 | create_xls(name)
>        | ^~~~~~~~~~
> make[2]: *** [<builtin>: libbif.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> libasync.c: In function 'end_async':
> libasync.c:302:9: error: implicit declaration of function 'del_cache' [-Wimplicit-function-declaration]
>    302 |         del_cache(mygc);
>        |         ^~~~~~~~~
> libasync.c: In function 'async_read':
> libasync.c:432:17: error: implicit declaration of function 'takeoff_cache'; did you mean 'alloc_cache'? [-Wimplicit-function-declaration]
>    432 |                 takeoff_cache(gc,ce);
>        |                 ^~~~~~~~~~~~~
>        |                 alloc_cache
> libasync.c: At top level:
> libasync.c:618:1: warning: conflicting types for 'takeoff_cache'; have 'void(struct cache *, struct cache_ent *)'
>    618 | takeoff_cache(struct cache *gc, struct cache_ent *ce)
>        | ^~~~~~~~~~~~~
> libasync.c:432:17: note: previous implicit declaration of 'takeoff_cache' with type 'void(struct cache *, struct cache_ent *)'
>    432 |                 takeoff_cache(gc,ce);
>        |                 ^~~~~~~~~~~~~
> libasync.c:692:1: warning: conflicting types for 'del_cache'; have 'void()'
>    692 | del_cache(gc)
>        | ^~~~~~~~~
> libasync.c:302:9: note: previous implicit declaration of 'del_cache' with type 'void()'
>    302 |         del_cache(mygc);
>        |         ^~~~~~~~~
> libasync.c: In function 'async_read_no_copy':
> libasync.c:815:17: error: implicit declaration of function 'putoninuse' [-Wimplicit-function-declaration]
>    815 |                 putoninuse(gc,ce);
>        |                 ^~~~~~~~~~
> libasync.c: In function 'async_release':
> libasync.c:982:9: error: implicit declaration of function 'takeoffinuse' [-Wimplicit-function-declaration]
>    982 |         takeoffinuse(gc);
>        |         ^~~~~~~~~~~~
> libasync.c: At top level:
> libasync.c:996:1: warning: conflicting types for 'putoninuse'; have 'void()'
>    996 | putoninuse(gc,entry)
>        | ^~~~~~~~~~
> libasync.c:815:17: note: previous implicit declaration of 'putoninuse' with type 'void()'
>    815 |                 putoninuse(gc,ce);
>        |                 ^~~~~~~~~~
> libasync.c:1017:1: warning: conflicting types for 'takeoffinuse'; have 'void()'
>   1017 | takeoffinuse(gc)
>        | ^~~~~~~~~~~~
> libasync.c:982:9: note: previous implicit declaration of 'takeoffinuse' with type 'void()'
>    982 |         takeoffinuse(gc);
>        |         ^~~~~~~~~~~~
> make[2]: *** [<builtin>: libasync.o] Error 1
> make[2]: Leaving directory '/workspace/build/out/output-diamond/build/iozone-3.506/src/current'
> make[1]: *** [package/pkg-generic.mk:273: /workspace/build/out/output-diamond/build/iozone-3.506/.stamp_built] Error 2
> make[1]: Leaving directory '/workspace/build/build/buildroot'
> make: *** [/workspace/build/build/matchbox/buildroot.mk:48: iozone] Error 2
>
> I managed to reproduce the build issue with the following minimal
> defconfig on 2025.02.x
>
> BR2_arm=y
> BR2_cortex_a9=y
> BR2_ARM_ENABLE_NEON=y
> BR2_ARM_ENABLE_VFP=y
> BR2_ARM_FPU_NEON=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
> BR2_PACKAGE_IOZONE=y
>
> If it helps, would you like me to resend the original patch and enrich it
> with those info ?

Don't bother, I will apply it directly with an additional comment. 
Thanks for your detailed report

PERALE Thomas

> Alexis
>> Thanks for the message,
>> PERALE Thomas
>
>
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem
  2025-09-11 19:26   ` Thomas Perale via buildroot
  2025-09-12 12:50     ` Baruch Siach via buildroot
@ 2025-11-17 19:51     ` Arnout Vandecappelle via buildroot
  1 sibling, 0 replies; 10+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2025-11-17 19:51 UTC (permalink / raw)
  To: Thomas Perale, Romain Naour; +Cc: buildroot



On 11/09/2025 21:26, Thomas Perale via buildroot wrote:
> In reply of:
>> Apply a patch from meta-openembedded fixing a cross-build issue [1].
>>
>> [1] https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
>>
>> Fixes:
>> https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774405 (TestIozone)
>>
>> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> 
> Applied to 2025.02.x & 2025.05.x. Thanks

  This time for real.

  Regards,
  Arnout

> 
>> ---
>>   ...ve-libasync.o-and-libbif.o-from-deps.patch | 114 ++++++++++++++++++
>>   1 file changed, 114 insertions(+)
>>   create mode 100644 package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch
>>
>> diff --git a/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch b/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch
>> new file mode 100644
>> index 0000000000..ea4c9c97b3
>> --- /dev/null
>> +++ b/package/iozone/0003-remove-libasync.o-and-libbif.o-from-deps.patch
>> @@ -0,0 +1,114 @@
>> +From 34c25d67c33050f42f0f243c0fb6674c28ff44b5 Mon Sep 17 00:00:00 2001
>> +From: Romain Naour <romain.naour@smile.fr>
>> +Date: Sat, 6 Sep 2025 00:31:48 +0200
>> +Subject: [PATCH] remove libasync.o and libbif.o from deps
>> +
>> +there are no implicit rules to build them and they get wrong CFLAGS
>> +when compiled with implicit rule.
>> +
>> +They are built as part of iozone_linux.o target anyway
>> +
>> +Only fixed linux targets for now
>> +
>> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> +Upstream: Pending
>> +[Romain:
>> +  rebase on 3.508
>> +  convert to git format
>> +]
>> +Signed-off-by: Romain Naour <romain.naour@smile.fr>
>> +---
>> +Patch from Yocto:
>> +https://github.com/openembedded/meta-openembedded/blob/walnascar/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch
>> +---
>> + src/current/makefile | 18 +++++++++---------
>> + 1 file changed, 9 insertions(+), 9 deletions(-)
>> +
>> +diff --git a/src/current/makefile b/src/current/makefile
>> +index bd66a4e..ba5759f 100755
>> +--- a/src/current/makefile
>> ++++ b/src/current/makefile
>> +@@ -171,7 +171,7 @@ hpux_no_ansi:	iozone_hpux_no.o  libbif.o
>> + #
>> + # GNU 'C' compiler Linux build with threads, largefiles, async I/O
>> + #
>> +-linux:	iozone_linux.o libasync.o libbif.o fileop_linux.o pit_server.o
>> ++linux:	iozone_linux.o fileop_linux.o pit_server.o
>> + 	$(CC)  $(CFLAGS) $(LDFLAGS) iozone_linux.o libasync.o libbif.o \
>> + 		-lpthread -lrt -o iozone
>> + 	$(CC)  $(CFLAGS) -Dlinux fileop_linux.o -o fileop
>> +@@ -198,7 +198,7 @@ linux-noth: iozone_linux-noth.o libbif.o fileop_linux.o pit_server.o
>> + #
>> + # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O
>> + #
>> +-linux-powerpc: iozone_linux-powerpc.o  libbif.o libasync.o fileop_linux-ppc.o pit_server.o
>> ++linux-powerpc: iozone_linux-powerpc.o fileop_linux-ppc.o pit_server.o
>> + 	$(CC) -O3 $(LDFLAGS) iozone_linux-powerpc.o libasync.o \
>> + 		libbif.o -lpthread  -lrt -o iozone
>> + 	$(CC)  -O3 -Dlinux fileop_linux-ppc.o -o fileop
>> +@@ -206,7 +206,7 @@ linux-powerpc: iozone_linux-powerpc.o  libbif.o libasync.o fileop_linux-ppc.o pi
>> + #
>> + # GNU 'C' compiler Linux build for sparc chip with threads, largefiles, async I/O
>> + #
>> +-linux-sparc: iozone_linux-sparc.o  libbif.o libasync.o fileop_linux.o pit_server.o
>> ++linux-sparc: iozone_linux-sparc.o fileop_linux.o pit_server.o
>> + 	$(CC) -O3 $(LDFLAGS) iozone_linux-sparc.o libasync.o libbif.o \
>> + 		-lpthread -lrt -o iozone
>> + 	$(CC) -O3 -Dlinux fileop_linux.o -o fileop
>> +@@ -215,7 +215,7 @@ linux-sparc: iozone_linux-sparc.o  libbif.o libasync.o fileop_linux.o pit_server
>> + #
>> + # GNU 'C' compiler Linux build with threads, largefiles, async I/O
>> + #
>> +-linux-ia64:	iozone_linux-ia64.o  libbif.o libasync.o fileop_linux-ia64.o pit_server.o
>> ++linux-ia64:	iozone_linux-ia64.o fileop_linux-ia64.o pit_server.o
>> + 	$(CC) -O3 $(LDFLAGS) iozone_linux-ia64.o libbif.o libasync.o \
>> + 		-lrt -lpthread -o iozone
>> + 	$(CC)  -O3 -Dlinux fileop_linux-ia64.o -o fileop
>> +@@ -224,7 +224,7 @@ linux-ia64:	iozone_linux-ia64.o  libbif.o libasync.o fileop_linux-ia64.o pit_ser
>> + #
>> + # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O
>> + #
>> +-linux-powerpc64: iozone_linux-powerpc64.o  libbif.o libasync.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o
>> ++linux-powerpc64: iozone_linux-powerpc64.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o
>> + 	$(CC) -O3 -Dunix -DHAVE_ANSIC_C -DSHARED_MEM -DASYNC_IO \
>> + 		-D_LARGEFILE64_SOURCE -Dlinux \
>> + 		iozone_linux-powerpc64.o libasync.o libbif.o -lpthread \
>> +@@ -235,7 +235,7 @@ linux-powerpc64: iozone_linux-powerpc64.o  libbif.o libasync.o fileop_linux-ppc6
>> + #
>> + # GNU 'C' compiler Linux build with threads, largefiles, async I/O
>> + #
>> +-linux-arm:	iozone_linux-arm.o  libbif.o libasync.o fileop_linux-arm.o pit_server.o
>> ++linux-arm:	iozone_linux-arm.o fileop_linux-arm.o pit_server.o
>> + 	$(CC) -O3 $(LDFLAGS) iozone_linux-arm.o libbif.o libasync.o \
>> + 		-lrt -lpthread -o iozone
>> + 	$(CC) -O3 -Dlinux fileop_linux-arm.o -o fileop
>> +@@ -267,7 +267,7 @@ endif
>> + #
>> + # GNU 'C' compiler Linux build with threads, largefiles, async I/O
>> + #
>> +-linux-AMD64:	iozone_linux-AMD64.o  libbif.o libasync.o fileop_linux-AMD64.o pit_server.o
>> ++linux-AMD64:	iozone_linux-AMD64.o fileop_linux-AMD64.o pit_server.o
>> + 	$(CC)  -O3 $(LDFLAGS) iozone_linux-AMD64.o libbif.o libasync.o \
>> + 		-lrt -lpthread -o iozone
>> + 	$(CC)  -O3 -Dlinux fileop_linux-AMD64.o -o fileop
>> +@@ -276,7 +276,7 @@ linux-AMD64:	iozone_linux-AMD64.o  libbif.o libasync.o fileop_linux-AMD64.o pit_
>> + #
>> + # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
>> + #
>> +-linux-S390:	iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_server.o
>> ++linux-S390:	iozone_linux-s390.o fileop_linux-s390.o pit_server.o
>> + 	$(CC)  -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390.o \
>> + 		libbif.o libasync.o -o iozone
>> + 	$(CC)  -O3 -Dlinux fileop_linux-s390.o -o fileop
>> +@@ -285,7 +285,7 @@ linux-S390:	iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_serv
>> + #
>> + # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
>> + #
>> +-linux-S390X:	iozone_linux-s390x.o libbif.o libasync.o fileop_linux-s390x.o pit_server.o
>> ++linux-S390X:	iozone_linux-s390x.o fileop_linux-s390x.o pit_server.o
>> + 	$(CC)  -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390x.o \
>> + 		libbif.o libasync.o -o iozone
>> + 	$(CC)  -O3 -Dlinux fileop_linux-s390x.o -o fileop
>> +--
>> +2.51.0
>> +
>> -- 
>> 2.51.0
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-11-17 19:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-06 16:25 [Buildroot] [PATCH 1/2] package/iozone: bump to version 3.508 Romain Naour via buildroot
2025-09-06 16:25 ` [Buildroot] [PATCH 2/2] package/iozone: Fix parallel build problem Romain Naour via buildroot
2025-09-11 19:26   ` Thomas Perale via buildroot
2025-09-12 12:50     ` Baruch Siach via buildroot
2025-10-31  9:50       ` Alexis Lothoré via buildroot
2025-10-31 15:00         ` Thomas Perale via buildroot
2025-10-31 15:39           ` Alexis Lothoré via buildroot
2025-11-01 18:03             ` Thomas Perale via buildroot
2025-11-17 19:51     ` Arnout Vandecappelle via buildroot
2025-09-06 17:03 ` [Buildroot] [PATCH 1/2] package/iozone: bump to version 3.508 Julien Olivain via buildroot

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