rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ARMv7 Linux + Rust doesn't boot when compiling with only LLVM=1
@ 2025-12-13 23:54 Rudraksha Gupta
  2025-12-14  6:06 ` Miguel Ojeda
  2025-12-16 14:41 ` Christian Schrefl
  0 siblings, 2 replies; 9+ messages in thread
From: Rudraksha Gupta @ 2025-12-13 23:54 UTC (permalink / raw)
  To: stable, regressions, rust-for-linux, Miguel Ojeda
  Cc: Björn Roy Baron, Alex Gaynor, Boqun Feng, Gary Guo,
	Andreas Hindborg, Alice Ryhl, Danilo Krummrich, Trevor Gross,
	Benno Lossin

Hello all,


I have the following problem: 
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2635


In short, what is happening is the following:


- The kernel boots and outputs via UART when I build the kernel with the 
following:

make LLVM=1 ARCH="$arm" CC="${CC:-gcc}"


- The kernel doesn't boot and there is no output via UART when I build 
the kernel with the following:

make LLVM=1 ARCH="$arm"


The only difference being: CC="${CC:-gcc}". Is this expected? I think 
this was present in the Linux kernel ever since Rust was enabled for 
ARMv7, and I never encountered it because postmarketOS was originally 
building the first way.


Thanks,

Rudraksha


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

end of thread, other threads:[~2025-12-17 10:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-13 23:54 ARMv7 Linux + Rust doesn't boot when compiling with only LLVM=1 Rudraksha Gupta
2025-12-14  6:06 ` Miguel Ojeda
2025-12-14  7:34   ` Rudraksha Gupta
2025-12-15 11:19     ` Gary Guo
2025-12-17 10:01       ` Rudraksha Gupta
2025-12-15 12:17     ` Christian Schrefl
2025-12-17 10:10       ` Rudraksha Gupta
2025-12-16 14:41 ` Christian Schrefl
2025-12-17 10:21   ` Rudraksha Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).