=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for qemu-0.15.1nb10
  GEN   i386-softmmu/config-devices.mak
  GEN   x86_64-softmmu/config-devices.mak
  GEN   arm-softmmu/config-devices.mak
  GEN   cris-softmmu/config-devices.mak
  GEN   lm32-softmmu/config-devices.mak
  GEN   m68k-softmmu/config-devices.mak
  GEN   microblaze-softmmu/config-devices.mak
  GEN   microblazeel-softmmu/config-devices.mak
  GEN   mips-softmmu/config-devices.mak
  GEN   mipsel-softmmu/config-devices.mak
  GEN   mips64-softmmu/config-devices.mak
  GEN   mips64el-softmmu/config-devices.mak
  GEN   ppc-softmmu/config-devices.mak
  GEN   ppcemb-softmmu/config-devices.mak
  GEN   ppc64-softmmu/config-devices.mak
  GEN   sh4-softmmu/config-devices.mak
  GEN   sh4eb-softmmu/config-devices.mak
  GEN   sparc-softmmu/config-devices.mak
  GEN   sparc64-softmmu/config-devices.mak
  GEN   i386-bsd-user/config-devices.mak
  GEN   s390x-softmmu/config-devices.mak
  GEN   x86_64-bsd-user/config-devices.mak
  GEN   sparc-bsd-user/config-devices.mak
  GEN   sparc64-bsd-user/config-devices.mak
  GEN   config-all-devices.mak
  GEN   qemu-options.texi
  GEN   qemu-monitor.texi
  GEN   qemu-img-cmds.texi
  GEN   qemu-tech.html
  GEN   qemu-nbd.8
qemu-tech.texi:7: warning: unrecognized encoding name `UTF-8'.
  GEN   QMP/qmp-commands.txt
  GEN   config-host.h
  GEN   trace.h
  GEN   qapi-generated/qga-qapi-visit.h
  GEN   qemu-options.def
  GEN   trace.c
  GEN   qemu-img-cmds.h
  GEN   qemu-doc.html
qemu-doc.texi:7: warning: unrecognized encoding name `UTF-8'.
  GEN   qemu.1
  GEN   qemu-img.1
  AS    optionrom/multiboot.o
  AS    optionrom/linuxboot.o
multiboot.S:31:1: error: unexpected directive .code16
.code16; .text; .global _start; _start:; .short 0xaa55; .byte (_end - _start) / 512; lret; .org 0x18; .short 0; .short _pnph; _pnph: .ascii "$PnP"; .byte 0x01; .byte ( _pnph_len / 16 ); .short 0x0000; .byte 0x00; .byte 0x00; .long 0x00000000; .short _manufacturer; .short _product; .long 0x00000000; .short 0x0000; .short 0x0000; .short _bev; .short 0x0000; .short 0x0000; .equ _pnph_len, . - _pnph; _bev:; movw %cs, %ax; movw %ax, %ds;
^
multiboot.S:31:8: error: .code16 not supported yet
.code16; .text; .global _start; _start:; .short 0xaa55; .byte (_end - _start) / 512; lret; .org 0x18; .short 0; .short _pnph; _pnph: .ascii "$PnP"; .byte 0x01; .byte ( _pnph_len / 16 ); .short 0x0000; .byte 0x00; .byte 0x00; .long 0x00000000; .short _manufacturer; .short _product; .long 0x00000000; .short 0x0000; .short 0x0000; .short _bev; .short 0x0000; .short 0x0000; .equ _pnph_len, . - _pnph; _bev:; movw %cs, %ax; movw %ax, %ds;
       ^
multiboot.S:71:135: error: unknown directive
 read_fw 0x0a; mov %eax, %edi; read_fw 0x0b; mov %eax, %ecx; mov $0x12, %ax; mov $0x510, %edx; outw %ax, (%dx); mov $0x511, %dx; cld; .dc.b 0xf3,0x6c
                                                                                                                                      ^
multiboot.S:95:2: error: unknown directive
 .dc.b 0x26,0x67,0x66,0x89,0x4f,0xfc
 ^
multiboot.S:123:17: error: unexpected token in argument list
 data32 lgdt %gs:6
                ^
multiboot.S:131:15: error: unknown token in expression
 data32 ljmp *%gs:0
              ^
multiboot.S:145:135: error: unknown directive
 read_fw 0x07; mov %eax, %edi; read_fw 0x08; mov %eax, %ecx; mov $0x11, %ax; mov $0x510, %edx; outw %ax, (%dx); mov $0x511, %dx; cld; .dc.b 0xf3,0x6c
                                                                                                                                      ^
make[1]: *** [multiboot.o] Error 1
make[1]: *** Waiting for unfinished jobs....
linuxboot.S:27:1: error: unexpected directive .code16
.code16; .text; .global _start; _start:; .short 0xaa55; .byte (_end - _start) / 512; lret; .org 0x18; .short 0; .short _pnph; _pnph: .ascii "$PnP"; .byte 0x01; .byte ( _pnph_len / 16 ); .short 0x0000; .byte 0x00; .byte 0x00; .long 0x00000000; .short _manufacturer; .short _product; .long 0x00000000; .short 0x0000; .short 0x0000; .short _bev; .short 0x0000; .short 0x0000; .equ _pnph_len, . - _pnph; _bev:; movw %cs, %ax; movw %ax, %ds;
^
linuxboot.S:27:8: error: .code16 not supported yet
.code16; .text; .global _start; _start:; .short 0xaa55; .byte (_end - _start) / 512; lret; .org 0x18; .short 0; .short _pnph; _pnph: .ascii "$PnP"; .byte 0x01; .byte ( _pnph_len / 16 ); .short 0x0000; .byte 0x00; .byte 0x00; .long 0x00000000; .short _manufacturer; .short _product; .long 0x00000000; .short 0x0000; .short 0x0000; .short _bev; .short 0x0000; .short 0x0000; .equ _pnph_len, . - _pnph; _bev:; movw %cs, %ax; movw %ax, %ds;
       ^
assertion "!Is16BitMemOperand(MI, MemOperand)" failed: file "/home/joerg/work/NetBSD/base/src/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/../../dist/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp", line 895, function "void <anonymous namespace>::X86MCCodeEmitter::EmitOpcodePrefix(__uint64_t, unsigned int &, int, const llvm::MCInst &, const llvm::MCInstrDesc &, llvm::raw_ostream &) const"
Stack dump:
0.	Program arguments: /usr/bin/clang -cc1as -triple x86_64--netbsd -filetype obj -main-file-name linuxboot.S -target-cpu x86-64 -fdebug-compilation-dir /scratch/emulators/qemu0/work/qemu-0.15.1/pc-bios/optionrom -dwarf-debug-producer clang version 3.4 (trunk 186333) -o linuxboot.o /var/tmp/linuxboot-5b7de0.s 
1.	Program arguments: -triple x86_64--netbsd -filetype obj -main-file-name linuxboot.S -target-cpu x86-64 -fdebug-compilation-dir /scratch/emulators/qemu0/work/qemu-0.15.1/pc-bios/optionrom -dwarf-debug-producer clang version 3.4 (trunk 186333) -o linuxboot.o /var/tmp/linuxboot-5b7de0.s 
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang integrated assembler command failed due to signal (use -v to see invocation)
clang version 3.4 (trunk 186333)
Target: x86_64--netbsd
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: Error generating preprocessed source(s).
make[1]: *** [linuxboot.o] Error 254
gmake: *** [romsubdir-optionrom] Error 2
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/emulators/qemu0
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/emulators/qemu0
