pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51534 (qemu-2.7.0 fails to build: bad register name)



The following reply was made to PR pkg/51534; it has been noted by GNATS.

From: kuehro%posteo.de@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 maya%netbsd.org@localhost
Subject: Re: pkg/51534 (qemu-2.7.0 fails to build: bad register name)
Date: Fri, 11 Nov 2016 17:15:11 +0100

 > Does it build normally now? (ignore ssp issue- there's pkg/51479 for 
 > it)
 
 No, fails as before with slightly different error messages:
 
 linuxboot_dma.c:260:26: warning: cast from pointer to integer of 
 different size [-Wpointer-to-int-cast]
           writel_es(0x218, (uint32_t)initrd_addr);
                            ^
 linuxboot_dma.c:275:21: warning: cast from pointer to integer of 
 different size [-Wpointer-to-int-cast]
       segment_addr = ((uint32_t)setup_addr >> 4);
                       ^
 /var/tmp//ccOhkhbR.s: Assembler messages:
 /var/tmp//ccOhkhbR.s:56: Error: bad register name `%rsp'
 /var/tmp//ccOhkhbR.s:59: Error: bad register name `%rip)'
 /var/tmp//ccOhkhbR.s:60: Error: bad register name `%rax'
 /var/tmp//ccOhkhbR.s:68: Error: bad register name `%rdi'
 /var/tmp//ccOhkhbR.s:69: Error: bad register name `%rcx'
 /var/tmp//ccOhkhbR.s:70: Error: bad register name `%rdi'
 /var/tmp//ccOhkhbR.s:72: Error: bad register name `%rax'
 /var/tmp//ccOhkhbR.s:73: Error: bad register name `%rcx'
 /var/tmp//ccOhkhbR.s:74: Error: bad register name `%rdi'
 /var/tmp//ccOhkhbR.s:76: Error: bad register name `%rcx'
 /var/tmp//ccOhkhbR.s:77: Error: bad register name `%rcx'
 /var/tmp//ccOhkhbR.s:80: Error: bad register name `%rdi'
 /var/tmp//ccOhkhbR.s:81: Error: bad register name `%rax'
 /var/tmp//ccOhkhbR.s:82: Error: bad register name `%rdi'
 /var/tmp//ccOhkhbR.s:87: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:96: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:99: Error: bad register name `%rsp'
 /var/tmp//ccOhkhbR.s:114: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:119: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:123: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:124: Error: bad register name `%rip)'
 /var/tmp//ccOhkhbR.s:126: Error: bad register name `%rsp'
 /var/tmp//ccOhkhbR.s:151: Error: bad register name `%rbx'
 /var/tmp//ccOhkhbR.s:154: Error: bad register name `%rsp'
 /var/tmp//ccOhkhbR.s:157: Error: bad register name `%rip)'
 /var/tmp//ccOhkhbR.s:158: Error: bad register name `%rax'
 /var/tmp//ccOhkhbR.s:163: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:169: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:173: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:175: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:181: Error: bad register name `%rsp)'
 linuxboot_dma.c:104: Error: redundant addr32 prefix
 linuxboot_dma.c:120: Error: redundant addr32 prefix
 /var/tmp//ccOhkhbR.s:228: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:234: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:238: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:239: Error: bad register name `%rsp)'
 linuxboot_dma.c:112: Error: redundant addr32 prefix
 /var/tmp//ccOhkhbR.s:304: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:310: Error: bad register name `%rcx'
 linuxboot_dma.c:120: Error: redundant addr32 prefix
 /var/tmp//ccOhkhbR.s:327: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:329: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:335: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:341: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:345: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:347: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:353: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:359: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:363: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:365: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:369: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:375: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:376: Error: bad register name `%rdx'
 /var/tmp//ccOhkhbR.s:399: Error: bad register name `%rsp)'
 /var/tmp//ccOhkhbR.s:400: Error: bad register name `%rip)'
 /var/tmp//ccOhkhbR.s:403: Error: bad register name `%rsp'
 /var/tmp//ccOhkhbR.s:406: Error: bad register name `%rbx'
 /var/tmp//ccOhkhbR.s:417: Error: bad register name `%rdx)'
 /usr/pkgsrc/emulators/qemu/work/qemu-2.7.0/rules.mak:59: recipe for 
 target 'linuxboot_dma.o' failed
 make[1]: *** [linuxboot_dma.o] Error 1
 Makefile:231: recipe for target 'romsubdir-optionrom' failed
 gmake: *** [romsubdir-optionrom] Error 2
 *** Error code 2
 
 Stop.
 bmake[1]: stopped in /usr/pkgsrc/emulators/qemu
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/emulators/qemu
 


Home | Main Index | Thread Index | Old Index