pro64-support
[Top] [All Lists]

Make Pro64 0.13 run under nue-1.0-1

To: "'pro64-support@xxxxxxxxxxx'" <pro64-support@xxxxxxxxxxx>
Subject: Make Pro64 0.13 run under nue-1.0-1
From: "Tuo, Tony" <tony.tuo@xxxxxxxxx>
Date: Wed, 30 May 2001 09:57:29 +0800
Sender: owner-pro64-support@xxxxxxxxxxx
With help from Murthy(@sgi), Ken(@sgi) and Peng(@ualberta), now I can make 
Pro64 0.13 run under nue-1.0-1. It passed an initial test of about 400 test 
cases. I didn't run into GLIBC2.2 problem with my configuration.

System configuration:
.RedHat 6.2
.GCC 2.95.2

Steps:
1. install nue-1.0-1, nue-fs-1.0-1 and ski-0.8731-1.

2. start nue and install pro64-0.01-12.ia64.rpm. Compile a program, run it and 
accept the license agreement. Without this step, a message "can't execute 
binary" appears when running programs built with pro64 013.

3. Get pro64 013 source and apply below changes(Thanks to Murthy, Ken and Peng 
for their advice on these changes):
        .The definition of V_PF_FLAGS in variants.h should have the ULL suffix 
as indicated below
                #define V_PF_FLAGS            0xffffffff00000000ULL /* Prefetch 
flags */
        .change osprey1.0/g++fe/gnu/tree.h line 1457 to
                #define DECL_BUILT_IN(NODE) (!(DECL_BUILT_IN_CLASS (NODE) == 
NOT_BUILT_IN))
        .change osprey1.0/gccfe/gnu/tree.h line 1494 to
                #define DECL_BUILT_IN(NODE) (!(DECL_BUILT_IN_CLASS (NODE) == 
NOT_BUILT_IN))

4. Get version 2.9-ia64-000717 of the ia64 assembler 'as' and copy it into 
nue/usr/bin. I copied this assembler from nue1.2 which can be downloaded from 
hp. Without this version of the assembler, several pseudo ops such as 
.copy_state, .label_state and .restorereg can't be recognized by the old 
assembler 2.9-ia64-000212.

5. Now it's time to build pro64 0.13 following the building instructions. IA64 
native library can also be built under nue with the updated assembler.

NUE 1.2 can be found at http://www.software.hp.com/products/LIA64.

Any comments are welcome.

Thanks.
Tony


<Prev in Thread] Current Thread [Next in Thread>