public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* linux-next: sparc32 build failure
@ 2008-06-11  9:32 Stephen Rothwell
  2008-06-11  9:36 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2008-06-11  9:32 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, Sam Ravnborg

[-- Attachment #1: Type: text/plain, Size: 487 bytes --]

Hi Dave, Sam,

Today's linux-next build (sparc32 defconfig) failed like this:

  Building modules, stage 2.
/opt/crosstool/gcc-3.4.5-glibc-2.3.6/sparc64-unknown-linux-gnu/bin/sparc64-unknown-linux-gnu-ld: .tmp_kallsyms2.o: No such file: No such file or directory
make[2]: *** [arch/sparc/boot/image] Error 1

I am guessing some kbuild change that sparc32 doesn't like.

-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: linux-next: sparc32 build failure
  2008-06-11  9:32 linux-next: sparc32 build failure Stephen Rothwell
@ 2008-06-11  9:36 ` David Miller
  2008-06-11 10:23   ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2008-06-11  9:36 UTC (permalink / raw)
  To: sfr; +Cc: linux-next, sam

From: Stephen Rothwell <sfr@canb•auug.org.au>
Date: Wed, 11 Jun 2008 19:32:09 +1000

> Hi Dave, Sam,
> 
> Today's linux-next build (sparc32 defconfig) failed like this:
> 
>   Building modules, stage 2.
> /opt/crosstool/gcc-3.4.5-glibc-2.3.6/sparc64-unknown-linux-gnu/bin/sparc64-unknown-linux-gnu-ld: .tmp_kallsyms2.o: No such file: No such file or directory
> make[2]: *** [arch/sparc/boot/image] Error 1
> 
> I am guessing some kbuild change that sparc32 doesn't like.

Yes, it seems arch/sparc/Makefile needs some updates to match those
recent Kbuild changes which eliminate the second kallsyms pass.

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

* Re: linux-next: sparc32 build failure
  2008-06-11  9:36 ` David Miller
@ 2008-06-11 10:23   ` Sam Ravnborg
  0 siblings, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2008-06-11 10:23 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, linux-next

On Wed, Jun 11, 2008 at 02:36:30AM -0700, David Miller wrote:
> From: Stephen Rothwell <sfr@canb•auug.org.au>
> Date: Wed, 11 Jun 2008 19:32:09 +1000
> 
> > Hi Dave, Sam,
> > 
> > Today's linux-next build (sparc32 defconfig) failed like this:
> > 
> >   Building modules, stage 2.
> > /opt/crosstool/gcc-3.4.5-glibc-2.3.6/sparc64-unknown-linux-gnu/bin/sparc64-unknown-linux-gnu-ld: .tmp_kallsyms2.o: No such file: No such file or directory
> > make[2]: *** [arch/sparc/boot/image] Error 1
> > 
> > I am guessing some kbuild change that sparc32 doesn't like.
> 
> Yes, it seems arch/sparc/Makefile needs some updates to match those
> recent Kbuild changes which eliminate the second kallsyms pass.

Killing the following lines should do the trick:
ifdef CONFIG_KALLSYMS
kallsyms.o := .tmp_kallsyms2.o
endif

They were added in 2003. See:
http://git.kernel.org/?p=linux/kernel/git/torvalds/old-2.6-bkcvs.git;a=commit;h=aa13a1c61f9a5edca32b06dba4da4ebe9fb5f766

I am not sure why and the changelog is of no help.
To me it looks like a trick to force the second pass when ever KALLSYMS is enabled.
And I do not think this is needed anymore.

	Sam


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

end of thread, other threads:[~2008-06-11 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-11  9:32 linux-next: sparc32 build failure Stephen Rothwell
2008-06-11  9:36 ` David Miller
2008-06-11 10:23   ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox