Skip to contentSkip to conversation

linux-next: Tree for Oct 2

DISCUSSION Mark Brown 3 participants 5 messages Oct 2, 2025 – Oct 3, 2025

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

Changes since 20250929:

Linus' tree gained a build failure.

The nfsd tree gained a conflict with the nfs-anna tree.

The vfs-brauner tree gained a conflict with Linus' tree.

The drm tree gained multiple conflicts with Linus' tree.

The ftrace tree gained a conflict with Linus' tree, and also a build failure so I used the version from 20250929 instead.

The kvm tree gained a conflict with Linus' tree.

The hyperv tree gained a conflict with the fbdev tree.

Non-merge commits (relative to Linus' tree): 8092

 8162 files changed, 387039 insertions(+), 145286 deletions(-)

----------------------------------------------------------------------------

I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ). If you are tracking the linux-next tree using git, you should not use "git pull" to do so as that will try to merge the new linux-next release with the old one. You should use "git fetch" and checkout or reset to the new master.

You can see which trees have been included by looking in the Next/Trees file in the source. There is also the merge.log file in the Next directory. Between each merge, the tree was built with an arm64 defconfig, an allmodconfig for x86_64, a multi_v7_defconfig for arm and a native build of tools/perf.

Below is a summary of the state of the merge.

I am currently merging 407 trees (counting Linus' and 406 trees of bug fix patches pending for the current release).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Thanks to Randy Dunlap for doing many randconfig builds. And to Paul Gortmaker for triage and bug fixes.

#1 lore raw

Rust is broken on today's linux-next (next-20251002) on Debian forky/sid.

regards,
dan carpenter

$ make -j32
  SYNC    include/config/auto.conf
  HOSTCC  scripts/basic/fixdep
  CALL    scripts/checksyscalls.sh
  RUSTC L rust/core.o
error: cannot find a built-in macro with name `define_opaque`
    --> /usr/lib/rustlib/src/rust/library/core/src/macros/mod.rs:1757:5
     |
1757 | /     pub macro define_opaque($($tt:tt)*) {
1758 | |         /* compiler built-in */
1759 | |     }
     | |_____^

error: attributes starting with rustc are reserved for use by the rustc compiler

    --> /usr/lib/rustlib/src/rust/library/core/src/pin.rs:1946:28
     |
1946 | #[cfg_attr(not(bootstrap), rustc_macro_edition_2021)]
     |                            ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute rustc_macro_edition_2021 in this scope

    --> /usr/lib/rustlib/src/rust/library/core/src/pin.rs:1946:28
     |
1946 | #[cfg_attr(not(bootstrap), rustc_macro_edition_2021)]
     |                            ^^^^^^^^^^^^^^^^^^^^^^^^

error[E0522]: definition of an unknown lang item: use_cloned
--> /usr/lib/rustlib/src/rust/library/core/src/clone.rs:219:28

    |
219 | #[cfg_attr(not(bootstrap), lang = "use_cloned")]
    |                            ^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `use_cloned`

error[E0522]: definition of an unknown lang item: RangeMin
--> /usr/lib/rustlib/src/rust/library/core/src/pat.rs:28:32

   |
28 |     #[cfg_attr(not(bootstrap), lang = "RangeMin")]
   |                                ^^^^^^^^^^^^^^^^^ definition of unknown lang item `RangeMin`

error[E0522]: definition of an unknown lang item: RangeMax
--> /usr/lib/rustlib/src/rust/library/core/src/pat.rs:32:32

   |
32 |     #[cfg_attr(not(bootstrap), lang = "RangeMax")]
   |                                ^^^^^^^^^^^^^^^^^ definition of unknown lang item `RangeMax`

error[E0522]: definition of an unknown lang item: RangeSub
--> /usr/lib/rustlib/src/rust/library/core/src/pat.rs:36:32

   |
36 |     #[cfg_attr(not(bootstrap), lang = "RangeSub")]
   |                                ^^^^^^^^^^^^^^^^^ definition of unknown lang item `RangeSub`

error: requires format_alignment lang_item
--> /usr/lib/rustlib/src/rust/library/core/src/macros/mod.rs:623:24

    |
623 |         $dst.write_fmt($crate::format_args!($($arg)*))
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
   ::: /usr/lib/rustlib/src/rust/library/core/src/any.rs:790:13
    |
790 |             write!(f, "TypeId({:#034x})", self.as_u128())?;
    |             --------------------------------------------- in this macro invocation
    |

= note: this error originates in the macro $crate::format_args which comes from the expansion of the macro write (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 8 previous errors

For more information about this error, try rustc --explain E0522. make[2]: *** [rust/Makefile:507: rust/core.o] Error 1
make[1]: *** [/home/dcarpenter/progs/kernel/trees/Makefile:1286: prepare] Error 2
make: *** [Makefile:248: __sub-make] Error 2

#2 lore raw
Quoted 10 lines · Dan Carpenter

RUSTC L rust/core.o
error: cannot find a built-in macro with name define_opaque

    --> /usr/lib/rustlib/src/rust/library/core/src/macros/mod.rs:1757:5
     |
1757 | /     pub macro define_opaque($($tt:tt)*) {
1758 | |         /* compiler built-in */
1759 | |     }
     | |_____^

Thanks Dan.

Hmm... Strange, it is the core library, which comes with the compiler and thus should always work.

So it sounds like a mismatch between the binary used and the sources of the standard library (or perhaps other kind of mismatch, like the wrong edition being passed, but from a quick look it doesn't seem like it).

I will try to reproduce it. Did you happen to recently upgrade the toolchain(s) or something like that, by chance? Are you using the Debian packages?

Thanks!

Cheers,
Miguel

#3 lore raw
Quoted 17 lines · Miguel Ojeda
Quoted 10 lines · Dan Carpenter

RUSTC L rust/core.o
error: cannot find a built-in macro with name define_opaque

    --> /usr/lib/rustlib/src/rust/library/core/src/macros/mod.rs:1757:5
     |
1757 | /     pub macro define_opaque($($tt:tt)*) {
1758 | |         /* compiler built-in */
1759 | |     }
     | |_____^

Thanks Dan.

Hmm... Strange, it is the core library, which comes with the compiler and thus should always work.

Quoted 8 lines

So it sounds like a mismatch between the binary used and the sources of the standard library (or perhaps other kind of mismatch, like the wrong edition being passed, but from a quick look it doesn't seem like it).

I will try to reproduce it. Did you happen to recently upgrade the toolchain(s) or something like that, by chance? Are you using the Debian packages?

Yes. I am using the debian packages. To be honest, I don't know it I broke it with an update. It's possible. I am all the way updated with apt dist-upgrade.

I'm on rustc version 1.87.0+dfsg1-1.

regards.
dan carpenter

#4 lore raw
Quoted 27 lines · Dan Carpenter
Quoted 17 lines · Miguel Ojeda
Quoted 10 lines · Dan Carpenter

RUSTC L rust/core.o
error: cannot find a built-in macro with name define_opaque

    --> /usr/lib/rustlib/src/rust/library/core/src/macros/mod.rs:1757:5
     |
1757 | /     pub macro define_opaque($($tt:tt)*) {
1758 | |         /* compiler built-in */
1759 | |     }
     | |_____^

Thanks Dan.

Hmm... Strange, it is the core library, which comes with the compiler and thus should always work.

Quoted 8 lines

So it sounds like a mismatch between the binary used and the sources of the standard library (or perhaps other kind of mismatch, like the wrong edition being passed, but from a quick look it doesn't seem like it).

I will try to reproduce it. Did you happen to recently upgrade the toolchain(s) or something like that, by chance? Are you using the Debian packages?

Quoted 6 lines

Yes. I am using the debian packages. To be honest, I don't know it I broke it with an update. It's possible. I am all the way updated with apt dist-upgrade.

I'm on rustc version 1.87.0+dfsg1-1.

It's fixed in today's linux-next.

I did go back and confirm that it was definitely something in the kernel yesterday. But it's fixed now, so no worries.

regards,
dan carpenter