public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the drm-nova tree
@ 2025-04-28  4:24 Stephen Rothwell
  2025-04-28  9:09 ` Danilo Krummrich
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2025-04-28  4:24 UTC (permalink / raw)
  To: Danilo Krummrich
  Cc: Asahi Lina, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the drm-nova tree, today's linux-next build (KCONFIG_NAME)
failed like this:

x86_64-linux-gnu-ld: vmlinux.o: in function `rust_helper_drm_gem_object_put':
(.text+0x1b6cd15): undefined reference to `drm_gem_object_free'

Caused by commit

  be8d1a24798f ("rust: drm: gem: Add GEM object abstraction")

I have used the drm-nova tree from next-20250414 for today.

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build failure after merge of the drm-nova tree
  2025-04-28  4:24 linux-next: build failure after merge of the drm-nova tree Stephen Rothwell
@ 2025-04-28  9:09 ` Danilo Krummrich
  2025-04-29  2:45   ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Danilo Krummrich @ 2025-04-28  9:09 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Asahi Lina, Linux Kernel Mailing List, Linux Next Mailing List

Hi Stephen,

On Mon, Apr 28, 2025 at 02:24:36PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the drm-nova tree, today's linux-next build (KCONFIG_NAME)
> failed like this:
> 
> x86_64-linux-gnu-ld: vmlinux.o: in function `rust_helper_drm_gem_object_put':
> (.text+0x1b6cd15): undefined reference to `drm_gem_object_free'
> 
> Caused by commit
> 
>   be8d1a24798f ("rust: drm: gem: Add GEM object abstraction")
> 
> I have used the drm-nova tree from next-20250414 for today.

This issue was caused by rust/helpers/drm.c not having the required CONFIG_DRM
guards.

This is now fixed in nova-next; sorry for the inconvenience.

- Danilo

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

* Re: linux-next: build failure after merge of the drm-nova tree
  2025-04-28  9:09 ` Danilo Krummrich
@ 2025-04-29  2:45   ` Stephen Rothwell
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2025-04-29  2:45 UTC (permalink / raw)
  To: Danilo Krummrich
  Cc: Asahi Lina, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi Danilo,

On Mon, 28 Apr 2025 11:09:47 +0200 Danilo Krummrich <dakr@kernel.org> wrote:
>
> On Mon, Apr 28, 2025 at 02:24:36PM +1000, Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the drm-nova tree, today's linux-next build (KCONFIG_NAME)
> > failed like this:
> > 
> > x86_64-linux-gnu-ld: vmlinux.o: in function `rust_helper_drm_gem_object_put':
> > (.text+0x1b6cd15): undefined reference to `drm_gem_object_free'
> > 
> > Caused by commit
> > 
> >   be8d1a24798f ("rust: drm: gem: Add GEM object abstraction")
> > 
> > I have used the drm-nova tree from next-20250414 for today.  
> 
> This issue was caused by rust/helpers/drm.c not having the required CONFIG_DRM
> guards.

So the build was x86_64 allmodconfig, so CONFIG_DRM=m.  The build works
now, thanks.

-- 
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-29  2:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-28  4:24 linux-next: build failure after merge of the drm-nova tree Stephen Rothwell
2025-04-28  9:09 ` Danilo Krummrich
2025-04-29  2:45   ` Stephen Rothwell

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