From owner-freebsd-stable Mon Mar 26 17:13:27 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mgate05.so-net.ne.jp (mgate05.so-net.ne.jp [210.139.254.152]) by hub.freebsd.org (Postfix) with ESMTP id 29E8837B71A for ; Mon, 26 Mar 2001 17:13:19 -0800 (PST) (envelope-from ipfw@ya3.so-net.ne.jp) Received: from mail.ya3.so-net.ne.jp (mspool11.so-net.ne.jp [210.139.248.11]) by mgate05.so-net.ne.jp (8.8.8+3.0Wbeta9/3.6W01031514) with ESMTP id KAA12191; Tue, 27 Mar 2001 10:13:17 +0900 (JST) Received: from localhost (p78a21d.kngwnt01.ap.so-net.ne.jp [61.120.162.29]) by mail.ya3.so-net.ne.jp (8.9.3/3.7W01022316) with ESMTP id KAA18575; Tue, 27 Mar 2001 10:13:15 +0900 (JST) To: kris@obsecurity.org Cc: Yoshihiro.Koya@math.yokohama-cu.ac.jp, fm@astral.ntu-kpi.kiev.ua, freebsd-stable@freebsd.org Subject: Re: buildworld broken in 4.3-RC? From: Yoshihiro Koya In-Reply-To: <20010326164442.A10495@xor.obsecurity.org> References: <20010327021150.A77643@astral.ntu-kpi.kiev.ua> <20010327094548X.koya@pluto.math.yokohama-cu.ac.jp> <20010326164442.A10495@xor.obsecurity.org> X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Tue_Mar_27_10:17:43_2001_809)--" Content-Transfer-Encoding: 7bit Message-Id: <20010327102038Q.koya@pluto.math.yokohama-cu.ac.jp> Date: Tue, 27 Mar 2001 10:20:38 +0900 X-Dispatcher: imput version 990905(IM130) Lines: 164 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----Next_Part(Tue_Mar_27_10:17:43_2001_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, From: Kris Kennaway Subject: Re: buildworld broken in 4.3-RC? Date: Mon, 26 Mar 2001 16:44:42 -0800 Message-ID: <20010326164442.A10495@xor.obsecurity.org> > On Tue, Mar 27, 2001 at 09:45:48AM +0900, Yoshihiro Koya wrote: > > > Did you set CPUTYPE flag in your /etc/make.conf? > > If you did it, it might be meaningful to try to make world again > > without CPUTYPE flag. > > > > CPUTYPE flag may cause troubles with some kinds of CPU. > > I had a similar problem with setting CPUTYPE=k6-2. > > After removing that from my /etc/make.conf, however, > > I've never had such a problem. > > Hmm..this should only be a problem if you were trying to build on a > machine which isn't actually a k6-2. I've not had any problems with > gcc optimizing for k6 machines (CPUTYPE=k6-2 is the same as CPUTYPE=k6 > as far as gcc goes), though I've not done so for a few weeks. % uname -a FreeBSD presario.my.domain 4.3-RC FreeBSD 4.3-RC #0: \ Tue Mar 27 03:56:27 JST 2001 \ root@presario.my.domain:/usr/obj/usr/src/sys/presario i386 % sysctl hw.model hw.model: AMD-K6(tm) 3D processor But please not that my problem happened when 4.3-BETA was running. The above uname output is a one as of today. The detail output produced by dmesg is attached to the end of this mail. The log of my make world is as follows. Please note that this was one during I was suffered from the problem. ---- presario# make -j4 world -------------------------------------------------------------- >>> elf make world started on Wed Mar 21 01:00:29 JST 2001 -------------------------------------------------------------- [snip] cc -O -pipe -march=k6 -Wall -I/usr/obj/usr/src/i386/usr/include \ -c /usr/src/lib/libdisk/write_disk.c -o write_disk.o cc: Internal compiler error: program cc1 got fatal signal 11 *** Error code 1 1 error [snip] presario# make -j4 world NOCLEAN=true -------------------------------------------------------------- >>> elf make world started on Wed Mar 21 01:57:15 JST 2001 -------------------------------------------------------------- [snip] cc -O -pipe -march=k6 -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" \ -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools \ -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools \ -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc \ -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config \ -DTARGET_NAME=\"i386-unknown-freebsd\" \ -DIN_GCC -I/usr/obj/usr/src/i386/usr/include \ -c /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/combine.c -o combine.o cc: cpp: {standard input}: Internal compiler error: program cc1 got \ fatal signal 11output pipe has been closedAssembler messages: {standard input}:1005: *** Error code 1 Warning: Partial line at end of file ignoredStop in /usr/src/gnu/usr.bin/cc/cc_int. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 [snip] Stop in /usr/src. presario# make world NOCLEAN=true [snip] cc -O -pipe -march=k6 -I. -DDISASSEMBLER -DNO_X \ -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/doscmd/dos.c {standard input}: cc: Internal compiler error: program cc1 got fatal signal 11 *** Error code 1 [snip] Stop in /usr/src. presario# Assembler messages: {standard input}:1137: Warning: Partial line at end of file ignored ---- This make world session was frequently prevented by such internal compiler error. That cc was compiled with CPUTYPE=k6-2. But I'm not suffered such a problem now. koya ----Next_Part(Tue_Mar_27_10:17:43_2001_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg.out" Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-RC #0: Tue Mar 27 03:56:27 JST 2001 root@presario.my.domain:/usr/obj/usr/src/sys/presario Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (331.64-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 268435456 (262144K bytes) avail memory = 257978368 (251932K bytes) Preloaded elf kernel "kernel" at 0xc035d000. K6-family MTRR support enabled (2 registers) md0: Malloc disk apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pci0: (vendor=0x127a, dev=0x1003) at 3.0 irq 11 dc0: port 0x2000-0x207f mem 0x41200000-0x412003ff irq 10 at device 5.0 on pci0 dc0: Ethernet address: 00:40:d0:0d:e5:9e miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, auto isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0x20a0-0x20af at device 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 20.2 irq 10 chip1: at device 20.3 on pci0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sbc0: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 pcm1: on sbc0 IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default ad0: 19623MB [39870/16/63] at ata0-master UDMA33 acd0: CDROM at ata1-master using PIO4 Mounting root from ufs:/dev/ad0s1a ----Next_Part(Tue_Mar_27_10:17:43_2001_809)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message