On Wed, Aug 23, 2017 at 08:30:39PM -0300, R0me0 *** wrote:
> I have noticed this just with RPI3, every reboot, kernel relink fails. ( It
> comes from 6.1-current )
> 
> /usr/share/compile/GENERIC/relink.log
> 
> (SHA256) /bsd: OK
> LD="ld" sh makegap.sh 0xd4d4d4d4 gapdummy.o
> ld: error: gap.link:11: unknown command ;
> ld: error: gap.link:11:                 LONG(0xd4d4d4d4);
> ld: error: gap.link:11:                   ^
> ld: error: cannot open gapdummy.o: No such file or directory
> ld: error: target emulation unknown: -m or at least one .o file required
> *** Error 1 in /usr/share/compile/GENERIC (Makefile:531 'newbsd')
> 
> 
> is it expected?
> 
> Thanks in advance,
> 
> 
> dmesg:
> 
> 
> OpenBSD 6.2-beta (GENERIC) #0: Tue Aug 22 17:53:50 AEST 2017
>    j...@arm64.jsg.id.au:/usr/src/sys/arch/arm64/compile/GENERIC
> real mem  = 965042176 (920MB)
> avail mem = 909217792 (867MB)
> mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
> cpu0 at mainbus0: ARM Cortex-A53 r0p4
> simplefb0 at mainbus0: 656x416
> wsdisplay0 at simplefb0 mux 1
> wsdisplay0: screen 0 added (std, vt100 emulation)
> simplebus0 at mainbus0: "soc"
> bcmintc0 at simplebus0
> bcmdog0 at simplebus0
> pluart0 at simplebus0
> bcmaux0 at simplebus0
> com0 at simplebus0: ns16550, no working fifo
> com0: console
> dwctwo0 at simplebus0
> agtimer0 at simplebus0: tick rate 19200 KHz
> simplebus1 at mainbus0: "clocks"
> usb0 at dwctwo0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev
> 2.00/1.00 addr 1
> uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems
> product 0x9514" rev 2.00/2.00 addr 2
> smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems
> SMSC9512/14" rev 2.00/2.00 addr 3
> smsc0: address b8:27:eb:78:27:cd
> ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x0001f0, model 0x000c
> umass0 at uhub1 port 3 configuration 1 interface 0 "Kingston DataTraveler
> 2.0" rev 2.00/1.00 addr 4
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <Kingston, DataTraveler 2.0, 1.00> SCSI2
> 0/direct removable serial.09511665FDB1A9792441
> sd0: 14762MB, 512 bytes/sector, 30233588 sectors
> urtwn0 at uhub1 port 4 configuration 1 interface 0 "802.11n USB WLAN" rev
> 2.00/2.00 addr 5
> urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address 98:de:d0:11:ac:a1
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> bootfile: sd0a:/bsd
> boot device: sd0
> root on sd0a (5023b2de782a611f.a) swap on sd0b dump on sd0b
> WARNING: CHECK AND RESET THE DATE!

This is to be expected until LLVM 5.0 hits the tree, which should have
an improved lld/linker that can cope with the magic linker script.

Reply via email to