linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Kernel 3.13-rc - DreamPlug compile failure - PHYS_OFFSET undeclared
@ 2013-12-03 22:54 robert
  2013-12-07 15:25 ` robert
  0 siblings, 1 reply; 3+ messages in thread
From: robert @ 2013-12-03 22:54 UTC (permalink / raw)
  To: linux-arm-kernel

Kernel 3.12.2 compiles and install/runs OK, but 3.13-rc1 and -rc2 (and
linux-next) compile fails, when configured for DreamPlug..

Steps to reproduce:
# make ......... kirkwood_defconfig
# make xconfig
Select 'General setup' / 'Embedded system'
Deselect 'Patch physical to virtual translations at runtime'
Set value of 'Physical address of main memory' to 0x0
(save config), then:
# make -j4
.....
.....
DTC arch/arm/boot/dts/kirkwood-ts219-6282.dtb
In file included from ~/linux-3.13-rc2/arch/arm/include/asm/page.h:163:0,
from include/linux/mm_types.h:16,
from include/linux/sched.h:24,
from arch/arm/kernel/asm-offsets.c:13:
~/linux-3.13-rc2/arch/arm/include/asm/memory.h: In function
?__virt_to_phys?:
~/linux-3.13-rc2/arch/arm/include/asm/memory.h:244:40: error:
?PHYS_OFFSET? undeclared (first use in this function)
~/linux-3.13-rc2/arch/arm/include/asm/memory.h:244:40: note: each
undeclared identifier is reported only once for each function it appears in
~/linux-3.13-rc2/arch/arm/include/asm/memory.h: In function
?__phys_to_virt?:
~/linux-3.13-rc2/arch/arm/include/asm/memory.h:249:13: error:
?PHYS_OFFSET? undeclared (first use in this function)
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

The error does not occur if 'Patch physical to virtual translations at
runtime' is _selected_, bu the resulting kernel will not boot on the
DreamPlug..

In case there was some odd problem with the cross-compiler, I have also
reproduced the problem compiling the kernel on the DreamPlug itself..

Robert Gadsdon
December 3, 2013

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

* Kernel 3.13-rc - DreamPlug compile failure - PHYS_OFFSET undeclared
  2013-12-03 22:54 Kernel 3.13-rc - DreamPlug compile failure - PHYS_OFFSET undeclared robert
@ 2013-12-07 15:25 ` robert
  2013-12-07 16:04   ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: robert @ 2013-12-07 15:25 UTC (permalink / raw)
  To: linux-arm-kernel

I have just discovered that this issue is already being addressed, in
the 'Build breakage from 'ARM: mm: use phys_addr_t appropriately in p2v
and v2p conversions' thread, from Nov 25.

Apologies for the noise..

Robert Gadsdon.

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

* Kernel 3.13-rc - DreamPlug compile failure - PHYS_OFFSET undeclared
  2013-12-07 15:25 ` robert
@ 2013-12-07 16:04   ` Andrew Lunn
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2013-12-07 16:04 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Dec 07, 2013 at 03:25:33PM +0000, robert wrote:
> I have just discovered that this issue is already being addressed, in
> the 'Build breakage from 'ARM: mm: use phys_addr_t appropriately in p2v
> and v2p conversions' thread, from Nov 25.

Hi Robert

Thanks for letting us know it is fixed.

       Andrew

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

end of thread, other threads:[~2013-12-07 16:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-03 22:54 Kernel 3.13-rc - DreamPlug compile failure - PHYS_OFFSET undeclared robert
2013-12-07 15:25 ` robert
2013-12-07 16:04   ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).