config/arm: correct cpu arch for cross build
Subsystems (2)
PATCH 1/1 config/arm: correct cpu arch for cross build
The cn10k cross build file sets cpu to 'armv8.6-a' while N2 is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controls machine_args for march. Then correct the value in arm cross files to 'auto'.
--- config/arm/arm32_armv8_linux_gcc | 2 +- config/arm/arm64_armada_linux_gcc | 2 +- config/arm/arm64_armv8_linux_clang_ubuntu | 2 +- config/arm/arm64_armv8_linux_gcc | 2 +- config/arm/arm64_bluefield_linux_gcc | 2 +- config/arm/arm64_centriq2400_linux_gcc | 2 +- config/arm/arm64_cn10k_linux_gcc | 2 +- config/arm/arm64_cn9k_linux_gcc | 2 +- config/arm/arm64_dpaa_linux_gcc | 2 +- config/arm/arm64_emag_linux_gcc | 2 +- config/arm/arm64_ft2000plus_linux_gcc | 2 +- config/arm/arm64_graviton2_linux_gcc | 2 +- config/arm/arm64_graviton3_linux_gcc | 2 +- config/arm/arm64_kunpeng920_linux_gcc | 2 +- config/arm/arm64_kunpeng930_linux_gcc | 2 +- config/arm/arm64_n1sdp_linux_gcc | 2 +- config/arm/arm64_n2_linux_gcc | 2 +- config/arm/arm64_stingray_linux_gcc | 2 +- config/arm/arm64_thunderx2_linux_gcc | 2 +- config/arm/arm64_thunderxt83_linux_gcc | 2 +- config/arm/arm64_thunderxt88_linux_gcc | 2 +- config/arm/arm64_tys2500_linux_gcc | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-)
config/arm/arm32_armv8_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch32' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armada_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armv8_linux_clang_ubuntu +1 -1
@@ -10,7 +10,7 @@ pkgconfig = 'aarch64-linux-gnu-pkg-config' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armv8_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_bluefield_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_centriq2400_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cn10k_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.6-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cn9k_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_dpaa_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_emag_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_ft2000plus_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_graviton2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_graviton3_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_kunpeng920_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_kunpeng930_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_n1sdp_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_n2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_stingray_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderx2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderxt83_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderxt88_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_tys2500_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
Signature · 1 line
2.25.1
22/08/2023 09:47, Joyce Kong:
Quoted 5 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while N2 is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then correct the value in arm cross files to 'auto'.
I don't get it.
Why setting a value if it has no impact?
Looks like something is overcomplicated.
Quoted 15 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Wednesday, October 18, 2023 3:42 AM
To: Joyce Kong <[email protected]>
Cc: Ruifeng Wang <[email protected]>; Bruce Richardson <[email protected]>; [email protected]; nd <[email protected]>
Subject: Re: [PATCH v1] config/arm: correct cpu arch for cross build22/08/2023 09:47, Joyce Kong:
Quoted 5 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while N2 is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then correct the value in arm cross files to 'auto'.
Quoted 4 lines
I don't get it.
Why setting a value if it has no impact? Looks like something is overcomplicated.
We still have to declare them here because meson would check the 'cpu' line in the config file, otherwise it would report missing {'cpu'}.
18/10/2023 07:40, Joyce Kong:
Quoted 8 lines
Quoted 8 lines
From: Thomas Monjalon <[email protected]>
22/08/2023 09:47, Joyce Kong:Quoted 5 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while N2 is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then correct the value in arm cross files to 'auto'.
Quoted 5 lines
Quoted 4 lines
I don't get it.
Why setting a value if it has no impact?
Looks like something is overcomplicated.We still have to declare them here because meson would check the 'cpu' line in the config file, otherwise it would report missing {'cpu'}.
OK
Then why not all cross files are set to auto?
Quoted 23 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Monday, November 6, 2023 10:10 PM
To: Ruifeng Wang <[email protected]>; Joyce Kong <[email protected]>
Cc: [email protected]; Bruce Richardson <[email protected]>; [email protected]; nd <[email protected]>; Paul Szczepanek <[email protected]>
Subject: Re: [PATCH v1] config/arm: correct cpu arch for cross build18/10/2023 07:40, Joyce Kong:
Quoted 12 lines
Quoted 12 lines
From: Thomas Monjalon <[email protected]>
22/08/2023 09:47, Joyce Kong:Quoted 5 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while N2 is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then correct the value in arm cross files to 'auto'.I don't get it.
Why setting a value if it has no impact?
Looks like something is overcomplicated.
Quoted 7 lines
Quoted 1 line
We still have to declare them here because meson would check the 'cpu'
line in the config file, otherwise it would report missing {'cpu'}.
OK
Then why not all cross files are set to auto?
Actually, I set all the Arm cross files to auto in this patch. Maybe I have to figure it out in the commit line?
06/11/2023 15:31, Joyce Kong:
Quoted 23 lines
Quoted 23 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Monday, November 6, 2023 10:10 PM
To: Ruifeng Wang <[email protected]>; Joyce Kong <[email protected]>
Cc: [email protected]; Bruce Richardson <[email protected]>; [email protected]; nd <[email protected]>; Paul Szczepanek <[email protected]>
Subject: Re: [PATCH v1] config/arm: correct cpu arch for cross build18/10/2023 07:40, Joyce Kong:
Quoted 12 lines
Quoted 12 lines
From: Thomas Monjalon <[email protected]>
22/08/2023 09:47, Joyce Kong:Quoted 5 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while N2 is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then correct the value in arm cross files to 'auto'.I don't get it.
Why setting a value if it has no impact?
Looks like something is overcomplicated.
Quoted 8 lines
Quoted 7 lines
Quoted 1 line
We still have to declare them here because meson would check the 'cpu'
line in the config file, otherwise it would report missing {'cpu'}.
OK
Then why not all cross files are set to auto?
Actually, I set all the Arm cross files to auto in this patch. Maybe I have to figure it out in the commit line?
What about these ones?
git grep 'cpu = ' config/arm | grep -v auto
config/arm/arm64_altra_linux_gcc:cpu = 'armv8.2-a' config/arm/arm64_ampereone_linux_gcc:cpu = 'armv8.6-a' config/arm/arm64_bluefield3_linux_gcc:cpu = 'armv8.4-a' config/arm/arm64_cdx_linux_gcc:cpu = 'armv8-a' config/arm/arm64_hip10_linux_gcc:cpu = 'armv8-a'
Quoted 45 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Monday, November 6, 2023 11:38 PM
To: Ruifeng Wang <[email protected]>
Cc: [email protected]; Bruce Richardson <[email protected]>; nd <[email protected]>; Paul Szczepanek <[email protected]>; Joyce Kong <[email protected]>
Subject: Re: [PATCH v1] config/arm: correct cpu arch for cross build06/11/2023 15:31, Joyce Kong:
Quoted 23 lines
Quoted 23 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Monday, November 6, 2023 10:10 PM
To: Ruifeng Wang <[email protected]>; Joyce Kong <[email protected]>
Cc: [email protected]; Bruce Richardson <[email protected]>; [email protected]; nd <[email protected]>; Paul Szczepanek <[email protected]>
Subject: Re: [PATCH v1] config/arm: correct cpu arch for cross build18/10/2023 07:40, Joyce Kong:
Quoted 12 lines
Quoted 12 lines
From: Thomas Monjalon <[email protected]>
22/08/2023 09:47, Joyce Kong:Quoted 5 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while N2 is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then correct the value in arm cross files to 'auto'.I don't get it.
Why setting a value if it has no impact?
Looks like something is overcomplicated.Quoted 8 lines
Quoted 7 lines
Quoted 1 line
We still have to declare them here because meson would check the 'cpu'
line in the config file, otherwise it would report missing {'cpu'}.
OK
Then why not all cross files are set to auto?
Actually, I set all the Arm cross files to auto in this patch. Maybe I have to
figure it out in the commit line?
What about these ones?
Quoted 9 lines
git grep 'cpu = ' config/arm | grep -v auto
config/arm/arm64_altra_linux_gcc:cpu = 'armv8.2-a' config/arm/arm64_ampereone_linux_gcc:cpu = 'armv8.6-a' config/arm/arm64_bluefield3_linux_gcc:cpu = 'armv8.4-a' config/arm/arm64_cdx_linux_gcc:cpu = 'armv8-a' config/arm/arm64_hip10_linux_gcc:cpu = 'armv8-a'
Really sorry for missing them as I didn't update the version, I shall correct them in next patch.
PATCH v2 1/1 config/arm: correct cpu arch for cross build
In reply to Joyce KongThe cn10k cross build file sets cpu to 'armv8.6-a' while it is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controls machine_args for march. Then correct the value in arm cross files to 'auto'.
--- config/arm/arm32_armv8_linux_gcc | 2 +- config/arm/arm64_altra_linux_gcc | 2 +- config/arm/arm64_ampereone_linux_gcc | 2 +- config/arm/arm64_armada_linux_gcc | 2 +- config/arm/arm64_armv8_linux_clang_ubuntu | 2 +- config/arm/arm64_armv8_linux_gcc | 2 +- config/arm/arm64_bluefield3_linux_gcc | 2 +- config/arm/arm64_bluefield_linux_gcc | 2 +- config/arm/arm64_cdx_linux_gcc | 2 +- config/arm/arm64_centriq2400_linux_gcc | 2 +- config/arm/arm64_cn10k_linux_gcc | 2 +- config/arm/arm64_cn9k_linux_gcc | 2 +- config/arm/arm64_dpaa_linux_gcc | 2 +- config/arm/arm64_emag_linux_gcc | 2 +- config/arm/arm64_ft2000plus_linux_gcc | 2 +- config/arm/arm64_graviton2_linux_gcc | 2 +- config/arm/arm64_graviton3_linux_gcc | 2 +- config/arm/arm64_hip10_linux_gcc | 2 +- config/arm/arm64_kunpeng920_linux_gcc | 2 +- config/arm/arm64_kunpeng930_linux_gcc | 2 +- config/arm/arm64_n1sdp_linux_gcc | 2 +- config/arm/arm64_n2_linux_gcc | 2 +- config/arm/arm64_stingray_linux_gcc | 2 +- config/arm/arm64_thunderx2_linux_gcc | 2 +- config/arm/arm64_thunderxt83_linux_gcc | 2 +- config/arm/arm64_thunderxt88_linux_gcc | 2 +- config/arm/arm64_tys2500_linux_gcc | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-)
config/arm/arm32_armv8_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch32' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_altra_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.2-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_ampereone_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.6-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armada_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armv8_linux_clang_ubuntu +1 -1
@@ -10,7 +10,7 @@ pkgconfig = 'aarch64-linux-gnu-pkg-config' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armv8_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_bluefield3_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.4-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_bluefield_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cdx_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_centriq2400_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cn10k_linux_gcc +1 -1
@@ -10,7 +10,7 @@ cmake = 'cmake' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.6-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cn9k_linux_gcc +1 -1
@@ -10,7 +10,7 @@ cmake = 'cmake' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_dpaa_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_emag_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_ft2000plus_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_graviton2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_graviton3_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_hip10_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_kunpeng920_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_kunpeng930_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_n1sdp_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_n2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_stingray_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderx2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderxt83_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderxt88_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_tys2500_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
Signature · 1 line
2.25.1
07/11/2023 04:26, Joyce Kong:
Quoted 8 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while it is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then correct the value in arm cross files to 'auto'.Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>
It generates this error:
config/meson.build:178:8: ERROR: Problem encountered:
Compiler does not support "native" arch flag.
Quoted 17 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Sunday, November 12, 2023 8:54 PM
To: Ruifeng Wang <[email protected]>; Joyce Kong <[email protected]>
Cc: [email protected]; [email protected]; nd <[email protected]>
Subject: Re: [PATCH v2] config/arm: correct cpu arch for cross build07/11/2023 04:26, Joyce Kong:
Quoted 6 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while it is armv8.5-a arch.
The cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then correct the value in arm cross files to 'auto'.
Quoted 8 lines
Quoted 2 lines
Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>It generates this error:
config/meson.build:178:8: ERROR: Problem encountered:
Compiler does not support "native" arch flag.
Hi Thomas, are there any changes for CI recently?
I checked the log, it seemed CI triggering a wrong configuration for cross compiling, not related to this patch. I shall rebase the patch and send out V3, and we can see whether CI still fails.
PATCH v3 1/1 config/arm: correct cpu arch for cross build
In reply to Joyce KongThe cn10k cross build file sets cpu to 'armv8.6-a' while it is armv8.5-a arch.
Meanwhile, the cpu field in the cross file doesn't take effect as config/arm/meson.build controls machine_args for march. Then change the 'cpu' value in all arm cross files to 'auto'.
--- config/arm/arm32_armv8_linux_gcc | 2 +- config/arm/arm64_altra_linux_gcc | 2 +- config/arm/arm64_ampereone_linux_gcc | 2 +- config/arm/arm64_armada_linux_gcc | 2 +- config/arm/arm64_armv8_linux_clang_ubuntu | 2 +- config/arm/arm64_armv8_linux_gcc | 2 +- config/arm/arm64_bluefield3_linux_gcc | 2 +- config/arm/arm64_bluefield_linux_gcc | 2 +- config/arm/arm64_cdx_linux_gcc | 2 +- config/arm/arm64_centriq2400_linux_gcc | 2 +- config/arm/arm64_cn10k_linux_gcc | 2 +- config/arm/arm64_cn9k_linux_gcc | 2 +- config/arm/arm64_dpaa_linux_gcc | 2 +- config/arm/arm64_emag_linux_gcc | 2 +- config/arm/arm64_ft2000plus_linux_gcc | 2 +- config/arm/arm64_graviton2_linux_gcc | 2 +- config/arm/arm64_graviton3_linux_gcc | 2 +- config/arm/arm64_hip10_linux_gcc | 2 +- config/arm/arm64_kunpeng920_linux_gcc | 2 +- config/arm/arm64_kunpeng930_linux_gcc | 2 +- config/arm/arm64_n1sdp_linux_gcc | 2 +- config/arm/arm64_n2_linux_gcc | 2 +- config/arm/arm64_stingray_linux_gcc | 2 +- config/arm/arm64_thunderx2_linux_gcc | 2 +- config/arm/arm64_thunderxt83_linux_gcc | 2 +- config/arm/arm64_thunderxt88_linux_gcc | 2 +- config/arm/arm64_tys2500_linux_gcc | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-)
config/arm/arm32_armv8_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch32' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_altra_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.2-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_ampereone_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.6-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armada_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armv8_linux_clang_ubuntu +1 -1
@@ -10,7 +10,7 @@ pkgconfig = 'aarch64-linux-gnu-pkg-config' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armv8_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_bluefield3_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.4-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_bluefield_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cdx_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_centriq2400_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cn10k_linux_gcc +1 -1
@@ -10,7 +10,7 @@ cmake = 'cmake' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.6-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cn9k_linux_gcc +1 -1
@@ -10,7 +10,7 @@ cmake = 'cmake' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_dpaa_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_emag_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_ft2000plus_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_graviton2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_graviton3_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_hip10_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_kunpeng920_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_kunpeng930_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_n1sdp_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_n2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_stingray_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderx2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderxt83_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderxt88_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_tys2500_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
Signature · 1 line
2.25.1
20/11/2023 10:24, Joyce Kong:
Quoted 9 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while it is armv8.5-a arch.
Meanwhile, the cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then change the 'cpu' value in all arm cross files to 'auto'.Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>
What did you change compared to v2?
Please take care of providing a changelog after "---"
I still see the same error on my machine:
config/meson.build:178:8: ERROR: Problem encountered:
Compiler does not support "native" arch flag.
Quoted 18 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Tuesday, November 21, 2023 12:55 AM
To: Joyce Kong <[email protected]>
Cc: Ruifeng Wang <[email protected]>; [email protected]; [email protected]; nd <[email protected]>
Subject: Re: [PATCH v3] config/arm: correct cpu arch for cross build20/11/2023 10:24, Joyce Kong:
Quoted 8 lines
The cn10k cross build file sets cpu to 'armv8.6-a' while it is armv8.5-a arch.
Meanwhile, the cpu field in the cross file doesn't take effect as config/arm/meson.build controlsmachine_argsfor march. Then change the 'cpu' value in all arm cross files to 'auto'.Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>
Quoted 7 lines
What did you change compared to v2?
Please take care of providing a changelog after "---"I still see the same error on my machine:
config/meson.build:178:8: ERROR: Problem encountered:
Compiler does not support "native" arch flag.
The patch "config: verify machine arch flag (b7676fcccab4) " introduces a verification for specified cpu_instruction_set.
When cpu set to 'auto' as my patch, the below code in config/meson.build changes it to 'native' and triggers the verification error. However, the platform couldn't be 'native' or 'generic' for cross build. Changing cpu_instruction_set from 'auto' to 'native' is unreasonable here. I would like to send a patch to move the below code to not cross build path.
"if platform == 'native'
if cpu_instruction_set == 'auto'
cpu_instruction_set = 'native'
endif
elif platform == 'generic'
if cpu_instruction_set == 'auto'
cpu_instruction_set = 'generic'
endif
endif"
And I would like to update cpu value in the cross file to aarch64 instead of auto, to avoid any further possible verification.
v4 cover config changes for cross build
In reply to Joyce KongThe patch series implement two changes for cross build. The first one is to correct cpu instruction set. And the second one is to use a common cpu arch for cross files.
---
V4:
* Add patch to correct cpu instruction set for cross build.
v3:
* Rebase the patch to use a common cpu arch for cross files.
v2:
* Add the missing cross files which are not changed to use the common cpu arch in v1.
---
Joyce Kong (2):
config: correct cpu instruction set for cross build config/arm: use common cpu arch for cross files
config/arm/arm32_armv8_linux_gcc | 2 +- config/arm/arm64_altra_linux_gcc | 2 +- config/arm/arm64_ampereone_linux_gcc | 2 +- config/arm/arm64_armada_linux_gcc | 2 +- config/arm/arm64_armv8_linux_clang_ubuntu | 2 +- config/arm/arm64_armv8_linux_gcc | 2 +- config/arm/arm64_bluefield3_linux_gcc | 2 +- config/arm/arm64_bluefield_linux_gcc | 2 +- config/arm/arm64_cdx_linux_gcc | 2 +- config/arm/arm64_centriq2400_linux_gcc | 2 +- config/arm/arm64_cn10k_linux_gcc | 2 +- config/arm/arm64_cn9k_linux_gcc | 2 +- config/arm/arm64_dpaa_linux_gcc | 2 +- config/arm/arm64_emag_linux_gcc | 2 +- config/arm/arm64_ft2000plus_linux_gcc | 2 +- config/arm/arm64_graviton2_linux_gcc | 2 +- config/arm/arm64_graviton3_linux_gcc | 2 +- config/arm/arm64_hip10_linux_gcc | 2 +- config/arm/arm64_kunpeng920_linux_gcc | 2 +- config/arm/arm64_kunpeng930_linux_gcc | 2 +- config/arm/arm64_n1sdp_linux_gcc | 2 +- config/arm/arm64_n2_linux_gcc | 2 +- config/arm/arm64_stingray_linux_gcc | 2 +- config/arm/arm64_thunderx2_linux_gcc | 2 +- config/arm/arm64_thunderxt83_linux_gcc | 2 +- config/arm/arm64_thunderxt88_linux_gcc | 2 +- config/arm/arm64_tys2500_linux_gcc | 2 +- config/meson.build | 11 ++++++----- 28 files changed, 33 insertions(+), 32 deletions(-)
Signature · 1 line
2.25.1
PATCH v4 1/2 config: correct cpu instruction set for cross build
The platform value would be 'native' only when not cross build. Move the operation about modifying cpu_instruction_set while platform equals 'native' to the not cross build branch.
--- config/meson.build | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
config/meson.build +6 -5
@@ -121,13 +121,14 @@ else cpu_instruction_set = 'generic' endif endif + if platform == 'native' + if cpu_instruction_set == 'auto' + cpu_instruction_set = 'native' + endif + endif endif -if platform == 'native' - if cpu_instruction_set == 'auto' - cpu_instruction_set = 'native' - endif -elif platform == 'generic' +if platform == 'generic' if cpu_instruction_set == 'auto' cpu_instruction_set = 'generic' endif
Signature · 1 line
2.25.1
Re: [PATCH v4 1/2] config: correct cpu instruction set for cross build
Quoted 9 lines · On Tue, 5 Dec 2023 03:52:58 +0000 Joyce Kong <[email protected]> wrote:
The platform value would be 'native' only when not cross build. Move the operation about modifying
cpu_instruction_setwhile platform equals 'native' to the not cross build branch.Fixes bf66003b51ec ("build: use platform for generic and native builds")Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>
Looks right, what is the impact on existing users doing current cross builds?
RE: [PATCH v4 1/2] config: correct cpu instruction set for cross build
Quoted 16 lines
-----Original Message-----
From: Stephen Hemminger <[email protected]>
Sent: Friday, December 8, 2023 6:41 AM
To: Joyce Kong <[email protected]>
Cc: [email protected]; Ruifeng Wang <[email protected]>; [email protected]; [email protected]; nd <[email protected]>; [email protected]
Subject: Re: [PATCH v4 1/2] config: correct cpu instruction set for cross buildQuoted 4 lines · On Tue, 5 Dec 2023 03:52:58 +0000 Joyce Kong <[email protected]> wrote:
The platform value would be 'native' only when not cross build. Move the operation about modifying
cpu_instruction_setwhile platform equals 'native' to the not cross build branch.
Quoted 8 lines
Quoted 6 lines
Fixes bf66003b51ec ("build: use platform for generic and nativebuilds")
Cc: [email protected]Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>Looks right, what is the impact on existing users doing current cross builds?
The original operation changes cpu_instruction_set to 'native' when both 'platform == native' and 'cpu_instruction_set == auto'.
There was no impact on the existing users for current cross build, as the cross files set cpu field to a specific arch, such as 'armv8-a', and this didn't trigger the modification for cpu_instruction_set.
However, if we want to use a common arch in cross files like 'auto', the modification operation would override 'native' value to cpu_instruction_set and b7676fcccab4 ("config: verify machine arch flag") would break the build as it tries to test -march=native.
Quoted 2 lines
Pavan Nikhilesh Bhagavatula
Tested-byRE: [PATCH v4 1/2] config: correct cpu instruction set for cross build
Quoted 41 lines
-----Original Message-----
From: Joyce Kong <[email protected]>
Sent: Friday, December 8, 2023 8:21 AM
To: Stephen Hemminger <[email protected]>
Cc: [email protected]; Ruifeng Wang <[email protected]>; [email protected]; [email protected]; nd <[email protected]>; [email protected]
Subject: [EXT] RE: [PATCH v4 1/2] config: correct cpu instruction set for cross buildExternal Email
----------------------------------------------------------------------
Quoted 8 lines
-----Original Message-----
From: Stephen Hemminger <[email protected]>
Sent: Friday, December 8, 2023 6:41 AM
To: Joyce Kong <[email protected]>
Cc: [email protected]; Ruifeng Wang <[email protected]>; [email protected]; [email protected]; nd <[email protected]>; [email protected]
Subject: Re: [PATCH v4 1/2] config: correct cpu instruction set for crossbuild
Quoted 8 lines
Quoted 4 lines · On Tue, 5 Dec 2023 03:52:58 +0000 Joyce Kong <[email protected]> wrote:
The platform value would be 'native' only when not cross build. Move the operation about modifying
cpu_instruction_setwhile platform equals 'native' to the not cross build branch.Quoted 8 lines
Quoted 6 lines
Fixes bf66003b51ec ("build: use platform for generic and nativebuilds")
Cc: [email protected]Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>Looks right, what is the impact on existing users doing current cross builds?
Quoted 12 lines
The original operation changes
cpu_instruction_setto 'native' when both 'platform == native' and 'cpu_instruction_set== auto'.
There was no impact on the existing users for current cross build, as the cross files set cpu field to a specific arch, such as 'armv8-a', and this didn't trigger the modification forcpu_instruction_set.
However, if we want to use a common arch in cross files like 'auto', the modification operation would override 'native' value tocpu_instruction_setandb7676fcccab4("config: verify machine arch flag") would break the build as it tries to test -march=native.Quoted 2 lines
Re: [PATCH v4 1/2] config: correct cpu instruction set for cross build
Quoted 24 lines
Quoted 24 lines
Quoted 4 lines
Quoted 4 lines
The platform value would be 'native' only when not cross build. Move the operation about modifying
cpu_instruction_setwhile platform equals 'native' to the not cross build branch.Quoted 8 lines
Quoted 6 lines
Fixes bf66003b51ec ("build: use platform for generic and nativebuilds")
Cc: [email protected]Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>Looks right, what is the impact on existing users doing current cross builds?
The original operation changes
cpu_instruction_setto 'native' when both 'platform == native' and 'cpu_instruction_set== auto'.
There was no impact on the existing users for current cross build, as the cross files set cpu field to a specific arch, such as 'armv8-a', and this didn't trigger the modification forcpu_instruction_set.
However, if we want to use a common arch in cross files like 'auto', the modification operation would override 'native' value tocpu_instruction_setandb7676fcccab4("config: verify machine arch flag") would break the build as it tries to test -march=native.Quoted 1 line
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Tested-by Pavan Nikhilesh <[email protected]>
Applied without the second patch of the series, thanks.
PATCH v4 2/2 config/arm: use common cpu arch for cross files
In reply to Joyce KongThe cpu info in some cross files is inconsistent with that in SoC flags. The mismatch doesn't cause any issue because the cpu field in the cross file takes no effect and machine_args in config/arm/meson.build actually works. Use a common one in cross files to remove any confusion.
--- config/arm/arm32_armv8_linux_gcc | 2 +- config/arm/arm64_altra_linux_gcc | 2 +- config/arm/arm64_ampereone_linux_gcc | 2 +- config/arm/arm64_armada_linux_gcc | 2 +- config/arm/arm64_armv8_linux_clang_ubuntu | 2 +- config/arm/arm64_armv8_linux_gcc | 2 +- config/arm/arm64_bluefield3_linux_gcc | 2 +- config/arm/arm64_bluefield_linux_gcc | 2 +- config/arm/arm64_cdx_linux_gcc | 2 +- config/arm/arm64_centriq2400_linux_gcc | 2 +- config/arm/arm64_cn10k_linux_gcc | 2 +- config/arm/arm64_cn9k_linux_gcc | 2 +- config/arm/arm64_dpaa_linux_gcc | 2 +- config/arm/arm64_emag_linux_gcc | 2 +- config/arm/arm64_ft2000plus_linux_gcc | 2 +- config/arm/arm64_graviton2_linux_gcc | 2 +- config/arm/arm64_graviton3_linux_gcc | 2 +- config/arm/arm64_hip10_linux_gcc | 2 +- config/arm/arm64_kunpeng920_linux_gcc | 2 +- config/arm/arm64_kunpeng930_linux_gcc | 2 +- config/arm/arm64_n1sdp_linux_gcc | 2 +- config/arm/arm64_n2_linux_gcc | 2 +- config/arm/arm64_stingray_linux_gcc | 2 +- config/arm/arm64_thunderx2_linux_gcc | 2 +- config/arm/arm64_thunderxt83_linux_gcc | 2 +- config/arm/arm64_thunderxt88_linux_gcc | 2 +- config/arm/arm64_tys2500_linux_gcc | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-)
config/arm/arm32_armv8_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch32' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_altra_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.2-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_ampereone_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.6-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armada_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'aarch64' endian = 'little' [properties]
config/arm/arm64_armv8_linux_clang_ubuntu +1 -1
@@ -10,7 +10,7 @@ pkgconfig = 'aarch64-linux-gnu-pkg-config' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_armv8_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_bluefield3_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.4-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_bluefield_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cdx_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_centriq2400_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cn10k_linux_gcc +1 -1
@@ -10,7 +10,7 @@ cmake = 'cmake' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8.6-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_cn9k_linux_gcc +1 -1
@@ -10,7 +10,7 @@ cmake = 'cmake' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_dpaa_linux_gcc +1 -1
@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_emag_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_ft2000plus_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_graviton2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_graviton3_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_hip10_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'aarch64' endian = 'little' [properties]
config/arm/arm64_kunpeng920_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_kunpeng930_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_n1sdp_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_n2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_stingray_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderx2_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderxt83_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_thunderxt88_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
config/arm/arm64_tys2500_linux_gcc +1 -1
@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto' endian = 'little' [properties]
Signature · 1 line
2.25.1
Re: [PATCH v4 2/2] config/arm: use common cpu arch for cross files
Quoted 9 lines · On Tue, 5 Dec 2023 03:52:59 +0000 Joyce Kong <[email protected]> wrote:
The cpu info in some cross files is inconsistent with that in SoC flags. The mismatch doesn't cause any issue because the cpu field in the cross file takes no effect and
machine_argsin config/arm/meson.build actually works. Use a common one in cross files to remove any confusion.Reported-by Honnappa Nagarahalli <[email protected]>Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>
Good to see consolidation instead of copy/paste.
Pavan Nikhilesh Bhagavatula
Tested-byRE: [EXT] Re: [PATCH v4 2/2] config/arm: use common cpu arch for cross files
Quoted 24 lines
-----Original Message-----
From: Stephen Hemminger <[email protected]>
Sent: Friday, December 8, 2023 4:12 AM
To: Joyce Kong <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Honnappa Nagarahalli <[email protected]>
Subject: [EXT] Re: [PATCH v4 2/2] config/arm: use common cpu arch for cross filesExternal Email
----------------------------------------------------------------------
Quoted 6 lines · On Tue, 5 Dec 2023 03:52:59 +0000 Joyce Kong <[email protected]> wrote:
The cpu info in some cross files is inconsistent with that in SoC flags. The mismatch doesn't cause any issue because the cpu field in the cross file takes no effect and
machine_argsin config/arm/meson.build actually works. Use a common one in cross files to remove any confusion.
Quoted 7 lines
Quoted 3 lines
Reported-by Honnappa Nagarahalli <[email protected]>Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>Good to see consolidation instead of copy/paste.
Re: [PATCH v4 2/2] config/arm: use common cpu arch for cross files
In reply to Joyce Kong05/12/2023 04:52, Joyce Kong:
Quoted 9 lines
The cpu info in some cross files is inconsistent with that in SoC flags. The mismatch doesn't cause any issue because the cpu field in the cross file takes no effect and
machine_argsin config/arm/meson.build actually works. Use a common one in cross files to remove any confusion.Reported-by Honnappa Nagarahalli <[email protected]>Signed-off-by Joyce Kong <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>
[...]
config/arm/arm64_armada_linux_gcc pcap-config = '' · line 13
Quoted 8 lines
config/arm/arm64_armada_linux_gcc +1
-1@@ -10,7 +10,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'aarch64'
Why aarch64 here and below?
Quoted 8 lines
config/arm/arm64_armv8_linux_clang_ubuntu +1
-1@@ -10,7 +10,7 @@ pkgconfig = 'aarch64-linux-gnu-pkg-config' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto'
[...]
Quoted 8 lines
config/arm/arm64_hip10_linux_gcc +1
-1@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'aarch64'
RE: [PATCH v4 2/2] config/arm: use common cpu arch for cross files
Hi Thomas,
Quoted 7 lines
Review
Quoted 5 lines
[
host_machine]
system = 'linux'
cpu_family= 'aarch64'(quoted diff) +1
-1-cpu = 'armv8-a' +cpu = 'aarch64'Why aarch64 here and below?
Joyce is no longer with Arm, and we have not been able to figure out this patch. I think the first patch of this series makes sense. This second patch to us looks like a nice to have, rather than something that fixes an issue. Therefore, we would like to pull this patch out of the series and leave first patch intact.
Any concerns/comments on that?
Quoted 21 lines
Quoted 9 lines
config/arm/arm64_armv8_linux_clang_ubuntu +1
-1@@ -10,7 +10,7 @@ pkgconfig = 'aarch64-linux-gnu-pkg-config' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'auto'[...]
Quoted 8 lines
config/arm/arm64_hip10_linux_gcc +1
-1@@ -9,7 +9,7 @@ pcap-config = '' [host_machine] system = 'linux' cpu_family = 'aarch64' -cpu = 'armv8-a' +cpu = 'aarch64'
Re: [PATCH v4 2/2] config/arm: use common cpu arch for cross files
22/02/2024 22:38, Wathsala Wathawana Vithanage:
Quoted 10 lines
Hi Thomas,
Quoted 7 lines
Review
Quoted 5 lines
[
host_machine]
system = 'linux'
cpu_family= 'aarch64'(quoted diff) +1
-1-cpu = 'armv8-a' +cpu = 'aarch64'Why aarch64 here and below?
Quoted 6 lines
Joyce is no longer with Arm, and we have not been able to figure out this patch. I think the first patch of this series makes sense. This second patch to us looks like a nice to have, rather than something that fixes an issue. Therefore, we would like to pull this patch out of the series and leave first patch intact.
Any concerns/comments on that?
OK
What will become this second patch?
RE: [PATCH v4 2/2] config/arm: use common cpu arch for cross files
Quoted 10 lines
Quoted 6 lines
Joyce is no longer with Arm, and we have not been able to figure out this patch. I think the first patch of this series makes sense. This second patch to us looks like a nice to have, rather than something that fixes an issue. Therefore, we would like to pull this patch out of the series and leave first patch intact.
Any concerns/comments on that?OK
What will become this second patch?
I will suppress patch 2/2.
Thanks.
RE: [PATCH v4 2/2] config/arm: use common cpu arch for cross files
Quoted 6 lines
Quoted 4 lines
OK
What will become this second patch?I will suppress patch 2/2.
Thanks.
I'm not allowed to suppress it, perhaps someone with admin privileges could do it.
Re: [PATCH v4 2/2] config/arm: use common cpu arch for cross files
06/03/2024 16:04, Wathsala Wathawana Vithanage:
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
OK
What will become this second patch?I will suppress patch 2/2.
Thanks.I'm not allowed to suppress it, perhaps someone with admin privileges could do it.
We don't suppress anything :)
I can change the status to rejected but why not continuing this cleanup?