Skip to contentSkip to conversation

Revert "configs/qemu_ppc64*: downgrade binutils to 2.36.1"

PATCH Applied Cédric Le Goater 2 participants 4 messages Sep 24, 2022 – Sep 25, 2022 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "configs/qemu_ppc64*: downgrade binutils to 2.36.1"

This reverts commit 1e2fe860f3a261fc877591c056808d6fb30e25d4.

The default 2.38.x has the required fixes.

---

https://gitlab.com/legoater/buildroot/-/pipelines/649723598

 configs/qemu_ppc64_e5500_defconfig      | 1 -
 configs/qemu_ppc64_pseries_defconfig    | 1 -
 configs/qemu_ppc64le_powernv8_defconfig | 1 -
 configs/qemu_ppc64le_pseries_defconfig  | 1 -
 4 files changed, 4 deletions(-)
configs/qemu_ppc64_e5500_defconfig +0 -1
index 8458f2739a66..0825d0ab9b30 100644
@@ -3,7 +3,6 @@ BR2_powerpc64=y
 BR2_powerpc_e5500=y
 
 # System
-BR2_BINUTILS_VERSION_2_36_X=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 
configs/qemu_ppc64_pseries_defconfig +0 -1
index 480ebea29d70..c45014f2ac3f 100644
@@ -3,7 +3,6 @@ BR2_powerpc64=y
 BR2_powerpc_power7=y
 
 # System
-BR2_BINUTILS_VERSION_2_36_X=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 
configs/qemu_ppc64le_powernv8_defconfig +0 -1
index 8de4cf5189b5..822145e927a1 100644
@@ -3,7 +3,6 @@ BR2_powerpc64le=y
 BR2_powerpc_power8=y
 
 # System
-BR2_BINUTILS_VERSION_2_36_X=y
 BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 BR2_SYSTEM_DHCP="eth0"
 
configs/qemu_ppc64le_pseries_defconfig +0 -1
index 98c6afdf9399..5eaa3e953f78 100644
@@ -3,7 +3,6 @@ BR2_powerpc64le=y
 BR2_powerpc_power8=y
 
 # System
-BR2_BINUTILS_VERSION_2_36_X=y
 BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 BR2_SYSTEM_DHCP="eth0"
 
Signature · 6 lines
2.37.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Cédric, All,

On 2022-09-24 23:41 +0200, Cédric Le Goater spake thusly:

Quoted 1 line

This reverts commit 1e2fe860f3a261fc877591c056808d6fb30e25d4.

This is not really a revert, so I did some changes:

- explictily force binutils 2.38
- reword commit log to explain why
- reword commit log: it's not really a revert

Quoted 3 lines

The default 2.38.x has the required fixes.

Applied to master with the above changes, thanks.

Regards,
Yann E. MORIN.

Quoted 65 lines

---

https://gitlab.com/legoater/buildroot/-/pipelines/649723598

 configs/qemu_ppc64_e5500_defconfig      | 1 -
 configs/qemu_ppc64_pseries_defconfig    | 1 -
 configs/qemu_ppc64le_powernv8_defconfig | 1 -
 configs/qemu_ppc64le_pseries_defconfig  | 1 -
 4 files changed, 4 deletions(-)
configs/qemu_ppc64_e5500_defconfig +0 -1
index 8458f2739a66..0825d0ab9b30 100644
@@ -3,7 +3,6 @@ BR2_powerpc64=y
 BR2_powerpc_e5500=y
 
 # System
-BR2_BINUTILS_VERSION_2_36_X=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 
configs/qemu_ppc64_pseries_defconfig +0 -1
index 480ebea29d70..c45014f2ac3f 100644
@@ -3,7 +3,6 @@ BR2_powerpc64=y
 BR2_powerpc_power7=y
 
 # System
-BR2_BINUTILS_VERSION_2_36_X=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 
configs/qemu_ppc64le_powernv8_defconfig +0 -1
index 8de4cf5189b5..822145e927a1 100644
@@ -3,7 +3,6 @@ BR2_powerpc64le=y
 BR2_powerpc_power8=y
 
 # System
-BR2_BINUTILS_VERSION_2_36_X=y
 BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 BR2_SYSTEM_DHCP="eth0"
 
configs/qemu_ppc64le_pseries_defconfig +0 -1
index 98c6afdf9399..5eaa3e953f78 100644
@@ -3,7 +3,6 @@ BR2_powerpc64le=y
 BR2_powerpc_power8=y
 
 # System
-BR2_BINUTILS_VERSION_2_36_X=y
 BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 BR2_SYSTEM_DHCP="eth0"
 
Signature · 6 lines
2.37.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 6 lines · Yann E. MORIN

Cédric, All,

On 2022-09-24 23:41 +0200, Cédric Le Goater spake thusly:

Quoted 1 line

This reverts commit 1e2fe860f3a261fc877591c056808d6fb30e25d4.

This is not really a revert,

This is the result of the command :

git revert -s 1e2fe860f3a2

So it is "really" a revert :)

Quoted 3 lines

so I did some changes:

- explictily force binutils 2.38

I guess this is to make sure that 2.37 is not selected but when the current 2.38 is deprecated, all defconfigs will require an update. Since the default works fine, I don't think it is worth adding an extra dependency (until next breakage) or we could use a !2.37 dependency instead. I am not sure if this is possible though.

Quoted 1 line

- reword commit log to explain why

ok but that's in commit 1e2fe860f3a2 already. As you wish.

Quoted 8 lines

- reword commit log: it's not really a revert

Quoted 3 lines

The default 2.38.x has the required fixes.

Applied to master with the above changes, thanks.

Thanks,

C.

Quoted 61 lines

Regards,
Yann E. MORIN.

Quoted 58 lines

---

https://gitlab.com/legoater/buildroot/-/pipelines/649723598

  configs/qemu_ppc64_e5500_defconfig      | 1 -
  configs/qemu_ppc64_pseries_defconfig    | 1 -
  configs/qemu_ppc64le_powernv8_defconfig | 1 -
  configs/qemu_ppc64le_pseries_defconfig  | 1 -
  4 files changed, 4 deletions(-)
configs/qemu_ppc64_e5500_defconfig +0 -1
index 8458f2739a66..0825d0ab9b30 100644
@@ -3,7 +3,6 @@ BR2_powerpc64=y
  BR2_powerpc_e5500=y
 
  # System
-BR2_BINUTILS_VERSION_2_36_X=y
  BR2_SYSTEM_DHCP="eth0"
  BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 
configs/qemu_ppc64_pseries_defconfig +0 -1
index 480ebea29d70..c45014f2ac3f 100644
@@ -3,7 +3,6 @@ BR2_powerpc64=y
  BR2_powerpc_power7=y
 
  # System
-BR2_BINUTILS_VERSION_2_36_X=y
  BR2_SYSTEM_DHCP="eth0"
  BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 
configs/qemu_ppc64le_powernv8_defconfig +0 -1
index 8de4cf5189b5..822145e927a1 100644
@@ -3,7 +3,6 @@ BR2_powerpc64le=y
  BR2_powerpc_power8=y
 
  # System
-BR2_BINUTILS_VERSION_2_36_X=y
  BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
  BR2_SYSTEM_DHCP="eth0"
 
configs/qemu_ppc64le_pseries_defconfig +0 -1
index 98c6afdf9399..5eaa3e953f78 100644
@@ -3,7 +3,6 @@ BR2_powerpc64le=y
  BR2_powerpc_power8=y
 
  # System
-BR2_BINUTILS_VERSION_2_36_X=y
  BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
  BR2_SYSTEM_DHCP="eth0"
 
Quoted 8 lines
Quoted 7 lines
Signature · 6 lines
2.37.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

Cédric, All,

On 2022-09-25 15:20 +0200, Cédric Le Goater spake thusly:

Quoted 7 lines · Yann E. MORIN
Quoted 3 lines

On 2022-09-24 23:41 +0200, Cédric Le Goater spake thusly:

Quoted 1 line

This reverts commit 1e2fe860f3a261fc877591c056808d6fb30e25d4.

This is not really a revert,

This is the result of the command :
git revert -s 1e2fe860f3a2
So it is "really" a revert :)

Yes, it is a git-revert, i.e. ity is a tchnical revert.

However, a git-revert really means "that commit was wrong back at the time, undo it". But in this case, the commit was correct, so we do not want to git-revert it; at least, we do not want to inscribe in our git log that this is a revert.

Instead, the conditions around have changed, which allows using the old "code" (defconfig values in this case) again.

Quoted 8 lines
Quoted 2 lines

so I did some changes:
- explictily force binutils 2.38

I guess this is to make sure that 2.37 is not selected but when the current 2.38 is deprecated, all defconfigs will require an update. Since the default works fine, I don't think it is worth adding an extra dependency (until next breakage) or we could use a !2.37 dependency instead. I am not sure if this is possible though.

When we drop 2.38, having it referenced in the defconfig will help us notice that something must be taken care of, and looking at the git log will help us take a decision (keep the version around, bump the defconfig, etc..)

In the defconfigs, we do not want to use the defaults; we want to use explicit versions.

Granted, this is not always enforced, and the defconfigs we have are of variable level of using explicit versions even if the default; this is mostly the case for the kernel headers, though.

Regards,
Yann E. MORIN.

Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot