Hello Malek: This is the crosstool-ng config file (I followed the config file for the 64-bit alpha cross compiler) for the 32-bit alpha cross compiler available through the M5 page: http://www.cse.usf.edu/~sroy/techres/m5res/xtools/alphaev67-unknown-linux-gnu.ct_config
You may follow it to configure your own build. -Soumyaroop On Fri, Jun 25, 2010 at 1:07 PM, Malek Musleh <malek.mus...@gmail.com> wrote: > Hello, > > I am trying to build an Alpha Cross Compiler using crosstool, but am > able to successfully build it and compile some sample test programs, > but when I try to run it in M5 (Alpha_SE mode) i get an error saying: > > > FATAL: kernel too old > panic: Tried to access unmapped address 0x30. > @ cycle 316500 > > Now I tried compiling this test program using the prebuilt Alpha Cross > Compilers on the M5 Wiki page, and they run just fine in M5. Could > someone provide the specific menuconfig for ct-ng for which the ones > on the website were built, as well as which version of crosstool was > used? > > The options I used were derived from the Parsec Report on M5 (from > University of Texas-Austin) > > > • Target options > – Target Architecture - alpha > – Variant - ev67 > • Operating System > – Target OS - linux > • Binary utilities > – binutils version - 2.19.1 > • C compiler > – gcc version - 4.3.4 > – Additional supported languages: C++ > • C-library > – C library - glibc > – glibc version - 2.6.1 > – Threading implementation to use - nptl > > The only difference I see between this set of configuration and the > one I can tell from the prebuilt one on the M5 wiki is the gcc > version (4.3.2 instead of 4.3.4) but I don't think that's where the > error is coming from. I thought maybe it was an issue of 32-bit / > 64-bit machine on which I was building the cross compiler, but I tried > using both the 32-bit/64-bit prebuilt cross compilers, but my program > still executed just fine in M5 regardless of which was prebuilt > compiler was used. > > > My other question is in regards to references of how to modify the > alpha cross compiler to recognize new instructions that I add to the > ISA (my reason for building the cross compiler myself as opposed to > using the prebuilt ones). I came across this previous thread: > http://www.mail-archive.com/m5-users@m5sim.org/msg03131.html > and see that I have to modify tc-alpha.c/tc-alpha.h in the gas/config > directory, but I can't seem to find some more specifics as to > what/where in those files? Suggestions/directions on this? > > Thanks. > > > Malek > _______________________________________________ > m5-users mailing list > m5-users@m5sim.org > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > -- Soumyaroop Roy Ph.D. Candidate Department of Computer Science and Engineering University of South Florida, Tampa http://www.csee.usf.edu/~sroy _______________________________________________ m5-users mailing list m5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/m5-users