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

Bug#505439: Fails to build under amd64



Package: kqemu-source
Version: 1.4.0~pre1-3
Severity: normal

Hi,

I'm still having trouble building kqemu on an 2.6.31-1-amd64 kernel
here. But for me, the error message looks quite different; see
attachment for details.

Cheers, Linus

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kqemu-source depends on:
ii  bzip2                         1.0.5-4    high-quality block-sorting file co
ii  debhelper                     7.4.12     helper programs for debian/rules
ii  dpatch                        2.0.31     patch maintenance system for Debia
ii  make                          3.81-7     An utility for Directing compilati

Versions of packages kqemu-source recommends:
ii  module-assistant              0.11.3     tool to make module package creati

kqemu-source suggests no packages.

-- no debconf information
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
#dh_testroot
# Cleaning package
/usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/kqemu'
/usr/bin/make -C common clean
make[2]: Entering directory `/usr/src/modules/kqemu/common'
rm -f *.o *~ monitor-image.h genoffsets genmon monitor_def.h \
           monitor-image.bin monitor-image.out \
           i386/*.o x86_64/*.o
make[2]: Leaving directory `/usr/src/modules/kqemu/common'
rm -f kqemu.ko *.o *~
make[1]: Leaving directory `/usr/src/modules/kqemu'
dh_clean
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/kqemu'
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
#dh_testroot
# Cleaning package
/usr/bin/make clean
make[2]: Entering directory `/usr/src/modules/kqemu'
/usr/bin/make -C common clean
make[3]: Entering directory `/usr/src/modules/kqemu/common'
rm -f *.o *~ monitor-image.h genoffsets genmon monitor_def.h \
           monitor-image.bin monitor-image.out \
           i386/*.o x86_64/*.o
make[3]: Leaving directory `/usr/src/modules/kqemu/common'
rm -f kqemu.ko *.o *~
make[2]: Leaving directory `/usr/src/modules/kqemu'
dh_clean
make[1]: Leaving directory `/usr/src/modules/kqemu'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/kqemu'
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
#dh_testroot
# Cleaning package
/usr/bin/make clean
make[2]: Entering directory `/usr/src/modules/kqemu'
/usr/bin/make -C common clean
make[3]: Entering directory `/usr/src/modules/kqemu/common'
rm -f *.o *~ monitor-image.h genoffsets genmon monitor_def.h \
           monitor-image.bin monitor-image.out \
           i386/*.o x86_64/*.o
make[3]: Leaving directory `/usr/src/modules/kqemu/common'
rm -f kqemu.ko *.o *~
make[2]: Leaving directory `/usr/src/modules/kqemu'
dh_clean
/usr/bin/make -w -f debian/rules clean
make[2]: Entering directory `/usr/src/modules/kqemu'
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
#dh_testroot
# Cleaning package
/usr/bin/make clean
make[3]: Entering directory `/usr/src/modules/kqemu'
/usr/bin/make -C common clean
make[4]: Entering directory `/usr/src/modules/kqemu/common'
rm -f *.o *~ monitor-image.h genoffsets genmon monitor_def.h \
           monitor-image.bin monitor-image.out \
           i386/*.o x86_64/*.o
make[4]: Leaving directory `/usr/src/modules/kqemu/common'
rm -f kqemu.ko *.o *~
make[3]: Leaving directory `/usr/src/modules/kqemu'
dh_clean
make[2]: Leaving directory `/usr/src/modules/kqemu'
make[1]: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-1-amd64/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.31-1-amd64/g ;s/#KVERS#/2.6.31-1-amd64/g ; s/_KVERS_/2.6.31-1-amd64/g ; s/##KDREV##/2.6.31-2/g ; s/#KDREV#/2.6.31-2/g ; s/_KDREV_/2.6.31-2/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testroot
dh_prep
# Build the module
./configure --kernel-path=/lib/modules/2.6.31-1-amd64/build
Source path       /usr/src/modules/kqemu
C compiler        gcc
Host C compiler   gcc
make              make
host CPU          x86_64

kernel sources    /lib/modules/2.6.31-1-amd64/build
kbuild type       2.6
/usr/bin/make
make[2]: Entering directory `/usr/src/modules/kqemu'
make -C common all
make[3]: Entering directory `/usr/src/modules/kqemu/common'
gcc -Wall -O2 -Werror -g -D__KERNEL__ -I.. -o genoffsets genoffsets.c
./genoffsets > monitor_def.h
gcc -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -D__ASSEMBLY__ -c -o x86_64/nexus_asm.o x86_64/nexus_asm.S
x86_64/nexus_asm.S: Assembler messages:
x86_64/nexus_asm.S:42: Error: bad register name `%rbp'
x86_64/nexus_asm.S:43: Error: bad register name `%rsp'
x86_64/nexus_asm.S:44: Error: bad register name `%rbx'
x86_64/nexus_asm.S:45: Error: bad register name `%r12'
x86_64/nexus_asm.S:46: Error: bad register name `%r13'
x86_64/nexus_asm.S:47: Error: bad register name `%r14'
x86_64/nexus_asm.S:48: Error: bad register name `%r15'
x86_64/nexus_asm.S:50: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:51: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:52: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:53: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:54: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:56: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:57: Error: bad register name `%rsp'
x86_64/nexus_asm.S:59: Error: bad register name `%rax'
x86_64/nexus_asm.S:60: Error: bad register name `%rax'
x86_64/nexus_asm.S:61: Error: bad register name `%rax'
x86_64/nexus_asm.S:62: Error: bad register name `%rax'
x86_64/nexus_asm.S:63: Error: bad register name `%rax'
x86_64/nexus_asm.S:64: Error: bad register name `%rax'
x86_64/nexus_asm.S:68: Error: bad register name `%rax'
x86_64/nexus_asm.S:69: Error: bad register name `%rcx'
x86_64/nexus_asm.S:70: Error: bad register name `%rax'
x86_64/nexus_asm.S:71: Error: bad register name `%rax'
x86_64/nexus_asm.S:73: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:74: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:75: Error: bad register name `%rax'
x86_64/nexus_asm.S:76: Error: bad register name `%rcx'
x86_64/nexus_asm.S:78: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:79: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:81: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:84: Error: `movzwq' is only supported in 64-bit mode
x86_64/nexus_asm.S:85: Error: bad register name `%rax'
x86_64/nexus_asm.S:86: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:87: Error: bad register name `%rax'
x86_64/nexus_asm.S:88: Error: suffix or operands invalid for `lret'
x86_64/nexus_asm.S:91: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:93: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:96: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:97: Error: bad register name `%rcx)'
x86_64/nexus_asm.S:98: Error: bad register name `%rcx)'
x86_64/nexus_asm.S:99: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:100: Error: bad register name `%rdx'
x86_64/nexus_asm.S:101: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:102: Error: bad register name `%rdx'
x86_64/nexus_asm.S:104: Error: bad register name `%r12'
x86_64/nexus_asm.S:105: Error: bad register name `%r13'
x86_64/nexus_asm.S:107: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:110: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:111: Error: bad register name `%rax'
x86_64/nexus_asm.S:113: Error: bad register name `%rax'
x86_64/nexus_asm.S:116: Error: bad register name `%r15'
x86_64/nexus_asm.S:117: Error: bad register name `%r14'
x86_64/nexus_asm.S:118: Error: bad register name `%r13'
x86_64/nexus_asm.S:119: Error: bad register name `%r12'
x86_64/nexus_asm.S:120: Error: bad register name `%rbx'
x86_64/nexus_asm.S:121: Error: bad register name `%rbp'
x86_64/nexus_asm.S:129: Error: bad register name `%rbp'
x86_64/nexus_asm.S:130: Error: bad register name `%rsp'
x86_64/nexus_asm.S:131: Error: bad register name `%rbx'
x86_64/nexus_asm.S:132: Error: bad register name `%r12'
x86_64/nexus_asm.S:133: Error: bad register name `%r13'
x86_64/nexus_asm.S:134: Error: bad register name `%r14'
x86_64/nexus_asm.S:135: Error: bad register name `%r15'
x86_64/nexus_asm.S:137: Error: bad register name `%rsp'
x86_64/nexus_asm.S:140: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:141: Error: bad register name `%rax'
x86_64/nexus_asm.S:143: Error: bad register name `%rax'
x86_64/nexus_asm.S:144: Error: bad register name `%rax'
x86_64/nexus_asm.S:147: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:148: Error: bad register name `%rax'
x86_64/nexus_asm.S:149: Error: bad register name `%rax'
x86_64/nexus_asm.S:153: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:154: Error: bad register name `%rcx'
x86_64/nexus_asm.S:155: Error: bad register name `%rax'
x86_64/nexus_asm.S:156: Error: bad register name `%rax'
x86_64/nexus_asm.S:159: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:160: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:161: Error: bad register name `%rax'
x86_64/nexus_asm.S:162: Error: bad register name `%rcx'
x86_64/nexus_asm.S:164: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:165: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:166: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:168: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:171: Error: `movzwq' is only supported in 64-bit mode
x86_64/nexus_asm.S:172: Error: bad register name `%rax'
x86_64/nexus_asm.S:173: Error: bad register name `%rip)'
x86_64/nexus_asm.S:174: Error: bad register name `%rax'
x86_64/nexus_asm.S:175: Error: suffix or operands invalid for `lret'
x86_64/nexus_asm.S:179: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:182: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:183: Error: bad register name `%rcx)'
x86_64/nexus_asm.S:187: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:188: Error: bad register name `%rax'
x86_64/nexus_asm.S:190: Error: bad register name `%rdi)'
x86_64/nexus_asm.S:192: Error: bad register name `%r15'
x86_64/nexus_asm.S:193: Error: bad register name `%r14'
x86_64/nexus_asm.S:194: Error: bad register name `%r13'
x86_64/nexus_asm.S:195: Error: bad register name `%r12'
x86_64/nexus_asm.S:196: Error: bad register name `%rbx'
x86_64/nexus_asm.S:197: Error: bad register name `%rbp'
make[3]: *** [x86_64/nexus_asm.o] Error 1
make[3]: Leaving directory `/usr/src/modules/kqemu/common'
make[2]: *** [kqemu.ko] Error 2
make[2]: Leaving directory `/usr/src/modules/kqemu'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/kqemu'
make: *** [kdist_build] Error 2

Reply to: