Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/criu: disable i386
@ 2024-01-11 18:22 Fabrice Fontaine
  2024-01-11 19:25 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-01-11 18:22 UTC (permalink / raw)
  To: buildroot; +Cc: Marcus Folkesson, Fabrice Fontaine

Building for i386 raises the following build failure since the additon
of the package in commit 3e4b479f39c15ffdf307ec8395d856680c727204:

Makefile:23: *** "The architecture i386 isn't supported".  Stop.

Setting ARCH=x86 won't work either as it results in the following build
failure:

compel/arch/x86/plugins/std/memcpy.S: Assembler messages:
compel/arch/x86/plugins/std/memcpy.S:20: Error: bad register name `%rdi'
compel/arch/x86/plugins/std/memcpy.S:21: Error: bad register name `%rdx'
compel/arch/x86/plugins/std/memcpy.S:22: Error: `shrq' is only supported in 64-bit mode
compel/arch/x86/plugins/std/memcpy.S:24: Error: `movsq' is only supported in 64-bit mode
compel/arch/x86/plugins/std/syscalls/syscall-common-x86-64.S: Assembler messages:
compel/arch/x86/plugins/std/syscalls/syscall-common-x86-64.S:13: Error: bad register name `%rcx'
compel/arch/x86/plugins/std/syscalls/syscall-common-x86-64.S:19: Error: bad register name `%rax'

Fixes:
 - http://autobuild.buildroot.org/results/94cc463762b57efacf743d107a8dda7660a995a3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/criu/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/criu/Config.in b/package/criu/Config.in
index ff3bf30229..b3bb830768 100644
--- a/package/criu/Config.in
+++ b/package/criu/Config.in
@@ -6,7 +6,6 @@ config BR2_PACKAGE_CRIU_ARCH_SUPPORTS
 	default y if BR2_ARM_CPU_ARMV7M
 	default y if BR2_ARM_CPU_ARMV8A
 	default y if BR2_aarch64
-	default y if BR2_i386
 	default y if BR2_mips
 	default y if BR2_x86_64
 	default y if BR2_powerpc64le # Only support powerpc64 with LE
-- 
2.43.0

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

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

* Re: [Buildroot] [PATCH 1/1] package/criu: disable i386
  2024-01-11 18:22 [Buildroot] [PATCH 1/1] package/criu: disable i386 Fabrice Fontaine
@ 2024-01-11 19:25 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2024-01-11 19:25 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Marcus Folkesson, buildroot

Fabrice, All,

On 2024-01-11 19:22 +0100, Fabrice Fontaine spake thusly:
> Building for i386 raises the following build failure since the additon
> of the package in commit 3e4b479f39c15ffdf307ec8395d856680c727204:
> 
> Makefile:23: *** "The architecture i386 isn't supported".  Stop.
> 
> Setting ARCH=x86 won't work either as it results in the following build
> failure:
> 
> compel/arch/x86/plugins/std/memcpy.S: Assembler messages:
> compel/arch/x86/plugins/std/memcpy.S:20: Error: bad register name `%rdi'
> compel/arch/x86/plugins/std/memcpy.S:21: Error: bad register name `%rdx'
> compel/arch/x86/plugins/std/memcpy.S:22: Error: `shrq' is only supported in 64-bit mode
> compel/arch/x86/plugins/std/memcpy.S:24: Error: `movsq' is only supported in 64-bit mode
> compel/arch/x86/plugins/std/syscalls/syscall-common-x86-64.S: Assembler messages:
> compel/arch/x86/plugins/std/syscalls/syscall-common-x86-64.S:13: Error: bad register name `%rcx'
> compel/arch/x86/plugins/std/syscalls/syscall-common-x86-64.S:19: Error: bad register name `%rax'
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/94cc463762b57efacf743d107a8dda7660a995a3
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/criu/Config.in | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/package/criu/Config.in b/package/criu/Config.in
> index ff3bf30229..b3bb830768 100644
> --- a/package/criu/Config.in
> +++ b/package/criu/Config.in
> @@ -6,7 +6,6 @@ config BR2_PACKAGE_CRIU_ARCH_SUPPORTS
>  	default y if BR2_ARM_CPU_ARMV7M
>  	default y if BR2_ARM_CPU_ARMV8A
>  	default y if BR2_aarch64
> -	default y if BR2_i386
>  	default y if BR2_mips
>  	default y if BR2_x86_64
>  	default y if BR2_powerpc64le # Only support powerpc64 with LE
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-01-11 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-11 18:22 [Buildroot] [PATCH 1/1] package/criu: disable i386 Fabrice Fontaine
2024-01-11 19:25 ` Yann E. MORIN

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