Openembedded Core Discussions
 help / color / mirror / Atom feed
* Re: why recompile gcc-cross/eglibc when update linux package?
  2012-12-05 10:16 why recompile gcc-cross/eglibc when update linux package? Yi Qingliang
@ 2012-12-05  9:29 ` Richard Purdie
  2012-12-05 17:37   ` Yi Qingliang
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2012-12-05  9:29 UTC (permalink / raw)
  To: Yi Qingliang; +Cc: openembedded-core

On Wed, 2012-12-05 at 10:16 +0000, Yi Qingliang wrote:
> I update the kernel from 3.6.6 to 3.6.9, and recompile it: bitbake linux
> 
> but it will recompile eglibc/gcc-cross first, so long time:( why?
> the eglibc will use kernel header? if so, understand.
> but what about gcc-cross?

Did you change linux-libc-headers or the kernel itself?

If you change the libc-headers, gcc-cross will rebuild since it depends
on eglibc and as you mention, eglibc depends on the headers.

Changing the target kernel recipe shouldn't rebuild any of those.

Cheers,

Richard




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

* Re: why recompile gcc-cross/eglibc when update linux package?
  2012-12-05 17:37   ` Yi Qingliang
@ 2012-12-05  9:46     ` Marcin Juszkiewicz
  0 siblings, 0 replies; 4+ messages in thread
From: Marcin Juszkiewicz @ 2012-12-05  9:46 UTC (permalink / raw)
  To: openembedded-core

W dniu 05.12.2012 18:37, Yi Qingliang pisze:
> I think the version of linux-libc-headers should be same as kernel, in other 
> words, use same source code, so I have updated both of them.

They do not have to. We used 2.6 linux-libc-headers with 2.4 kernels in
past.



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

* why recompile gcc-cross/eglibc when update linux package?
@ 2012-12-05 10:16 Yi Qingliang
  2012-12-05  9:29 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Yi Qingliang @ 2012-12-05 10:16 UTC (permalink / raw)
  To: openembedded-core

I update the kernel from 3.6.6 to 3.6.9, and recompile it: bitbake linux

but it will recompile eglibc/gcc-cross first, so long time:( why?
the eglibc will use kernel header? if so, understand.
but what about gcc-cross?

Yi Qingliang
Nanjing Jilong



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

* Re: why recompile gcc-cross/eglibc when update linux package?
  2012-12-05  9:29 ` Richard Purdie
@ 2012-12-05 17:37   ` Yi Qingliang
  2012-12-05  9:46     ` Marcin Juszkiewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Yi Qingliang @ 2012-12-05 17:37 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

that's it!!!

I think the version of linux-libc-headers should be same as kernel, in other 
words, use same source code, so I have updated both of them.

VERY THANKS!!!

On Wednesday, December 05, 2012 09:29:18 AM Richard Purdie wrote:
> On Wed, 2012-12-05 at 10:16 +0000, Yi Qingliang wrote:
> > I update the kernel from 3.6.6 to 3.6.9, and recompile it: bitbake linux
> > 
> > but it will recompile eglibc/gcc-cross first, so long time:( why?
> > the eglibc will use kernel header? if so, understand.
> > but what about gcc-cross?
> 
> Did you change linux-libc-headers or the kernel itself?
> 
> If you change the libc-headers, gcc-cross will rebuild since it depends
> on eglibc and as you mention, eglibc depends on the headers.
> 
> Changing the target kernel recipe shouldn't rebuild any of those.
> 
> Cheers,
> 
> Richard



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

end of thread, other threads:[~2012-12-05 10:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 10:16 why recompile gcc-cross/eglibc when update linux package? Yi Qingliang
2012-12-05  9:29 ` Richard Purdie
2012-12-05 17:37   ` Yi Qingliang
2012-12-05  9:46     ` Marcin Juszkiewicz

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