Subject: Problem compiling current
To: None <current-users@netbsd.org>
From: Hugo Meier <tbo@gmx.de>
List: current-users
Date: 12/12/2002 18:05:01
Hello,
I have a problem compiling current. It fails in building the kernel.
I get always the same error message, I have tried with fresh sources,
but the same error comes up. Where can be the error?

Thank you for your help.

Torsten

I'm building with:
./build.sh  -d -D /home/source/dist -O /usr/obj \
 -R /home/source/release  2>&1 | tee build.log

What I'm running:
# uname -a
NetBSD ALEX 1.6I NetBSD 1.6I (GENERIC) #0: Thu Oct  3 19:27:10 CEST 2002    
root@ALEX:/usr/obj/sys/arch/i386/compile/GENERIC i386

The last lines from the build.log:

/usr/obj/tools/tools.NetBSD-1.6I-i386/bin/i386--netbsdelf-gcc 
-ffreestanding  -pipe -Werror
 -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-proto
types -Wno-sign-compare -Wno-uninitialized  -Di386 -I. 
-I/home/source/src/sys/arch -I/home/
source/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c
/home/source/src/s
ys/dev/pci/if_ep_pci.c
/usr/obj/tools/tools.NetBSD-1.6I-i386/bin/i386--netbsdelf-gcc 
-ffreestanding  -pipe -Werror
 -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-proto
types -Wno-sign-compare -Wno-uninitialized  -Di386 -I. 
-I/home/source/src/sys/arch -I/home/
source/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c
/home/source/src/s
ys/dev/pci/if_ex_pci.c
/usr/obj/tools/tools.NetBSD-1.6I-i386/bin/i386--netbsdelf-gcc 
-ffreestanding  -pipe -Werror
 -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-proto
types -Wno-sign-compare -Wno-uninitialized  -Di386 -I. 
-I/home/source/src/sys/arch -I/home/
source/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c
/home/source/src/s
ys/dev/pci/if_fpa.c
/usr/obj/tools/tools.NetBSD-1.6I-i386/bin/i386--netbsdelf-gcc 
-ffreestanding  -pipe -Werror
 -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-proto
types -Wno-sign-compare -Wno-uninitialized  -Di386 -I. 
-I/home/source/src/sys/arch -I/home/
source/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c
/home/source/src/s
ys/dev/pci/if_le_pci.c
/usr/obj/tools/tools.NetBSD-1.6I-i386/bin/i386--netbsdelf-gcc 
-ffreestanding  -pipe -Werror
 -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-proto
types -Wno-sign-compare -Wno-uninitialized  -Di386 -I. 
-I/home/source/src/sys/arch -I/home/
source/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c
/home/source/src/s
ys/dev/pci/if_pcn.c
/home/source/src/sys/dev/pci/if_pcn.c: In function `pcn_init':
/home/source/src/sys/dev/pci/if_pcn.c:1767: internal error--unrecognizable
insn:
(insn 644 643 646 (set (reg:SI 170)
        (unspec:SI[
                (const_int 512 [0x200])
            ]  5)) -1 (nil)
    (nil))
*** Error code 1

Stop.
nbmake: stopped in /home/torsten/.bigpic/obj/sys/arch/i386/compile/GENERIC
*** Error code 1

Stop.
nbmake: stopped in /home/source/src/etc
*** Error code 1

Stop.
nbmake: stopped in /home/source/src

ERROR: failed to make release
*** BUILD ABORTED ***

And, of course a dmesg:

# dmesg
NetBSD 1.6I (GENERIC) #0: Thu Oct  3 19:27:10 CEST 2002
    root@ALEX:/usr/obj/sys/arch/i386/compile/GENERIC
total memory = 127 MB
avail memory = 112 MB
using 1658 buffers containing 6632 KB of memory
BIOS32 rev. 0 found at 0xfb1f0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon Model 7 (Morgan) (686-class), 1202.18 MHz
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 64 KB 64b/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully
associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT8363 KT133 System Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8363 KT133 PCI to AGP
Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x40)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C686A (Apollo KX133)
ATA100 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 51536U3>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 14655 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 30015216 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd1 at pciide0 channel 0 drive 1: <WDC AC28400R>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 8063 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16514064 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA
data transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <ATAPI 40X CDROM, 40XCDROM Ver4.00, VER-4.0> type
5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd2 at pciide0 channel 1 drive 1: <ST32122A>
wd2: drive supports 16-sector PIO transfers, LBA addressing
wd2: 2014 MB, 4092 cyl, 16 head, 63 sec, 512 bytes/sect x 4124736 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0x1a)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3: VIA Technologies VT83C572 USB Controller
(rev. 0x1a)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
VIA Technologies VT82C686A SMBus Controller (miscellaneous bridge, revision
0x40) at pci0 dev 7 function 4 not configured
vga1 at pci0 dev 14 function 0: ATI Technologies 3D Rage II+ (rev. 0x9a)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
rtk0 at pci0 dev 16 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at irq 11
rtk0: Ethernet address 00:50:ba:39:4e:c0
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cmpci0 at pci0 dev 19 function 0: C-Media Electronics Inc CMI8738/C3DX PCI
Audio Device (rev. 0x10)
cmpci0: interrupting at irq 10
audio0 at cmpci0: full duplex, mmap, independent
opl0 at cmpci0: model OPL3: LR swapped
midi0 at opl0: CMPCI Yamaha OPL3
mpu0 at cmpci0
midi1 at mpu0: CMPCI MPU-401 MIDI UART
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: read port 0x20b
sb1 at isapnp0 port 0x220/16,0x388/4,0x530/16 irq 5 drq 1,3
sb1: TERRATEC SOUNDSYSTEM BASE 1 : dsp v3.02
audio1 at sb1: half duplex, mmap, independent
mpu at sb1 not configured
opl1 at sb1: model OPL3
midi3 at opl1: SB Yamaha OPL3
isapnp0: <TERRATEC SOUNDSYSTEM BASE 1, ADS7181, PNPB006, > port 0x330/2 irq
9 not configured
joy0 at isapnp0 port 0x200/8
joy0: TERRATEC SOUNDSYSTEM BASE 1 
joy0: joystick not connected
isapnp0: <TERRATEC SOUNDSYSTEM BASE 1, TER2211, , > port 0x590/8 not
configured
biomask eb45 netmask eb45 ttymask fbc7
WARNING: old BSD partition ID!
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
WARNING: old BSD partition ID!
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x50, vt100 emulation)
wsdisplay0: screen 6 added (80x50, vt100 emulation)

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!