[Bugme-new] [Bug 13503] New: Compile failure with gcc 3.4.6 - start_kernel in paravirt.h

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed Jun 10 15:04:28 PDT 2009


http://bugzilla.kernel.org/show_bug.cgi?id=13503

           Summary: Compile failure with gcc 3.4.6 - start_kernel in
                    paravirt.h
           Product: Virtualization
           Version: unspecified
    Kernel Version: 2.6.30
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Xen
        AssignedTo: virtualization_xen at kernel-bugs.osdl.org
        ReportedBy: bplant at iinet.net.au
        Regression: Yes


2.6.30 fails to compile with gcc 3.4.6 (includes hardening patches). The same
config however compiles with gcc 4.4.3 (ubuntu 9.04).

I have successfully compiled 2.6.2{7,8,9}.x kernels with gcc 3.4.6 before.

Compile error below:

  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  CC      kernel/bounds.s
  GEN     include/linux/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/asm/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/conmakehash
  CC      init/main.o
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h: In function
`start_kernel':
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1590: warning: asm
operand 1 probably doesn't match constraints
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1570: warning: asm
operand 2 probably doesn't match constraints
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1590: warning: asm
operand 1 probably doesn't match constraints
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1570: warning: asm
operand 2 probably doesn't match constraints
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1599: warning: asm
operand 1 probably doesn't match constraints
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1590: error: impossible
constraint in `asm'
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1570: error: impossible
constraint in `asm'
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1590: error: impossible
constraint in `asm'
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1570: error: impossible
constraint in `asm'
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1599: error: impossible
constraint in `asm'
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1568: warning: 'f' might
be used uninitialized in this function
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1568: warning: 'f' might
be used uninitialized in this function
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1568: warning: 'f' might
be used uninitialized in this function
/usr/src/linux-2.6.30/arch/x86/include/asm/paravirt.h:1568: warning: 'f' might
be used uninitialized in this function
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list