Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 10:20:38 +0900
From:      Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
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?
Message-ID:  <20010327102038Q.koya@pluto.math.yokohama-cu.ac.jp>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
----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 <kris@obsecurity.org>
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
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: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <VIA 82C598MVP (Apollo MVP3) host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 4c42 graphics accelerator> at 0.0 irq 11
pci0: <unknown card> (vendor=0x127a, dev=0x1003) at 3.0 irq 11
dc0: <Intel 21143 10/100BaseTX> port 0x2000-0x207f mem 0x41200000-0x412003ff irq 10 at device 5.0 on pci0
dc0: Ethernet address: 00:40:d0:0d:e5:9e
miibus0: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus0
dcphy0:  10baseT, 10baseT-FDX, auto
isab0: <VIA 82C586 PCI-ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0x20a0-0x20af at device 20.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <VIA 83C572 USB controller> at 20.2 irq 10
chip1: <VIA 82C586B ACPI interface> at device 20.3 on pci0
fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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: <ESS 688> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
pcm1: <ESS 18xx DSP> 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 <IBM-DTLA-307020> [39870/16/63] at ata0-master UDMA33
acd0: CDROM <CD-ROM 40X/AKU> 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




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