compiling 2.5.60 on hp simulator
Hello list.
I'm having trouble compiling kernel 2.5.60 on the hp-simulator. I'm using the
latest(ski version 0943l) IA-64 Linux Developers Kit from the CD. After make menuconfig (in
the nue enviroment) I do make and the Makefile from arch/ia64 tells me that I have to update my gas (as --version = 2.9-ia64-000717). So I update it from the URL given by the Makefile and try again. Then i get gas message: error file number less then one. (from arch/ia64/tools/print_offsets)
I also tried using the lastest binutils from gnu compiled with target=ia64-hp-linux and
got the same error message.
If you have ANY thoughts or ideas about what to do (maybe update the whole toolchain, gcc , etc)
it would be most welcome. If this is a utterly braindead question i apologies for waisting your time.
Thank you
Petur
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Petur Thors
Petur> Hello list. I'm having trouble compiling kernel 2.5.60 on Petur> the hp-simulator. I'm using the latest(ski version 0943l) Petur> IA-64 Linux Developers Kit from the CD. After make menuconfig Petur> (in the nue enviroment) I do make and the Makefile from Petur> arch/ia64 tells me that I have to update my gas (as --version Petur> = 2.9-ia64-000717). So I update it from the URL given by Petur> the Makefile and try again. Then i get gas message: error Petur> file number less then one. (from
Petur> arch/ia64/tools/print_offsets) I also tried using the lastest Petur> binutils from gnu compiled with target=ia64-hp-linux and got Petur> the same error message. If you have ANY thoughts or ideas Petur> about what to do (maybe update the whole toolchain, gcc , Petur> etc) it would be most welcome. If this is a utterly braindead Petur> question i apologies for waisting your time.
The "as" binary that you downloaded is an ia64 binary. You don't want that because running "as" under the simulator would be too slow. Someone would have to build a cross-version of "as" for NUE. It should be just a matter of (a) downloading the latest binutils snapshot onto an x86 machine, (b) configure it for target ia64-linux,
(c) build it, (d) copy resulting as-new into NUE (it's best to link as-new statically, to avoid shared-library dependency issues). If you (or someone else) does that, I certainly would be happy to host the x86-binary of the fixed ia64 assembler on ftp.hpl.hp.com.
--david
Quoted 1 line · Petur Thors
gas message: error file number less then one.\
What gcc version are you using? You can get this error if you try to use an old gcc version with a new gas version. This is because we made a change to how the file name info is emitted for the DWARF2 debug info. I suspect you are using a gcc-2.9x release, when you should be using a gcc-3.x release.
Jim