Hi misc, I forgot to include the error while make install of a kernel:
LD="ld" LDFLAGS="-g" sh makegap.sh 0xcccccccc gapdummy.o ld -T ld.script -X --warn-common -nopie -o bsd ${SYSTEM_HEAD} vers.o ${OBJS} text data bss dec hex 0 0 0 0 0 mv bsd bsd.gdb ctfstrip -S -o bsd bsd.gdb strip: bsd.gdb: File format not recognized It looks like ld if totally failing. -Dieter On Sun, Dec 08, 2019 at 07:48:15PM +0100, Dieter Rauschenberger wrote: > Hi misc, > > I have a reorder_kernel: failed -- see > /usr/share/relink/kernel/GENERIC/relink.log error in todays snapshot > (i386) Build date: 1575786572 - Sun Dec 8 06:29:32 UTC 2019 > > $ cat /usr/share/relink/kernel/GENERIC/relink.log > (SHA256) /bsd: OK > LD="ld" LDFLAGS="-g" sh makegap.sh 0xcccccccc gapdummy.o > ld -T ld.script -X --warn-common -nopie -o newbsd ${SYSTEM_HEAD} vers.o > ${OBJS} > size: newbsd: not object file or archive > *** Error 1 in /usr/share/relink/kernel/GENERIC (Makefile:1126 'newbsd': > @size newbsd ; umask 007; echo mv newbsd newbsd.gdb; rm -f newbsd....) > > I tried to build a GENERIC kernel on this machine, but make install > failed at the line: > > ld -T ld.script -X --warn-common -nopie -o bsd ${SYSTEM_HEAD} vers.o ${OBJS} > > The dmesg of this machine is: > > OpenBSD 6.6-current (GENERIC) #418: Sat Dec 7 23:05:40 MST 2019 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > real mem = 266682368 (254MB) > avail mem = 246185984 (234MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 08/25/00, BIOS32 rev. 0 @ 0xe7300, SMBIOS rev. 2.3 @ > 0xf8dc6 (47 entries) > bios0: vendor Compaq version "686P2 v2.04" date 08/25/2000 > bios0: Compaq Deskpro > acpi0 at bios0: ACPI 1.0 > acpi0: sleep states S0 S1 S3 S4 S5 > acpi0: tables DSDT FACP SSDT SSDT SSDT APIC SSDT SSDT SSDT SSDT SSDT SSDT SSDT > acpi0: wakeup devices PCI0(S4) HUB_(S4) COM1(S4) COM2(S4) USB1(S3) USB2(S3) > PBTN(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel Pentium III ("GenuineIntel" 686-class) 732 MHz, 06-08-06 > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE,PERF,MELTDOWN > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 132MHz > ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins, remapped > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 2 (HUB_) > acpicpu0 at acpi0: C1(@1 halt!) > "PNP0A03" at acpi0 not configured > acpicmos0 at acpi0 > "PNP0003" at acpi0 not configured > acpibtn0 at acpi0: PBTN > bios0: ROM list: 0xc0000/0xa000 0xca000/0x800 0xca800/0xd800! 0xe0000/0x10000! > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x02 > vga1 at pci0 dev 2 function 0 "Intel 82815 Video" rev 0x02 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x02 > pci1 at ppb0 bus 2 > xl0 at pci1 dev 4 function 0 "3Com 3c905C" rev 0x78: apic 8 int 16, address > 00:04:76:26:b5:0f > exphy0 at xl0 phy 24: 3Com internal media interface > fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x01, i82562: apic 8 int 20, > address 00:02:a5:2b:0f:43 > inphy0 at fxp0 phy 1: i82562EM 10/100 PHY, rev. 0 > ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x02 > pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x02: DMA, channel > 0 wired to compatibility, channel 1 wired to compatibility > wd0 at pciide0 channel 0 drive 0: <ST3160815A> > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus1 at atapiscsi0: 2 targets > cd0 at scsibus1 targ 0 lun 0: <COMPAQ, CD-ROM CR-594, YC0G> removable > cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 > uhci0 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x02: apic 8 int 23 > auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x02: apic 8 int > 17, ICH2 > ac97: codec id 0x41445360 (Analog Devices AD1885) > ac97: codec features headphone, Analog Devices Phat Stereo > audio0 at auich0 > isa0 at ichpcib0 > isadma0 at isa0 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > 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 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > usb0 at uhci0: USB revision 1.0 > uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on wd0a (5463234f8754b441.a) swap on wd0b dump on wd0b > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec