public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the rust tree with the loongarch tree
@ 2025-03-31  5:07 Stephen Rothwell
  2025-03-31  7:52 ` Miguel Ojeda
  2025-04-01  0:26 ` Stephen Rothwell
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Rothwell @ 2025-03-31  5:07 UTC (permalink / raw)
  To: Miguel Ojeda, Huacai Chen
  Cc: Huacai Chen, Linux Kernel Mailing List, Linux Next Mailing List,
	Thomas Weißschuh, WANG Rui

[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]

Hi all,

Today's linux-next merge of the rust tree got a conflict in:

  rust/Makefile

between commit:

  13c23cb4ed09 ("rust: Fix enabling Rust and building with GCC for LoongArch")

from the loongarch tree and commit:

  6b2dab17d6fa ("rust: pass correct target to bindgen on Usermode Linux")

from the rust tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc rust/Makefile
index 1750affda774,b9cc810764e9..000000000000
--- a/rust/Makefile
+++ b/rust/Makefile
@@@ -251,8 -274,7 +279,9 @@@ bindgen_skip_c_flags := -mno-fp-ret-in-
  # Derived from `scripts/Makefile.clang`.
  BINDGEN_TARGET_x86	:= x86_64-linux-gnu
  BINDGEN_TARGET_arm64	:= aarch64-linux-gnu
 +BINDGEN_TARGET_arm	:= arm-linux-gnueabi
 +BINDGEN_TARGET_loongarch	:= loongarch64-linux-gnusf
+ BINDGEN_TARGET_um	:= $(BINDGEN_TARGET_$(SUBARCH))
  BINDGEN_TARGET		:= $(BINDGEN_TARGET_$(SRCARCH))
  
  # All warnings are inhibited since GCC builds are very experimental,

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: manual merge of the rust tree with the loongarch tree
  2025-03-31  5:07 linux-next: manual merge of the rust tree with the loongarch tree Stephen Rothwell
@ 2025-03-31  7:52 ` Miguel Ojeda
  2025-04-01  0:26 ` Stephen Rothwell
  1 sibling, 0 replies; 3+ messages in thread
From: Miguel Ojeda @ 2025-03-31  7:52 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Miguel Ojeda, Huacai Chen, Huacai Chen, Linux Kernel Mailing List,
	Linux Next Mailing List, Thomas Weißschuh, WANG Rui

On Mon, Mar 31, 2025 at 7:07 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the rust tree got a conflict in:
>
>   rust/Makefile
>
> between commit:
>
>   13c23cb4ed09 ("rust: Fix enabling Rust and building with GCC for LoongArch")
>
> from the loongarch tree and commit:
>
>   6b2dab17d6fa ("rust: pass correct target to bindgen on Usermode Linux")
>
> from the rust tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This

Looks good to me, thanks!

Cheers,
Miguel

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

* Re: linux-next: manual merge of the rust tree with the loongarch tree
  2025-03-31  5:07 linux-next: manual merge of the rust tree with the loongarch tree Stephen Rothwell
  2025-03-31  7:52 ` Miguel Ojeda
@ 2025-04-01  0:26 ` Stephen Rothwell
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2025-04-01  0:26 UTC (permalink / raw)
  To: Huacai Chen
  Cc: Miguel Ojeda, Huacai Chen, Linux Kernel Mailing List,
	Linux Next Mailing List, Thomas Weißschuh, WANG Rui

[-- Attachment #1: Type: text/plain, Size: 1569 bytes --]

Hi all,

On Mon, 31 Mar 2025 16:07:26 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> Today's linux-next merge of the rust tree got a conflict in:
> 
>   rust/Makefile
> 
> between commit:
> 
>   13c23cb4ed09 ("rust: Fix enabling Rust and building with GCC for LoongArch")
> 
> from the loongarch tree and commit:
> 
>   6b2dab17d6fa ("rust: pass correct target to bindgen on Usermode Linux")
> 
> from the rust tree.
> 
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
> 
> 
> diff --cc rust/Makefile
> index 1750affda774,b9cc810764e9..000000000000
> --- a/rust/Makefile
> +++ b/rust/Makefile
> @@@ -251,8 -274,7 +279,9 @@@ bindgen_skip_c_flags := -mno-fp-ret-in-
>   # Derived from `scripts/Makefile.clang`.
>   BINDGEN_TARGET_x86	:= x86_64-linux-gnu
>   BINDGEN_TARGET_arm64	:= aarch64-linux-gnu
>  +BINDGEN_TARGET_arm	:= arm-linux-gnueabi
>  +BINDGEN_TARGET_loongarch	:= loongarch64-linux-gnusf
> + BINDGEN_TARGET_um	:= $(BINDGEN_TARGET_$(SUBARCH))
>   BINDGEN_TARGET		:= $(BINDGEN_TARGET_$(SRCARCH))
>   
>   # All warnings are inhibited since GCC builds are very experimental,

This is now a conflict between the loongarch tree and Linus' tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2025-04-01  0:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-31  5:07 linux-next: manual merge of the rust tree with the loongarch tree Stephen Rothwell
2025-03-31  7:52 ` Miguel Ojeda
2025-04-01  0:26 ` Stephen Rothwell

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