Skip to contentSkip to conversation

linux-next: build failure after merge of the mfd tree

DISCUSSION Stephen Rothwell 3 participants 7 messages Sep 4, 2025 – Sep 11, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this:

x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get':
gpio-stmpe.c:(.text+0x21a7c29): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get_direction':
gpio-stmpe.c:(.text+0x21a7db2): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq_sync_unlock':
gpio-stmpe.c:(.text+0x21a8166): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a82ef): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8372): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq':
gpio-stmpe.c:(.text+0x21a8c27): undefined reference to `stmpe_block_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f05): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f89): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_disable':
gpio-stmpe.c:(.text+0x21a91dc): undefined reference to `stmpe_disable'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_set':
gpio-stmpe.c:(.text+0x21a93a4): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a941e): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_output':
gpio-stmpe.c:(.text+0x21a95a4): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_input':
gpio-stmpe.c:(.text+0x21a9705): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_request':
gpio-stmpe.c:(.text+0x21a983e): undefined reference to `stmpe_set_altfunc'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_dbg_show_one':
gpio-stmpe.c:(.text+0x21a99c0): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9b8c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9bb1): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9c61): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9e6c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_probe':
gpio-stmpe.c:(.text+0x21aa5b2): undefined reference to `stmpe_enable'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21aa83e): undefined reference to `stmpe_disable'

Presumably caused by commit

e160dd0ac8c3 ("mfd: stmpe: Allow building as module")

I have used the mfd tree from next-20250903 for today.

Note that commit

03db20aaa3ba ("gpio: stmpe: Allow to compile as a module")

is in the gpio-brgl tree which has not been merged into linux-next at this point.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 38 lines · Stephen Rothwell

Hi all,

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this:

x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get':
gpio-stmpe.c:(.text+0x21a7c29): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get_direction':
gpio-stmpe.c:(.text+0x21a7db2): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq_sync_unlock':
gpio-stmpe.c:(.text+0x21a8166): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a82ef): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8372): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq':
gpio-stmpe.c:(.text+0x21a8c27): undefined reference to `stmpe_block_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f05): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f89): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_disable':
gpio-stmpe.c:(.text+0x21a91dc): undefined reference to `stmpe_disable'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_set':
gpio-stmpe.c:(.text+0x21a93a4): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a941e): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_output':
gpio-stmpe.c:(.text+0x21a95a4): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_input':
gpio-stmpe.c:(.text+0x21a9705): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_request':
gpio-stmpe.c:(.text+0x21a983e): undefined reference to `stmpe_set_altfunc'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_dbg_show_one':
gpio-stmpe.c:(.text+0x21a99c0): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9b8c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9bb1): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9c61): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9e6c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_probe':
gpio-stmpe.c:(.text+0x21aa5b2): undefined reference to `stmpe_enable'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21aa83e): undefined reference to `stmpe_disable'

Quoted 3 lines

Presumably caused by commit

e160dd0ac8c3 ("mfd: stmpe: Allow building as module")

Okay, I have removed this patch until it can be better tested.

Quoted 8 lines

I have used the mfd tree from next-20250903 for today.

Note that commit

03db20aaa3ba ("gpio: stmpe: Allow to compile as a module")

is in the gpio-brgl tree which has not been merged into linux-next at this point.

Okay, perhaps these need to go in together then.

Thanks Stephen.

Signature · 1 line
Lee Jones [李琼斯]
#2 lore raw
Quoted 51 lines · Lee Jones
Quoted 38 lines · Stephen Rothwell

Hi all,

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this:

x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get':
gpio-stmpe.c:(.text+0x21a7c29): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get_direction':
gpio-stmpe.c:(.text+0x21a7db2): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq_sync_unlock':
gpio-stmpe.c:(.text+0x21a8166): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a82ef): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8372): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq':
gpio-stmpe.c:(.text+0x21a8c27): undefined reference to `stmpe_block_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f05): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f89): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_disable':
gpio-stmpe.c:(.text+0x21a91dc): undefined reference to `stmpe_disable'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_set':
gpio-stmpe.c:(.text+0x21a93a4): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a941e): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_output':
gpio-stmpe.c:(.text+0x21a95a4): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_input':
gpio-stmpe.c:(.text+0x21a9705): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_request':
gpio-stmpe.c:(.text+0x21a983e): undefined reference to `stmpe_set_altfunc'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_dbg_show_one':
gpio-stmpe.c:(.text+0x21a99c0): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9b8c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9bb1): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9c61): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9e6c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_probe':
gpio-stmpe.c:(.text+0x21aa5b2): undefined reference to `stmpe_enable'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21aa83e): undefined reference to `stmpe_disable'

Quoted 3 lines

Presumably caused by commit

e160dd0ac8c3 ("mfd: stmpe: Allow building as module")

Okay, I have removed this patch until it can be better tested.

Quoted 4 lines

I have used the mfd tree from next-20250903 for today.

Note that commit

Quoted 9 lines
Quoted 4 lines

03db20aaa3ba ("gpio: stmpe: Allow to compile as a module")

is in the gpio-brgl tree which has not been merged into linux-next at this point.

Okay, perhaps these need to go in together then.

Thanks Stephen.

I can take it through the GPIO tree if you will and set up an immutable branch for you. Or not if the potential conflict is minimal.

Bartosz

#3 lore raw
Quoted 57 lines · Bartosz Golaszewski
Quoted 56 lines · Lee Jones
Quoted 38 lines · Stephen Rothwell

Hi all,

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this:

x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get':
gpio-stmpe.c:(.text+0x21a7c29): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get_direction':
gpio-stmpe.c:(.text+0x21a7db2): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq_sync_unlock':
gpio-stmpe.c:(.text+0x21a8166): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a82ef): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8372): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq':
gpio-stmpe.c:(.text+0x21a8c27): undefined reference to `stmpe_block_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f05): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f89): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_disable':
gpio-stmpe.c:(.text+0x21a91dc): undefined reference to `stmpe_disable'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_set':
gpio-stmpe.c:(.text+0x21a93a4): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a941e): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_output':
gpio-stmpe.c:(.text+0x21a95a4): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_input':
gpio-stmpe.c:(.text+0x21a9705): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_request':
gpio-stmpe.c:(.text+0x21a983e): undefined reference to `stmpe_set_altfunc'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_dbg_show_one':
gpio-stmpe.c:(.text+0x21a99c0): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9b8c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9bb1): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9c61): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9e6c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_probe':
gpio-stmpe.c:(.text+0x21aa5b2): undefined reference to `stmpe_enable'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21aa83e): undefined reference to `stmpe_disable'

Quoted 3 lines

Presumably caused by commit

e160dd0ac8c3 ("mfd: stmpe: Allow building as module")

Okay, I have removed this patch until it can be better tested.

Quoted 8 lines

I have used the mfd tree from next-20250903 for today.

Note that commit

03db20aaa3ba ("gpio: stmpe: Allow to compile as a module")

is in the gpio-brgl tree which has not been merged into linux-next at this point.

Quoted 7 lines
Quoted 4 lines

Okay, perhaps these need to go in together then.

Thanks Stephen.

I can take it through the GPIO tree if you will and set up an immutable branch for you. Or not if the potential conflict is minimal.

An IB would be good. Thank you.

Signature · 1 line
Lee Jones [李琼斯]
#4 lore raw

Hi all,

Quoted 60 lines · On Thu, 4 Sep 2025 10:23:19 +0100 Lee Jones <[email protected]> wrote:
Quoted 57 lines · Bartosz Golaszewski
Quoted 56 lines · Lee Jones
Quoted 36 lines · Stephen Rothwell

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this:

x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get':
gpio-stmpe.c:(.text+0x21a7c29): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get_direction':
gpio-stmpe.c:(.text+0x21a7db2): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq_sync_unlock':
gpio-stmpe.c:(.text+0x21a8166): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a82ef): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8372): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq':
gpio-stmpe.c:(.text+0x21a8c27): undefined reference to `stmpe_block_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f05): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f89): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_disable':
gpio-stmpe.c:(.text+0x21a91dc): undefined reference to `stmpe_disable'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_set':
gpio-stmpe.c:(.text+0x21a93a4): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a941e): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_output':
gpio-stmpe.c:(.text+0x21a95a4): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_input':
gpio-stmpe.c:(.text+0x21a9705): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_request':
gpio-stmpe.c:(.text+0x21a983e): undefined reference to `stmpe_set_altfunc'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_dbg_show_one':
gpio-stmpe.c:(.text+0x21a99c0): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9b8c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9bb1): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9c61): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9e6c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_probe':
gpio-stmpe.c:(.text+0x21aa5b2): undefined reference to `stmpe_enable'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21aa83e): undefined reference to `stmpe_disable'

Quoted 3 lines

Presumably caused by commit

e160dd0ac8c3 ("mfd: stmpe: Allow building as module")

Okay, I have removed this patch until it can be better tested.

Quoted 8 lines

I have used the mfd tree from next-20250903 for today.

Note that commit

03db20aaa3ba ("gpio: stmpe: Allow to compile as a module")

is in the gpio-brgl tree which has not been merged into linux-next at this point.

Okay, perhaps these need to go in together then.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Thanks Stephen.

I can take it through the GPIO tree if you will and set up an immutable branch for you. Or not if the potential conflict is minimal.

An IB would be good. Thank you.

I am still seeing this failure.

Signature · 2 lines
Cheers,
Stephen Rothwell
#5 lore raw
Quoted 67 lines · Stephen Rothwell

Hi all,

Quoted 63 lines · On Thu, 4 Sep 2025 10:23:19 +0100 Lee Jones <[email protected]> wrote:
Quoted 60 lines · Bartosz Golaszewski
Quoted 58 lines · Lee Jones
Quoted 36 lines · Stephen Rothwell

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this:

x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get':
gpio-stmpe.c:(.text+0x21a7c29): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get_direction':
gpio-stmpe.c:(.text+0x21a7db2): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq_sync_unlock':
gpio-stmpe.c:(.text+0x21a8166): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a82ef): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8372): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq':
gpio-stmpe.c:(.text+0x21a8c27): undefined reference to `stmpe_block_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f05): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f89): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_disable':
gpio-stmpe.c:(.text+0x21a91dc): undefined reference to `stmpe_disable'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_set':
gpio-stmpe.c:(.text+0x21a93a4): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a941e): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_output':
gpio-stmpe.c:(.text+0x21a95a4): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_input':
gpio-stmpe.c:(.text+0x21a9705): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_request':
gpio-stmpe.c:(.text+0x21a983e): undefined reference to `stmpe_set_altfunc'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_dbg_show_one':
gpio-stmpe.c:(.text+0x21a99c0): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9b8c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9bb1): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9c61): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9e6c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_probe':
gpio-stmpe.c:(.text+0x21aa5b2): undefined reference to `stmpe_enable'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21aa83e): undefined reference to `stmpe_disable'

Quoted 3 lines

Presumably caused by commit

e160dd0ac8c3 ("mfd: stmpe: Allow building as module")

Okay, I have removed this patch until it can be better tested.

Quoted 8 lines

I have used the mfd tree from next-20250903 for today.

Note that commit

03db20aaa3ba ("gpio: stmpe: Allow to compile as a module")

is in the gpio-brgl tree which has not been merged into linux-next at this point.

Okay, perhaps these need to go in together then.

Thanks Stephen.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I can take it through the GPIO tree if you will and set up an immutable branch for you. Or not if the potential conflict is minimal.

An IB would be good. Thank you.

I am still seeing this failure.

The offending commit is still in Lee's tree[1]. FYI: It's also now in the GPIO tree as commit df6a44003953 ("mfd: stmpe: Allow building as module") and was made available in an immutable branch[2].

Bartosz

[1] https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/commit/?h=for-mfd-next&id=e160dd0ac8c35747a8ef74aa62c6346c2d76e644
[2] https://lore.kernel.org/all/[email protected]/

#6 lore raw
Quoted 71 lines · Bartosz Golaszewski
Quoted 70 lines · Stephen Rothwell

Hi all,

Quoted 66 lines · On Thu, 4 Sep 2025 10:23:19 +0100 Lee Jones <[email protected]> wrote:
Quoted 62 lines · Bartosz Golaszewski
Quoted 49 lines · Lee Jones
Quoted 36 lines · Stephen Rothwell

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this:

x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get':
gpio-stmpe.c:(.text+0x21a7c29): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_get_direction':
gpio-stmpe.c:(.text+0x21a7db2): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq_sync_unlock':
gpio-stmpe.c:(.text+0x21a8166): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a82ef): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8372): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_irq':
gpio-stmpe.c:(.text+0x21a8c27): undefined reference to `stmpe_block_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f05): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a8f89): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_disable':
gpio-stmpe.c:(.text+0x21a91dc): undefined reference to `stmpe_disable'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_set':
gpio-stmpe.c:(.text+0x21a93a4): undefined reference to `stmpe_reg_write'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a941e): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_output':
gpio-stmpe.c:(.text+0x21a95a4): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_direction_input':
gpio-stmpe.c:(.text+0x21a9705): undefined reference to `stmpe_set_bits'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_request':
gpio-stmpe.c:(.text+0x21a983e): undefined reference to `stmpe_set_altfunc'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_dbg_show_one':
gpio-stmpe.c:(.text+0x21a99c0): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9b8c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9bb1): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9c61): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21a9e6c): undefined reference to `stmpe_reg_read'
x86_64-linux-gnu-ld: vmlinux.o: in function `stmpe_gpio_probe':
gpio-stmpe.c:(.text+0x21aa5b2): undefined reference to `stmpe_enable'
x86_64-linux-gnu-ld: gpio-stmpe.c:(.text+0x21aa83e): undefined reference to `stmpe_disable'

Quoted 3 lines

Presumably caused by commit

e160dd0ac8c3 ("mfd: stmpe: Allow building as module")

Okay, I have removed this patch until it can be better tested.

Quoted 4 lines

I have used the mfd tree from next-20250903 for today.

Note that commit

Quoted 9 lines
Quoted 4 lines

03db20aaa3ba ("gpio: stmpe: Allow to compile as a module")

is in the gpio-brgl tree which has not been merged into linux-next at this point.

Okay, perhaps these need to go in together then.

Thanks Stephen.

I can take it through the GPIO tree if you will and set up an immutable branch for you. Or not if the potential conflict is minimal.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

An IB would be good. Thank you.

I am still seeing this failure.

The offending commit is still in Lee's tree[1]. FYI: It's also now in the GPIO tree as commit df6a44003953 ("mfd: stmpe: Allow building as module") and was made available in an immutable branch[2].

Okay, I've dropped the offending commit.

Feel free to keep it in your tree.

Signature · 1 line
Lee Jones [李琼斯]