Skip to contentSkip to conversation

package/gnu-efi: disable on mips64el

PATCH Applied Thomas Petazzoni via buildroot 3 participants 3 messages Sep 30, 2023 – Oct 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gnu-efi: disable on mips64el

The gnu-efi package was enabled on mips64el by commit 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add mips64el support"). However, it has been failing to build for a long time, and nobody bothered fixing it:

gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format

Even reverting back to gnu-efi 3.0.10, which was the version used at the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the issue. We tested updating to the latest gnu-efi version, 3.0.17, and the problem still exists.

Since EFI on MIPS is extremely niche, we don't really want to invest the time to fix this issue, so let's disable it again. If someone cares enough, it can be fixed and re-enabled.

Fixes:

http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/

---
 package/gnu-efi/Config.in  | 1 -
 package/gnu-efi/gnu-efi.mk | 2 --
 2 files changed, 3 deletions(-)
package/gnu-efi/Config.in +0 -1
index 8e35fddbcb..d456a23837 100644
@@ -4,7 +4,6 @@ config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
 	default y if BR2_aarch64
 	default y if BR2_aarch64_be
 	default y if BR2_i386
-	default y if BR2_mips64el
 	default y if BR2_x86_64
 
 config BR2_PACKAGE_GNU_EFI
package/gnu-efi/gnu-efi.mk +0 -2
index 93b5888370..686a14be01 100644
@@ -24,8 +24,6 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y)
 GNU_EFI_PLATFORM = arm
 else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
 GNU_EFI_PLATFORM = aarch64
-else ifeq ($(BR2_mips64el),y)
-GNU_EFI_PLATFORM = mips64el
 endif
 
 GNU_EFI_MAKE_OPTS = \
Signature · 6 lines
2.41.0

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

Thomas, All,

On 2023-09-30 12:23 +0200, Thomas Petazzoni via buildroot spake thusly:

Quoted 16 lines

The gnu-efi package was enabled on mips64el by commit 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add mips64el support"). However, it has been failing to build for a long time, and nobody bothered fixing it:

gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format

Even reverting back to gnu-efi 3.0.10, which was the version used at the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the issue. We tested updating to the latest gnu-efi version, 3.0.17, and the problem still exists.

Since EFI on MIPS is extremely niche, we don't really want to invest the time to fix this issue, so let's disable it again. If someone cares enough, it can be fixed and re-enabled.

Quoted 5 lines

Fixes:

http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 37 lines
---
 package/gnu-efi/Config.in  | 1 -
 package/gnu-efi/gnu-efi.mk | 2 --
 2 files changed, 3 deletions(-)
package/gnu-efi/Config.in +0 -1
index 8e35fddbcb..d456a23837 100644
@@ -4,7 +4,6 @@ config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
 	default y if BR2_aarch64
 	default y if BR2_aarch64_be
 	default y if BR2_i386
-	default y if BR2_mips64el
 	default y if BR2_x86_64
 
 config BR2_PACKAGE_GNU_EFI
package/gnu-efi/gnu-efi.mk +0 -2
index 93b5888370..686a14be01 100644
@@ -24,8 +24,6 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y)
 GNU_EFI_PLATFORM = arm
 else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
 GNU_EFI_PLATFORM = aarch64
-else ifeq ($(BR2_mips64el),y)
-GNU_EFI_PLATFORM = mips64el
 endif
 
 GNU_EFI_MAKE_OPTS = \
Signature · 6 lines
2.41.0

_______________________________________________
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
In reply to Thomas Petazzoni via buildroot
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

The gnu-efi package was enabled on mips64el by commit 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add mips64el support"). However, it has been failing to build for a long time, and nobody bothered fixing it:

gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format

Even reverting back to gnu-efi 3.0.10, which was the version used at the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the issue. We tested updating to the latest gnu-efi version, 3.0.17, and the problem still exists.

Since EFI on MIPS is extremely niche, we don't really want to invest the time to fix this issue, so let's disable it again. If someone cares enough, it can be fixed and re-enabled.

Quoted 5 lines

Fixes:

http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/

Committed to 2023.02.x and 2023.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot