[TUHS] Having dickens of a time compiling gcc-4.4.7 on tru64 .

babydr DBA James W. Laferriere babydr at baby-dragons.com
Thu Feb 27 12:23:24 AEST 2025


 	Hello Anyone interested in this silliness ,  I am just recently trying 
to reacquaint myself with this os .  Which I had a decent passing knowledge of 
at one time .  Not any real OS level or driver coding ,  But was least decently 
acquainted .  Now on with the preliminaries ...

Any good software items to update on this ol'thing that give me a better chance 
of completing this task ,  Greatly welcome .

I have folowed ,  ths article which is a copy from (imo) several places ,  tho 
all of them are using a axp-Emulator .

<https://gist.github.com/jamesy0ung/eeac82997ebeae92873d1f2844a14ac3>

I am using (I'll admit) a REAL AlphaStation 200 (4/100) with 384MB main memory & 
three disks all are U160's 2x4G+1x72G ,  OS is installed on the 72G(now) & has a 
/home dir for users rather that the default location .  See info & error during 
make of gcc .  Those numbers for the allocation & total have been exactly the 
same accross many iterations of attempts in that exact file .

# sizer -v
HP Tru64 UNIX V5.1B (Rev. 2650); Sun Feb 23 19:43:32 AKST 2025

It is at patch level 008 .

and had successfully compiled & installed all the prerequisites shown in the 
article mentioned above .

It Seems the OS doesn't know how to access the swap properly .

root at as200:/home/buildnfs/gcc-4.4.7# env PATH=/usr/local/bin:/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/dt/bin:~/bin:. make
... many lines snipped ...
/home/buildnfs/gcc-4.4.7/host-alpha-dec-osf5.1b/prev-gcc/xgcc 
-B/home/buildnfs/gcc-4.4.7/host-alpha-dec-osf5.1b/prev-gcc/ 
-B/usr/local/alpha-dec-osf5.1b/bin/ -c  -g -$

cc1: out of memory allocating 135816 bytes after a total of 796519376 bytes
make[3]: *** [fold-const.o] Error 1
make[3]: Leaving directory `/home/buildnfs/gcc-4.4.7/host-alpha-dec-osf5.1b/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/buildnfs/gcc-4.4.7'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/buildnfs/gcc-4.4.7'
make: *** [all] Error 2


# swapon -s
Swap partition /dev/disk/dsk2g:
     Allocated space:       249774 pages (1.91GB)
     In-use space:            1520 pages (  0%)
     Free space:            248254 pages ( 99%)

Swap partition /dev/disk/dsk1b:
     Allocated space:        49152 pages (384MB)
     In-use space:            1630 pages (  3%)
     Free space:             47522 pages ( 96%)

Swap partition /dev/disk/dsk0b:
     Allocated space:        49152 pages (384MB)
     In-use space:            1618 pages (  3%)
     Free space:             47534 pages ( 96%)


Total swap allocation:
     Allocated space:       348078 pages (2.66GB)
     In-use space:            4768 pages (  1%)
     Available space:       343310 pages ( 98%)


# hwmgr show scsi

         SCSI                DEVICE    DEVICE  DRIVER NUM  DEVICE FIRST
  HWID:  DEVICEID HOSTNAME   TYPE      SUBTYPE OWNER  PATH FILE   VALID PATH
-------------------------------------------------------------------------
    42:  0        as200      cdrom     none    0      1    cdrom0 [0/4/0]
    43:  1        as200      disk      none    2      1    dsk0   [1/0/0]
    44:  2        as200      disk      none    2      1    dsk1   [1/1/0]
    45:  3        as200      disk      none    2      1    dsk2   [1/2/0]


# hwmgr -view dev
  HWID: Device Name          Mfg      Model            Location
  ------------------------------------------------------------------------------
     3: /dev/dmapi/dmapi
     4: /dev/scp_scsi
     5: /dev/kevm
    29: /dev/disk/floppy0c            3.5in floppy     fdi0-unit-0
    42: /dev/disk/cdrom0c    TOSHIBA  DVD-ROM SD-M1401 bus-0-targ-4-lun-0
    43: /dev/disk/dsk0c      IBM      DDRS-34560D      bus-1-targ-0-lun-0
    44: /dev/disk/dsk1c      COMPAQ   BD07286224       bus-1-targ-1-lun-0
    45: /dev/disk/dsk2c      COMPAQ   ST34371W         bus-1-targ-2-lun-0
    46: /dev/random
    47: /dev/urandom

 	Tia ,  JimL
-- 
+---------------------------------------------------------------------+
| James   W.   Laferriere    | System    Techniques | Give me VMS     |
| Network & System Engineer  | 3237     Holden Road |  Give me Linux  |
| jiml at system-techniques.com | Fairbanks, AK. 99709 |   only  on  AXP |
+---------------------------------------------------------------------+


More information about the TUHS mailing list