All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Runge <dave@sleepmap.de>
To: linux-rt-users@vger.kernel.org
Subject: Issues building RT patchset v6.18.13-rt4-rebase on top of v6.18.39
Date: Mon, 20 Jul 2026 10:14:02 +0200	[thread overview]
Message-ID: <al3YymTiIicX2Vin@hmbx> (raw)

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

Hi,

on Arch Linux we have switched to a rebase workflow to offer the linux-rt [1]
and linux-rt-lts [2] kernels on latest kernels of the series, so that we can
also apply security and regression fixes.

For linux-rt-lts and with rebasing v6.18.13-rt4-rebase [3] onto v6.18.39 (and
later on applying our own distribution patches) [4], we run into a build failure
though.
(The rebase applied cleanly).

```
  CC [M]  drivers/misc/cardreader/rts5249.o
drivers/tty/serial/8250/8250_port.c:3225:7: error: conflicting types for ‘serial8250_fifo_wait_for_lsr_thre’; have ‘void(struct uart_8250_port *, struct nbcon_write_context *, unsigned int)’
 3225 |  void serial8250_fifo_wait_for_lsr_thre(struct uart_8250_port *up,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/tty/serial/8250/8250_port.c:40:
drivers/tty/serial/8250/8250.h:189:6: note: previous declaration of ‘serial8250_fifo_wait_for_lsr_thre’ with type ‘void(struct uart_8250_port *, unsigned int)’
  189 | void serial8250_fifo_wait_for_lsr_thre(struct uart_8250_port *up, unsigned int count);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/linkage.h:7,
                 from ./include/linux/printk.h:8,
                 from ./include/asm-generic/bug.h:22,
                 from ./arch/x86/include/asm/bug.h:108,
                 from ./arch/x86/include/asm/alternative.h:9,
                 from ./arch/x86/include/asm/barrier.h:5,
                 from ./include/linux/list.h:11,
                 from ./include/linux/module.h:12,
                 from drivers/tty/serial/8250/8250_port.c:14:
drivers/tty/serial/8250/8250_port.c:3245:22: error: conflicting types for ‘serial8250_fifo_wait_for_lsr_thre’; have ‘void(struct uart_8250_port *, struct nbcon_write_context *, unsigned int)’
 3245 | EXPORT_SYMBOL_NS_GPL(serial8250_fifo_wait_for_lsr_thre, "SERIAL_8250");
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/export.h:76:28: note: in definition of macro ‘__EXPORT_SYMBOL’
   76 |         extern typeof(sym) sym;                                 \
      |                            ^~~
drivers/tty/serial/8250/8250_port.c:3245:1: note: in expansion of macro ‘EXPORT_SYMBOL_NS_GPL’
 3245 | EXPORT_SYMBOL_NS_GPL(serial8250_fifo_wait_for_lsr_thre, "SERIAL_8250");
      | ^~~~~~~~~~~~~~~~~~~~
drivers/tty/serial/8250/8250.h:189:6: note: previous declaration of ‘serial8250_fifo_wait_for_lsr_thre’ with type ‘void(struct uart_8250_port *, unsigned int)’
  189 | void serial8250_fifo_wait_for_lsr_thre(struct uart_8250_port *up, unsigned int count);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[6]: *** [scripts/Makefile.build:287: drivers/tty/serial/8250/8250_port.o] Error 1
make[5]: *** [scripts/Makefile.build:544: drivers/tty/serial/8250] Error 2
make[4]: *** [scripts/Makefile.build:544: drivers/tty/serial] Error 2
make[3]: *** [scripts/Makefile.build:544: drivers/tty] Error 2
make[3]: *** Waiting for unfinished jobs....
```

The culprit appears to be this commit:
'Reapply "serial: 8250: Switch to nbcon console"' [5]

I'm not sure who is currently working on the patchset for the 6.18 LTS branch,
but I guess it is worth exploring to drop/adjust the commit and release a new
patchset?
Is the patch still needed?

Best,
David

[1] https://archlinux.org/packages/extra/x86_64/linux-rt/
[2] https://archlinux.org/packages/extra/x86_64/linux-rt-lts/
[3] https://gitlab.archlinux.org/archlinux/packaging/upstream/linux-rt-lts/-/commits/v6.18.13-rt4-rebase
[4] https://gitlab.archlinux.org/archlinux/packaging/upstream/linux-rt-lts/-/commits/v6.18.39-rt4-arch1
[5] https://gitlab.archlinux.org/archlinux/packaging/upstream/linux-rt-lts/-/commit/c5661d54576a9bf12c2fd0eaa2a54baf48e45d4a
[6] https://wiki.linuxfoundation.org/realtime/start

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

             reply	other threads:[~2026-07-20  8:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-20  8:14 David Runge [this message]
2026-07-20 12:58 ` Issues building RT patchset v6.18.13-rt4-rebase on top of v6.18.39 Sebastian Andrzej Siewior
2026-07-21  9:10   ` David Runge
2026-07-21 10:47     ` Sebastian Andrzej Siewior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=al3YymTiIicX2Vin@hmbx \
    --to=dave@sleepmap.de \
    --cc=linux-rt-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.