Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 1999 20:05:14 -0500 (CDT)
From:      Jim Bryant <jbryant@argus.tfs.net>
To:        obrien@FreeBSD.ORG
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: egcs breakage
Message-ID:  <199908100105.UAA55305@argus.tfs.net>
In-Reply-To: <19990809153041.A68888@dragon.nuxi.com> from David O'Brien at "Aug 9, 99 03:30:41 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
In reply:
> From POPmail Mon Aug  9 17:43:12 1999
> Delivered-To: freebsd-ports@freebsd.org
> Date: Mon, 9 Aug 1999 15:30:41 -0700
> From: "David O'Brien" <obrien@FreeBSD.ORG>
> To: jbryant@tfs.net
> Cc: freebsd-ports@FreeBSD.ORG
> Subject: Re: egcs breakage
> Message-ID: <19990809153041.A68888@dragon.nuxi.com>
> Reply-To: obrien@FreeBSD.ORG
> References: <199908092115.QAA54939@argus.tfs.net>
> X-Mailer: Mutt 0.95.3i
> In-Reply-To: <199908092115.QAA54939@argus.tfs.net>; from Jim Bryant on Mon, Aug 09, 1999 at 04:15:45PM -0500
> X-Operating-System: FreeBSD 4.0-CURRENT
> Organization: The NUXI BSD group
> X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3  90 76 5D 69 58 D9 98 7A
> X-Pgp-Keyid: 34F9F9D5
> Sender: owner-freebsd-ports@FreeBSD.ORG
> X-Loop: FreeBSD.org
> Precedence: bulk
> X-UIDL: 7736280ef4dbcb7ef311d1b2d32e69eb

> On Mon, Aug 09, 1999 at 04:15:45PM -0500, Jim Bryant wrote:
> > cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I.. -I../intl -I. -O -mpentiumpro -march=pentiumpro
>                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> What do you get if you remove these?  EGCS-1.1.2 isn't known to be the
> most robust with these directives.  The developers were working harder on
> language (C++ mostly) standard compliance than optimizations in 1.1.x.

 7:51:56pm  wahoo(47): /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I.. -I../intl -I.    -O -mpentiumpro -march=pentiumpro -fomit-frame-pointer -pipe -c metaseq.c
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I.. -I../intl -I. -O -mpentiumpro -march=pentiumpro -fomit-frame-pointer -pipe -c metaseq.c -o metaseq.o
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/egcs/gcc/reload1.c:1281: Internal compiler error in function reload

 7:52:11pm  wahoo(48): /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I.. -I../intl -I. -O -mpentiumpro -fomit-frame-pointer -pipe -c metaseq.c
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I.. -I../intl -I. -O -mpentiumpro -fomit-frame-pointer -pipe -c metaseq.c -o metaseq.o
echo timestamp > metaseq.lo

 7:52:34pm  wahoo(49): 

that was done by hand on the offending file...

interesting.  i didn't suspect the machine optimizations myself, as i
have never had a problem with them.  as it turns out, it seems to have
been the -march=pentiumpro option that did it.  -mpentiumpro seems to
not cause a problem.

The way i understood the -march=cputype option, i always thought that
was a ld issue, not a compiler one.  at least, that is the way i would
implement it.  i wouldn't think that EVERY object file would have CPU
detection code in it.

needless to say, this is the only file in the entire distribution
[including -ports] that i have had this internal compiler error with,
and i cvsup world nightly...

still this is better than the old days when i used to be able to break
mickeysoft C with a one-line program under dog/winblowz.  [remember
the infamous "internal compiler error in regMD.c, please call
mickeysoft tech support" message?

jim
-- 
All opinions expressed are mine, if you    |  "I will not be pushed, stamped,
think otherwise, then go jump into turbid  |  briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!!      |  numbered!" - #1, "The Prisoner"
------------------------------------------------------------------------------
Inet: jbryant@tfs.net    AX.25: kc5vdj@wv0t.#neks.ks.usa.noam     grid: EM28pw
voice: KC5VDJ - 6 & 2 Meters AM/FM/SSB, 70cm FM.   http://www.tfs.net/~jbryant
------------------------------------------------------------------------------
HF/6M/2M: IC-706-MkII, 2M: HTX-212, 2M: HTX-202, 70cm: HTX-404, Packet: KPC-3+


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908100105.UAA55305>