Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2000 12:46:47 -0700 (MST)
From:      "David A. Bader" <dbader@eece.unm.edu>
To:        dickey@herndon4.his.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: http://x68.deja.com/=dnc/[ST_rn=ps,ST_m=ps]/getdoc.xp?AN=697444318&CO
Message-ID:  <200011251946.MAA14282@eece.unm.edu>
In-Reply-To: <200011251937.OAA01976@home.dickey.net>
References:   <200011251937.OAA01976@home.dickey.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Here is the compile line. Are the "-I" include directories okay?

cc -fpic -DPIC -O -pipe -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncu=
rses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/=
ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -=
I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libncurses/../../contrib=
/ncurses/ncurses/tinfo/alloc_entry.c -o alloc_entry.So
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1

Stop in /usr/src/lib/libncurses.

> Date: Sat, 25 Nov 2000 14:37:02 -0500
> Content-Type: text/plain; charset=3Diso-8859-1
> X-URL: http://x68.deja.com/=3Ddnc/[ST_rn=3Dps,ST_m=3Dps]/getdoc.xp?AN=3D6=
97444318&CONTEXT=3D975180941.198049811&hitnum=3D1
> From: dickey@herndon4.his.com
> Cc: dickey@herndon4.his.com
> X-MIME-Autoconverted: from 8bit to quoted-printable by home.dickey.net id=
 OAA01976
> X-SpamBouncer: 1.2 beta (5/15/00)
> X-SBPass: No Freemail Filtering
> X-SBClass: OK
> X-Sorted: Default
> 
> it most likely is an incorrect list of -I options (ncurses has to be buil=
t
> with its own headers; there are possible conflicts with headers already
> installed on the system).
> 
> >   Re: make world problem with 4.2-R (work around)
> >   Author:   "David A. Bader" <dbader@eece.unm.edu>
> >   Date:     2000/11/25
> >   Forum:    mailing.freebsd.stable
> >
> >   more headers author posting history
> >   Post Reply  =B7  Prev  =B7  Next
> >   _________________________________________________________________
> >
> >Regarding the problem I reported two days ago with "make buildworld"
> >on 4.2-RELEASE, I removed my /usr/src completely and CVSup'ed
> >4.2-RELEASE again, but still have an internal compiler error at the
> >same place (ncurses' alloc_entry.c).  At the time, I was running
> >4.1-RELEASE on a Cyrix P166 processor.  After many attempts to compile
> >this file by hand, I found a hack to get it to work, but have
> >absolutely no idea why this worked:
> >
> >% grep  MAX_ENTRY_SIZE /usr/src/contrib/ncurses/include/tic.h
> >#define MAX_ENTRY_SIZE  4096    /* maximum legal entry size */
> >
> >% diff -u /usr/src/contrib/ncurses/ncurses/tinfo/alloc_entry.c-orig  /us=
r/src/c
> >ontrib/ncurses/ncurses/tinfo/alloc_entry.c
> >--- /usr/src/contrib/ncurses/ncurses/tinfo/alloc_entry.c-orig   Thu Nov =
23 12:5
> >3:44 2000
> >+++ /usr/src/contrib/ncurses/ncurses/tinfo/alloc_entry.c        Fri Nov =
24 09:2
> >2:04 2000
> >@@ -122,7 +122,7 @@
> > _nc_wrap_entry(ENTRY * const ep)
> > /* copy the string parts to allocated storage, preserving pointers to i=
t */
> > {
> >-    int offsets[MAX_ENTRY_SIZE / 2], useoffsets[MAX_USES];
> >+    int offsets[2048], useoffsets[MAX_USES];
> >     int i, n;
> >     TERMTYPE *tp =3D &(ep->tterm);
> >
> >I successfully did a "make world", and installed a new 4.2 kernel:
> >
> >% uname -a
> >FreeBSD bean.eece.unm.edu 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Thu Nov 23=
 22:12:
> >05 MST 2000     root@bean.eece.unm.edu:/usr/obj/usr/src/sys/BEAN4  i386
> >
> >Again, I have no idea of the real cause of this problem. If anyone is
> >curious, I could try to rebuild the 4.2-RELEASE /usr/src using the
> >updated version of gcc installed with 4.2-R, and see if I still have
> >the problem with alloc_entry.c
> >
> >I do not think that this is limited to "just me", but I found several
> >other emails from folks trying to build 4.x-Releases who broke at this
> >same point.
> >
> >-david
> >
> >--
> >David A. Bader, Ph.D.                           Office: 505-277-6724
> >Dept of Electrical and Computer Engineering     FAX:    505-277-1439
> >EECE Building
> >University of New Mexico                         dbader@eece.unm.edu
> >Albuquerque, NM  87131               http://www.eece.unm.edu/~dbader
> -- 
> Thomas E. Dickey <dickey@herndon4.his.com>
> http://dickey.his.com
> ftp://dickey.his.com
> 


-- 
David A. Bader, Ph.D.                           Office: 505-277-6724
Dept of Electrical and Computer Engineering     FAX:    505-277-1439
EECE Building                                                       
University of New Mexico                         dbader@eece.unm.edu
Albuquerque, NM  87131               http://www.eece.unm.edu/~dbader



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




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