Hi all. While compiling userland on -current i get error:
...[skip] make -j3 all cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status creating config.h config.h is unchanged make "AR_FLAGS=" "CC_FOR_BUILD=" "CC_FOR_TARGET=" "CFLAGS=-O2 -pipe " "CXXFLAGS=-O2 -pipe " "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=install -c -s " "INSTALL_SCRIPT=install -c -s " "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/info" "libdir=/usr/lib" "includedir=/usr/include" "prefix=/usr" "tooldir=" "gxx_include_dir=/usr/include/g++" "AR=ar" "AS=as" "LD=ld" "LIBCFLAGS=" "PICFLAG=" "RANLIB=ranlib" "NM=" "NM_FOR_BUILD=" "NM_FOR_TARGET=" "DESTDIR=" "WERROR=" all-recursive : make ; exec true "AR_FLAGS=" "CC_FOR_BUILD=" "CC_FOR_TARGET=" "CFLAGS=-O2 -pipe " "CXXFLAGS=-O2 -pipe " "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=install -c -s " "INSTALL_SCRIPT=install -c -s " "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/info" "libdir=/usr/lib" "includedir=/usr/include" "prefix=/usr" "tooldir=" "gxx_include_dir=/usr/include/g++" "AR=ar" "AS=as" "LD=ld" "LIBCFLAGS=" "PICFLAG=" "RANLIB=ranlib" "NM=" "NM_FOR_BUILD=" "NM_FOR_TARGET=" "DESTDIR=" "WERROR=" DO=all multi-do Making all in include make: make: don't know how to make /usr/src/gnu/lib/libstdc++/libstdc++/../gcc/gthr.h. Stop in /usr/src/gnu/lib/libstdc++/obj/include. *** Error code 1 Stop in /usr/src/gnu/lib/libstdc++/obj: Exit status 1 (all-recursive, line 304 of Makefile) Stop in /usr/src/gnu/lib/libstdc++/obj: Exit status 2 (all-recursive-am, line 419 of Makefile) *** Error code 2 *** Error code 2 Stop in /usr/src/gnu/lib/libstdc++: Exit status 2 (all, line 22 of /usr/src/gnu/lib/libstdc++/Makefile.bsd-wrapper) *** Error code 2 Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 73 of Makefile). I've tried to compile userland few times starting from 01.01.10 to today (cvs up and make new kernel before every time) and get the same error. I get some ideas about and trying to fix myself, but seems i don't know enough about internals. Any clues, ideas? #dmesg OpenBSD 4.6-current (GENERIC.MP) #0: Thu Jan 21 09:38:46 MSK 2010 v...@vigiland:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR real mem = 1072459776 (1022MB) avail mem = 1030397952 (982MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/04/05, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xf04b0 (66 entries) bios0: vendor American Megatrends Inc. version "1021.005" date 08/04/2005 bios0: ASUSTeK Computer Inc. P4P8X acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC OEMB acpi0: wakeup devices P0P4(S4) MC97(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) EUSB(S4) PS2K(S4) PS2M(S4) ILAN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (P0P4) acpiprt2 at acpi0: bus -1 (P0P2) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc0000/0xd000 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xf0000000, size 0x8000000 ppb0 at pci0 dev 1 function 0 "Intel 82865G AGP" rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon 9600 Pro" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 2 int 16 (irq 10) drm0 at radeondrm0 "ATI Radeon 9600 Pro Sec" rev 0x00 at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16 (irq 10) uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 19 (irq 5) uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 18 (irq 5) uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic 2 int 23 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2 pci2 at ppb1 bus 2 skc0 at pci2 dev 5 function 0 "3Com 3c940" rev 0x12, Yukon (0x1): apic 2 int 22 (irq 5) sk0 at skc0 port A: address 00:0c:6e:53:2d:0c eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 3 rl0 at pci2 dev 9 function 0 "Realtek 8139" rev 0x10: apic 2 int 21 (irq 11), address 00:80:48:25:38:01 rlphy0 at rl0 phy 0: RTL internal PHY ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <MAXTOR 6L040J2> wd0: 16-sector PIO, LBA, 38172MB, 78177792 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: <SAMSUNG SP60A3H> wd1: 16-sector PIO, LBA, 57277MB, 117304992 sectors atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, DVD-ROM SD-616Q, F401> ATAPI 5/cdrom removable wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: apic 2 int 17 (irq 11) iic0 at ichiic0 spdmem0 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL3.0 spdmem1 at iic0 addr 0x53: 512MB DDR SDRAM non-parity PC3200CL3.0 auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97" rev 0x02: apic 2 int 17 (irq 11), ICH5 AC97 ac97: codec id 0x41445375 (Analog Devices AD1985) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627THF rev 0x82 lm1 at wbsio0 port 0x290/8: W83627THF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 mtrr: Pentium Pro MTRR support umass0 at uhub0 port 4 configuration 1 interface 0 "SMI Corporation USB DISK" rev 2.00/11.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <SMI, USB DISK, 1100> SCSI0 0/direct removable sd0: 7743MB, 512 bytes/sec, 15858688 sec total uhidev0 at uhub2 port 1 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/20.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b kqemu: kqemu version 0x00010300 loaded, max locked mem=523660kB DDB symbols added: 358848 bytes wsdisplay0: screen 1 deleted wsdisplay0: screen 1 added (80x25bf, vt100 emulation) wsdisplay0: screen 2 deleted wsdisplay0: screen 2 added (80x25bf, vt100 emulation) wsdisplay0: screen 3 deleted wsdisplay0: screen 3 added (80x25bf, vt100 emulation) wsdisplay0: screen 4 deleted wsdisplay0: screen 4 added (80x25bf, vt100 emulation) auich0: measured ac97 link rate at 47995 Hz, will use 48000 Hz