public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Can build 2.6.31.5 on one P4 but not another.
@ 2009-11-03 18:15 Reg Clemens
  2009-11-03 18:45 ` Valdis.Kletnieks
  2009-11-03 19:22 ` Frans Pop
  0 siblings, 2 replies; 4+ messages in thread
From: Reg Clemens @ 2009-11-03 18:15 UTC (permalink / raw)
  To: linux-kernel

Can someone explain this to me.
I can build 2.6.31.5 on one of my Pentium 4's with no problems, 
   it boots and runs.

On a second P4, the build fails (compile works, load fails) with
comments about undefined references to:
	sleep_on_common
   and  __up

These appear in 
	sched.c
   and  semaphore.c

I dont understand how this can build on one P4 and not another.

-- 
                                        Reg.Clemens
                                        reg@dwf.com



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

* Re: Can build 2.6.31.5 on one P4 but not another.
  2009-11-03 18:15 Can build 2.6.31.5 on one P4 but not another Reg Clemens
@ 2009-11-03 18:45 ` Valdis.Kletnieks
  2009-11-03 19:20   ` Reg Clemens
  2009-11-03 19:22 ` Frans Pop
  1 sibling, 1 reply; 4+ messages in thread
From: Valdis.Kletnieks @ 2009-11-03 18:45 UTC (permalink / raw)
  To: Reg Clemens; +Cc: linux-kernel

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

On Tue, 03 Nov 2009 11:15:12 MST, Reg Clemens said:
> Can someone explain this to me.

> I dont understand how this can build on one P4 and not another.

Different .configs?  gcc?  binutils?  Those are the first 3 that come to mind...

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

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

* Re: Can build 2.6.31.5 on one P4 but not another.
  2009-11-03 18:45 ` Valdis.Kletnieks
@ 2009-11-03 19:20   ` Reg Clemens
  0 siblings, 0 replies; 4+ messages in thread
From: Reg Clemens @ 2009-11-03 19:20 UTC (permalink / raw)
  To: Valdis.Kletnieks; +Cc: Reg Clemens, linux-kernel, reg

> On Tue, 03 Nov 2009 11:15:12 MST, Reg Clemens said:
> > Can someone explain this to me.
> 
> > I dont understand how this can build on one P4 and not another.
> 
> Different .configs?  gcc?  binutils?  Those are the first 3 that come to mind...

Same config files (I should have mentioned this)
Different gcc's
And I would assume that the loader is the only binutil involved

-- 
                                        Reg.Clemens
                                        reg@dwf.com



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

* Re: Can build 2.6.31.5 on one P4 but not another.
  2009-11-03 18:15 Can build 2.6.31.5 on one P4 but not another Reg Clemens
  2009-11-03 18:45 ` Valdis.Kletnieks
@ 2009-11-03 19:22 ` Frans Pop
  1 sibling, 0 replies; 4+ messages in thread
From: Frans Pop @ 2009-11-03 19:22 UTC (permalink / raw)
  To: Reg Clemens; +Cc: linux-kernel

Reg Clemens wrote:
> Can someone explain this to me.
> I can build 2.6.31.5 on one of my Pentium 4's with no problems,
> it boots and runs.
> 
> On a second P4, the build fails (compile works, load fails) with
> comments about undefined references to:
> sleep_on_common
> and  __up
>
> These appear in sched.c and  semaphore.c.

Are you using identical configs for both machines or not?

Are you sure both machines really have the same kernel source?

Have you tried if a 'make mrproper' makes a difference (normally it should 
not)?

Do both machines have the same build environment (gcc version, binutils, 
etc)?

If you need additional help, please post the exact error messages and the 
kernel config for the failing machine.

Cheers,
FJP

P.S. Why are you building the kernels on two machines instead of doing the 
builds on one machine and then copying and installing a build for the 
second? That could save a lot of build time, even if you don't use 
identical configs.

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

end of thread, other threads:[~2009-11-03 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-03 18:15 Can build 2.6.31.5 on one P4 but not another Reg Clemens
2009-11-03 18:45 ` Valdis.Kletnieks
2009-11-03 19:20   ` Reg Clemens
2009-11-03 19:22 ` Frans Pop

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