From: Stephen Rothwell <hidden> Date: 2011-08-12 02:02:59
Hi all,
After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
Assembler messages:
Fatal error: can't create drivers/net/ethernet/sun/.tmp_sungem_phy.o: No such file or directory
Presumably caused by commit e689cf4a0427 ("cassini/niu/sun*: Move the Sun
drivers") theough I don't know why. I tried throwing away my object
directory, but that didn't help.
Ah, ha! This looks suspicious (change to drivers/net/Makefile):
+obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o
I have used the net tree from next-20110811 for today.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
From: Jeff Kirsher <hidden> Date: 2011-08-12 02:31:39
On Thu, 2011-08-11 at 19:02 -0700, Stephen Rothwell wrote:
Hi all,
After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
Assembler messages:
Fatal error: can't create drivers/net/ethernet/sun/.tmp_sungem_phy.o: No such file or directory
Presumably caused by commit e689cf4a0427 ("cassini/niu/sun*: Move the Sun
drivers") theough I don't know why. I tried throwing away my object
directory, but that didn't help.
Ah, ha! This looks suspicious (change to drivers/net/Makefile):
+obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o
I have used the net tree from next-20110811 for today.
I am curious, can you compile the Sun GEM support driver? and if so,
does the Spider Net driver compile?
I know I did not have the PPC hardware to test the compilation of the
Spider Net driver, but I was basing the Makefile changes on similar
changes that the Broadcom driver required, which I did compile test.
I want to resolve this before continuing on with the next set of
patches.
From: David Miller <davem@davemloft.net> Date: 2011-08-12 02:53:58
From: Jeff Kirsher <redacted>
Date: Thu, 11 Aug 2011 19:31:35 -0700
I am curious, can you compile the Sun GEM support driver? and if so,
does the Spider Net driver compile?
I'm pretty sure you cannot reference object targets outside of
the current directory and expect it to work.
You can only reference things in the current directory (objects,
directories to traverse down into, etc.) as targets
So when there is a common piece of infrastructure shared by
two drivers, you're really going to have to cope with them
at the same time.
From: Jeff Kirsher <hidden> Date: 2011-08-12 03:05:42
On Thu, 2011-08-11 at 19:51 -0700, David Miller wrote:
From: Jeff Kirsher <redacted>
Date: Thu, 11 Aug 2011 19:31:35 -0700
quoted
I am curious, can you compile the Sun GEM support driver? and if so,
does the Spider Net driver compile?
I'm pretty sure you cannot reference object targets outside of
the current directory and expect it to work.
You can only reference things in the current directory (objects,
directories to traverse down into, etc.) as targets
So when there is a common piece of infrastructure shared by
two drivers, you're really going to have to cope with them
at the same time.
I am working on a patch now to fix this.
Stephen - if you could compile test it, I would greatly appreciate.
From: Stephen Rothwell <hidden> Date: 2011-08-12 04:34:39
Hi Jeff,
On Thu, 11 Aug 2011 20:05:25 -0700 Jeff Kirsher [off-list ref] wrote:
I am working on a patch now to fix this.
Stephen - if you could compile test it, I would greatly appreciate.
Sure, send it over. With master.kernel.org down, its not like I can
releease linux-next anyway :-)
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/