Where do we say you need the 2.6.13 headers? It's been a couple of months since I used crosstools, but if I remember correctly it grabs all the files it needs to compile and you shouldn't have to get anything manually.

Ali


On May 28, 2008, at 1:25 PM, Beckmann, Brad wrote:

Hi Ali,

I'm having a problem finding the the linux libc headers for 2.6.13.
There are a bunch of libc hearders up to 2.6.12 at this website:
(http://ep09.pld-linux.org/~mmazur/linux-libc-headers/), but I can't
find 2.6.13 or anything beyond that.  The wiki suggests using 2.6.13.
Do you still recommend that version? Is there any benefit for upgrading
to the 2.6.22 headers?  Do I need to create my own hearders tarball or
is there a website containing all the libc hearder tarballs that I can't
seem to find?

Please excuse the list of question, but this is my first exposure to
much of the linux/libc environment.

Thanks,

Brad


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ali Saidi
Sent: Tuesday, May 27, 2008 7:20 PM
To: M5 users mailing list
Subject: Re: [m5-users] Config File for Linux 2.6.22

Hi Brad,

I'm glad you're finding it useful. If you run into something that
isn't addressed in the wiki please let us know or add it a bit. The
more people who contribute the more complete it will become.

Thanks,
Ali



On May 27, 2008, at 9:52 PM, Beckmann, Brad wrote:

Hi Ali,

Thanks for the suggestion.  I tried that earlier today and I ran into
the problem that the crosstool script wanted to write the /opt
directory.  I mistakenly thought that meant crosstool script required
root permission.  In actuality, it doesn't and the script runs just
fine
if you specify a different directory.

Thanks for pushing me to think harder about it.  :)

By the way, thanks for creating the wiki page...it is definitely
helpful.

Brad


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
Behalf Of Ali Saidi
Sent: Tuesday, May 27, 2008 6:20 PM
To: M5 users mailing list
Subject: Re: [m5-users] Config File for Linux 2.6.22

Hi Brad,

The only thing you can do is recompile the cross compiler on your
system or try the other 3.X version of the alpha compiler we have on
the website. The crosstool script (http://www.kegel.com/crosstool/)
helps with building a cross-compiler, but it normally takes a bit of
poking and searching on the cross tools mailing list to make it build.

Ali




On May 27, 2008, at 6:59 PM, Beckmann, Brad wrote:

Hi Ali,

Thanks for the response. I've created a config file for 2.6.22 and I
now have a follow-up question about cross-compiling.  I've been
following the directions you published on the website


(http://www.m5sim.org/wiki/index.php/Using_linux-dist_to_Create_Disk_Ima
ges_and_Kernels_for_M5) and I'm blocked on a glibc error.  The
particular error is the following:

svvint02[/proj/aatl_perfmod_arch/users/bbeckman/m5-ext/linux-2.6/
linux-2
.6]% make ARCH=alpha
CROSS_COMPILE=../../m5_downloads/gcc-4.1.1-glibc-2.3.5/alpha- unknown-
lin
ux-gnu/bin/alpha-unknown-linux-gnu- vmlinux
../../m5_downloads/gcc-4.1.1-glibc-2.3.5/alpha-unknown-linux-gnu/ bin/
alp
ha-unknown-linux-gnu-gcc: /lib64/tls/libc.so.6: version `GLIBC_2.4'
not
found (required by
../../m5_downloads/gcc-4.1.1-glibc-2.3.5/alpha-unknown-linux-gnu/ bin/
alp
ha-unknown-linux-gnu-gcc)
CHK     include/linux/version.h
CHK     include/linux/utsrelease.h
CC      arch/alpha/kernel/asm-offsets.s
../../m5_downloads/gcc-4.1.1-glibc-2.3.5/alpha-unknown-linux-gnu/ bin/
alp
ha-unknown-linux-gnu-gcc: /lib64/tls/libc.so.6: version `GLIBC_2.4'
not
found (required by
../../m5_downloads/gcc-4.1.1-glibc-2.3.5/alpha-unknown-linux-gnu/ bin/
alp
ha-unknown-linux-gnu-gcc)
make[1]: *** [arch/alpha/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

So I noticed that the libc version in my environment is libc-2.3.2.so
and I believe this is the source of my problem:

svvint02[/tool/pandora/.package/glib-2.4.4]% ls -l /lib64/tls/
libc.so.6
lrwxrwxrwx    1 root     root           13 Mar 29 18:30
/lib64/tls/libc.so.6 -> libc-2.3.2.so

Would you suspect this is the problem as well?  I don't have root
permissions on the machines I'm using so I can't directly install a
newer version of libc.  I just wanted to check if there was another
solution possible.

Thanks,

Brad

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
Behalf Of Ali Saidi
Sent: Friday, May 23, 2008 7:45 PM
To: M5 users mailing list
Subject: Re: [m5-users] Config File for Linux 2.6.22

Hi Brad,

I created the other config files, but I don't have one for 2.6.22. If you want one you should just start with the 2.6.18 config file and if
you attempt to make the kernel you'll get prompted for any new
parameters that weren't in 2.6.18.

Ali



On May 23, 2008, at 9:59 PM, Beckmann, Brad wrote:

Hi,

Could you please point me to the patch file for the .config.m5 file
needed for Linux 2.6.22?  I notice that the Linux Patches tarball
contains defaultconfig files for 2.6.13, 2.6.16, and 2.6.18, but not
2.6.22.

Thanks for your help!

Brad

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to