From owner-freebsd-stable Fri Nov 24 8:32:37 2000 Delivered-To: freebsd-stable@freebsd.org Received: from cielo.eece.unm.edu (cielo.eece.unm.edu [129.24.24.11]) by hub.freebsd.org (Postfix) with ESMTP id 7C0AA37B479 for ; Fri, 24 Nov 2000 08:32:34 -0800 (PST) Received: from jalapeno.eece.unm.edu ([129.24.24.88] helo=eece.unm.edu) by cielo.eece.unm.edu with esmtp (Exim 3.12 #4) id 13zLm3-00027P-00; Fri, 24 Nov 2000 09:32:31 -0700 Received: (from dbader@localhost) by eece.unm.edu (8.9.3+Sun/8.9.1) id JAA08991; Fri, 24 Nov 2000 09:32:28 -0700 (MST) Date: Fri, 24 Nov 2000 09:32:28 -0700 (MST) Message-Id: <200011241632.JAA08991@eece.unm.edu> X-Authentication-Warning: jalapeno.eece.unm.edu: dbader set sender to dbader@eece.unm.edu using -f From: "David A. Bader" To: freebsd-stable@freebsd.org Cc: Aron Warren , Chuck Robey Subject: Re: make world problem with 4.2-R (work around) Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 /usr/src/contrib/ncurses/ncurses/tinfo/alloc_entry.c --- /usr/src/contrib/ncurses/ncurses/tinfo/alloc_entry.c-orig Thu Nov 23 12:53:44 2000 +++ /usr/src/contrib/ncurses/ncurses/tinfo/alloc_entry.c Fri Nov 24 09:22:04 2000 @@ -122,7 +122,7 @@ _nc_wrap_entry(ENTRY * const ep) /* copy the string parts to allocated storage, preserving pointers to it */ { - int offsets[MAX_ENTRY_SIZE / 2], useoffsets[MAX_USES]; + int offsets[2048], useoffsets[MAX_USES]; int i, n; TERMTYPE *tp = &(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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message