Re: Lemote 2F build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 19, 2014 at 10:54:05PM +0200, Aaro Koskinen wrote:

> On Wed, Nov 19, 2014 at 03:47:18PM +0100, Ralf Baechle wrote:
> > Since I while already I'm getting this failure:
> > 
> > ERROR: "loongson_sysconf" [arch/mips/loongson/common/serial.ko] undefined!
> > scripts/Makefile.modpost:90: recipe for target '__modpost' failed
> > make[1]: *** [__modpost] Error 1
> > Makefile:1097: recipe for target 'modules' failed
> > make: *** [modules] Error 2
> > 
> > 
> > Below a config file to trigger the issue.
> 
> Are you sure you posted the right config? The modular serial 8250 build
> works fine for me for 2F, and also your config works.

Quite certainly - the buildbot sends me the error messages followed by the
config file used (which is not one of the defconfig but tweaked in weird
ways) in a single mail.

This issue is popping up for a number of days already for the upstream-sfr
tree's mips-for-linux-next branch; I last saw it for commit
298395f5f43d1ea4b00e8c9ddaa01d9d8e653582 which is still the current HEAD
of that tree.

I don't see an EXPORT_SYMBOL for loongson_sysconf in that tree.

I took a quick look at arch/mips/loongson/common/serial.c.  This file
probably shouldn't register a platform device - that's dangerous business
from a module.  And it indeed looks like it had never been thought through
what will happen if this file was a module.  Just build it always.

  Ralf





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux