From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97315813126749.tru64-unix-managers.marc@archive.invalid> From: Paul Reilly Date: Thu, 02 Nov 2000 09:41:16 +0000 To: tru64-unix-managers Subject: [SUMMARY] segfault building gcc 2.95.2 on Tru64 5.1 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97315813126749 Thanks to all those who replied (Daniel Forsgren, Jan Bacher, Jim Jennis) and espeically Steve Thompson who posted this solution having experienced the same problem, namely the following segfault while compiling gcc 2.95.2 on Tru64 unix 5.1 _fixxfdi mips-tfile, /tmp/ccmAFfUm.s:8 Invalid .stabs/.stabn directive, value not found line: #.stabs "/usr/local/sources/BUILD/gccbuild/gcc/",100,0,0,$Ltext0 mips-tfile, /tmp/ccmAFfUm.s:9 Invalid .stabs/.stabn directive, value not found line: #.stabs "../../gcc-2.95.2/gcc/libgcc2.c",100,0,0,$Ltext0 Here's the solution: > We eventually discovered that it was due to changes in the assembler in > Tru64 V5. I created a shell script called "as" that contained: > > #!/bin/sh > /usr/bin/as -oldas $* > >As long as this is in your PATH ahead of /usr/bin/as, gcc now compiles OK >(although as of yet we haven't used it to build anything else) > Once I did this, gcc compiled on 5.1 with no problems. NOTE, that I had previously patched ~/gcc-2.95.2/gcc/configure with the following (as described in msg00467.html in the archives) *-*-osf[45]*) tm_file="${tm_file} alpha/osf.h" # Some versions of OSF4 (specifically X4.0-9 296.7) have # a broken tar, so we use cpio instead. install_headers_dir=install-headers-cpio ;; esac case $machine in *-*-osf4.0[b-z] | *-*-osf4.[1-9]*| *-*-osf5*) target_cpu_default=MASK_SUPPORT_ARCH ;; esac Paul