Skip to contentSkip to conversation

ARM allmodconfig build failures in -next

DISCUSSION Mark Brown 2 participants 4 messages Apr 2, 2015 1 message not in the archive Linux-next tree

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): E1YdaYh-0000LL-D5@debutante

Mark Brown

author maintainer
#1 lore raw
Quoted 2 lines · Build bot for Mark Brown

Failed defconfigs:
arm-allmodconfig

For the past few days ARM allmodconfig has been failing to build in -next due to 841990b6b3e2cfc0b (ARM: dts: Alpine platform devicetree) from the arm-soc tree. This adds a Makefile fragment building alpine_db.dtb but adds the DTS file as alpine-db.dts instead.

author maintainer
#2 lore raw

next-20150402 build: 3 failures 18 warnings (next-20150402)

In reply to a message not in the archive
Quoted 2 lines · Build bot for Mark Brown

Failed defconfigs:
arm64-allmodconfig

For the past few days -next has been failing to build an arm64 allmodconfig due to:

| drivers/built-in.o: In function `tegra124_132_clock_init_post':
| :(.init.text+0x285d8): undefined reference to `tegra_emc_init'

This is triggered by d035fdfa27ac124bc8 (arm64: Add Tegra132 support) which enables ARCH_TEGRA and ARCH_TEGRA_132_SOC for arm64 which in turn causes clk-tegra124 to be built on arm64. That driver relies on TEGRA124_EMC but that depends on ARCH_TEGRA_124_SOC which is 32 bit only.

We either need the EMC driver for Tegra132, a stub or some ifdefs.

It also looks like there's an issue if the memory controller driver is
not enabled (which looks to be something that can be controlled by the
user) but I've not checked properly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150402/51438d1a/attachment.sig>

#3 lore raw

next-20150402 build: 3 failures 18 warnings (next-20150402)

Quoted 10 lines · Mark Brown

* PGP Signed by an unknown key

Quoted 2 lines · Build bot for Mark Brown

Failed defconfigs:
arm64-allmodconfig

For the past few days -next has been failing to build an arm64 allmodconfig due to:

Quoted 8 lines

| drivers/built-in.o: In function `tegra124_132_clock_init_post':
| :(.init.text+0x285d8): undefined reference to `tegra_emc_init'

This is triggered by d035fdfa27ac124bc8 (arm64: Add Tegra132 support) which enables ARCH_TEGRA and ARCH_TEGRA_132_SOC for arm64 which in turn causes clk-tegra124 to be built on arm64. That driver relies on TEGRA124_EMC but that depends on ARCH_TEGRA_124_SOC which is 32 bit only.

It's actually triggered by a newer patch (f8fd257fabf0 "clk: tegra: Add EMC clock driver") which adds this new dependency.

Quoted 1 line

We either need the EMC driver for Tegra132, a stub or some ifdefs.

Tegra132 uses the same memory controller as Tegra124, so clk-emc should work on both. I likely overlooked this when applying the patches. I also have a local patch for this that I haven't pushed yet. Will do it right away.

Quoted 3 lines

It also looks like there's an issue if the memory controller driver is not enabled (which looks to be something that can be controlled by the user) but I've not checked properly.

I'll do some testing to see if I can break it by permutating some of the Kconfig symbol combinations.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150402/4fd6b394/attachment.sig>

#4 lore raw

next-20150402 build: 3 failures 18 warnings (next-20150402)

In reply to Mark Brown
Quoted 19 lines · Mark Brown

* PGP Signed by an unknown key

Quoted 2 lines · Build bot for Mark Brown

Failed defconfigs:
arm64-allmodconfig

For the past few days -next has been failing to build an arm64 allmodconfig due to:

| drivers/built-in.o: In function `tegra124_132_clock_init_post':
| :(.init.text+0x285d8): undefined reference to `tegra_emc_init'

This is triggered by d035fdfa27ac124bc8 (arm64: Add Tegra132 support) which enables ARCH_TEGRA and ARCH_TEGRA_132_SOC for arm64 which in turn causes clk-tegra124 to be built on arm64. That driver relies on TEGRA124_EMC but that depends on ARCH_TEGRA_124_SOC which is 32 bit only.

Quoted 5 lines

We either need the EMC driver for Tegra132, a stub or some ifdefs.

It also looks like there's an issue if the memory controller driver is not enabled (which looks to be something that can be controlled by the user) but I've not checked properly.

The ARM64 allmodconfig finally finished building and I've pushed something that should hopefully fix things.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150403/89b00e20/attachment.sig>