* linux-libc-headers-2.6.17
@ 2006-09-20 9:18 sathesh babu
2006-09-20 19:07 ` linux-libc-headers-2.6.17 Jim Wilson
0 siblings, 1 reply; 5+ messages in thread
From: sathesh babu @ 2006-09-20 9:18 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
Hi,
I would like build toolchain to port Linux-2.6.17 kernel on MIPS
processor.
Can you please tell me where can i get linux-libc-headers-2.6.17.0
sources to build toolchain using buildroot.
Has anybody built toolchain for Linux-2.6.17 kernel ver.
Regards,
Sathesh
---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
[-- Attachment #2: Type: text/html, Size: 769 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-libc-headers-2.6.17
2006-09-20 9:18 linux-libc-headers-2.6.17 sathesh babu
@ 2006-09-20 19:07 ` Jim Wilson
2006-09-21 4:21 ` linux-libc-headers-2.6.17 Jim Gifford
0 siblings, 1 reply; 5+ messages in thread
From: Jim Wilson @ 2006-09-20 19:07 UTC (permalink / raw)
To: sathesh babu; +Cc: linux-mips
On Wed, 2006-09-20 at 10:18 +0100, sathesh babu wrote:
> Can you please tell me where can i get
> linux-libc-headers-2.6.17.0
There is probably no such package. The linux headers are part of the
linux kernel sources, and the glibc headers are part of the glibc
sources. Both have convenient makefile targets so that you can install
the headers when starting a build.
Some distro vendors may extract out these headers into a separate
package for convenience. In that case, you either get the package from
the distro vendor, or if they don't have the package you are looking
for, you make it yourself.
I'd suggest looking at Dan Kegel's crosstool package, which provides
scripts showing how to do a build from scratch. There is a pointer to
it on the www.linux-mips.org wiki. See
http://www.linux-mips.org/wiki/Toolchains
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-libc-headers-2.6.17
2006-09-20 19:07 ` linux-libc-headers-2.6.17 Jim Wilson
@ 2006-09-21 4:21 ` Jim Gifford
2006-09-21 12:31 ` linux-libc-headers-2.6.17 sathesh babu
2006-10-03 14:35 ` linux-libc-headers-2.6.17 sathesh babu
0 siblings, 2 replies; 5+ messages in thread
From: Jim Gifford @ 2006-09-21 4:21 UTC (permalink / raw)
To: Jim Wilson; +Cc: sathesh babu, linux-mips
Jim Wilson wrote:
> I'd suggest looking at Dan Kegel's crosstool package, which provides
> scripts showing how to do a build from scratch. There is a pointer to
> it on the www.linux-mips.org wiki. See
> http://www.linux-mips.org/wiki/Toolchains
>
Actually my Cross-LFS team has created a sanitation script to clean the
headers, you can get the script from http://headers.cross-lfs.org, or
you can download a bundle from http://ftp.jg555.com/headers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-libc-headers-2.6.17
2006-09-21 4:21 ` linux-libc-headers-2.6.17 Jim Gifford
@ 2006-09-21 12:31 ` sathesh babu
2006-10-03 14:35 ` linux-libc-headers-2.6.17 sathesh babu
1 sibling, 0 replies; 5+ messages in thread
From: sathesh babu @ 2006-09-21 12:31 UTC (permalink / raw)
To: Jim Gifford, Jim Wilson; +Cc: sathesh babu, linux-mips
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
Hi Jim,
Thanks alot.
Does http://ftp.jg555.com/headers/ site already have sanitized headers?.
That means can i use http://ftp.jg555.com/headers/linux-headers-2.6.17.tar.bz2 sources as sanitized headers to build toolchain for Linux-2.6.17.
If Yes, can i directly use these sources in buildroot to build the toolchain?
Regards,
Sathesh
Jim Gifford <maillist@jg555.com> wrote:
Jim Wilson wrote:
> I'd suggest looking at Dan Kegel's crosstool package, which provides
> scripts showing how to do a build from scratch. There is a pointer to
> it on the www.linux-mips.org wiki. See
> http://www.linux-mips.org/wiki/Toolchains
>
Actually my Cross-LFS team has created a sanitation script to clean the
headers, you can get the script from http://headers.cross-lfs.org, or
you can download a bundle from http://ftp.jg555.com/headers
---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
[-- Attachment #2: Type: text/html, Size: 1660 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-libc-headers-2.6.17
2006-09-21 4:21 ` linux-libc-headers-2.6.17 Jim Gifford
2006-09-21 12:31 ` linux-libc-headers-2.6.17 sathesh babu
@ 2006-10-03 14:35 ` sathesh babu
1 sibling, 0 replies; 5+ messages in thread
From: sathesh babu @ 2006-10-03 14:35 UTC (permalink / raw)
To: Jim Gifford, Jim Wilson; +Cc: sathesh babu, linux-mips
[-- Attachment #1: Type: text/plain, Size: 2317 bytes --]
Hi Jim,
I have downloaded 2.6.18 sanitized headers from the following link which was suggested by you.
http://ftp.jg555.com/headers
I am trying to build the toolchain for MIPS for linux-2.6.18 kernel using these headers and uClibc-0.9.28 and gcc-3.4.3.
When i tried to compile busybox-1.00 i get the following error
"undefined reference to `getpageshift' ".
Then i searched in the mailing list and found your article
http://linuxfromscratch.org/pipermail/lfs-dev/2006-July/057591.html
I added the following definition for getpageshift(), suggested in the above link in the asm-mips/page.h file
Here is a santized version
> #define PAGE_SIZE (getpagesize())
> static __inline__ int getpageshift()
> {
> int pagesize = getpagesize();
> return (__builtin_clz(pagesize) ^ 31);
> }
I am not able to find definition for getpagesize().Can you please help me finding the definition for same. Is it in kernel or in userland?.
BTW:
I tried the same thing on Linux-2.6.17.13. I could build the toolchain by modifying the page.h as mentioned above. I could build the images for both Linux-2.6.17.13 and root file system for MIPS processor.But when i tried to execute any command pointing to busybox i was getting kernel crash.
When i tried to debug this issue i found that "asm/page.h" file is included in some of the files in the busybox.
Is this crash because of getpageshift() which is defined in asm-mips/page.h.?.
What is the expected output of getpagesize()?.
Could you advise a solution for this?.
Regards,
Sathesh
Jim Gifford <maillist@jg555.com> wrote:
Jim Wilson wrote:
> I'd suggest looking at Dan Kegel's crosstool package, which provides
> scripts showing how to do a build from scratch. There is a pointer to
> it on the www.linux-mips.org wiki. See
> http://www.linux-mips.org/wiki/Toolchains
>
Actually my Cross-LFS team has created a sanitation script to clean the
headers, you can get the script from http://headers.cross-lfs.org, or
you can download a bundle from http://ftp.jg555.com/headers
---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
[-- Attachment #2: Type: text/html, Size: 3574 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-03 14:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 9:18 linux-libc-headers-2.6.17 sathesh babu
2006-09-20 19:07 ` linux-libc-headers-2.6.17 Jim Wilson
2006-09-21 4:21 ` linux-libc-headers-2.6.17 Jim Gifford
2006-09-21 12:31 ` linux-libc-headers-2.6.17 sathesh babu
2006-10-03 14:35 ` linux-libc-headers-2.6.17 sathesh babu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.