tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: alex () samwise ! cis ! upenn ! edu (Alex Garthwaite)
To: tru64-unix-managers
Subject: SUMMARY: building gcc-2.7.0 on DEC Unix 3.2c
Date: Sun, 27 Aug 1995 00:16:03 +0000	[thread overview]
Message-ID: <96075322406761.tru64-unix-managers.marc@archive.invalid> (raw)

I received messages from a number of people experiencing the
same problem as well as two offering solutions. Jason Yanowitz
(yanowitz@eternity.cs.umass.edu) pointed out that in most cases
DEC's cc produces better code. Since I also need g++, I was
still stuck. The answer came from Dan Riley <dsr@lns598.lns.cornell.edu>
who wrote the note below. This patch allowed me to build gcc
although I did have to start from a clean distribution. Thanks Dan.
Here is Dan's note:

>    mips-tfile, /tmp/ccaaouEa.s:0 index 4294967295 is out of bounds for lstrs, max is 0, mips-tfile.c line# 4643

Apparently in 3.2c 'as' stopped emitting some debugging records when
debugging is not selected.  The patch below should fix it.  Please let
me know if it works or not--I haven't had a chance to try it on the
release 3.2c, and I'd like some confirmation that it works before
distributing it more widely.

--
Dan Riley                          Internet:  dsr@lns598.lns.cornell.edu
Wilson Lab, Cornell University     HEPNET/SPAN: lns598::dsr (44630::dsr)
	      "Distance means nothing/To me." -Kate Bush

*** config/alpha/alpha.h~	Thu Jun 15 09:08:45 1995
--- config/alpha/alpha.h	Fri Jun 23 13:09:21 1995
***************
*** 43,49 ****
  #define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
  
  /* No point in running CPP on our assembler output.  */
! #define ASM_SPEC "-nocpp %{pg}"
  
  /* Under OSF/1, -p and -pg require -lprof1.  */
  
--- 43,49 ----
  #define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
  
  /* No point in running CPP on our assembler output.  */
! #define ASM_SPEC "-g3 -nocpp %{pg}"
  
  /* Under OSF/1, -p and -pg require -lprof1.  */
  


-- 
Alex Garthwaite                                  Internet: alex@cis.upenn.edu
Systems Programmer                           Computer and Information Science
University of Pennsylvania                                     (215) 898-5617

                 reply	other threads:[~1995-08-27  0:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox