Re: 2.6.22-rc1-mm1

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

 



On (16/05/07 08:16), H. Peter Anvin didst pronounce:
> Andy Whitcroft wrote:
> > Getting this on both x86 and x86_64 boxes, they are the older boxen so
> > likely older compilers:
> 
> Please give the gcc version number.
> 
> >   CC      arch/x86_64/boot/memory.o
> > arch/i386/boot/memory.c: In function `detect_memory':
> > arch/i386/boot/memory.c:32: error: can't find a register in class `DREG'
> > while reloading `asm'
> > 
> > Seems to come from git-netsetup, but that tree isn't pulled into your
> > git version of -mm so I can't be more specific.
> 
> Does the following patch work for you?
> 

With the patch, elm3b6 from test.kernel.org builds and boots. It's
x86_64. elm3b132 which is x86 fails with

  CC      arch/i386/boot/video-bios.o
  HOSTCC  arch/i386/boot/tools/build
  AS      arch/i386/boot/compressed/head.o
  CC      arch/i386/boot/compressed/misc.o
  OBJCOPY arch/i386/boot/compressed/vmlinux.bin
  LD      arch/i386/boot/setup.elf
ld:arch/i386/boot/setup.ld:47: syntax error
make[1]: *** [arch/i386/boot/setup.elf] Error 1
make[1]: *** Waiting for unfinished jobs....
  GZIP    arch/i386/boot/compressed/vmlinux.bin.gz
include/asm/processor.h: In function `native_get_debugreg':
include/asm/processor.h:531: warning: asm operand 0 probably doesn't
match constraints
include/asm/processor.h: In function `native_set_debugreg':
include/asm/processor.h:558: warning: asm operand 0 probably doesn't
match constraints
  LD      arch/i386/boot/compressed/piggy.o
  LD      arch/i386/boot/compressed/vmlinux
make: *** [bzImage] Error 2
05/16/07-17:27:44 Build the kernel. Failed rc = 2
05/16/07-17:27:44 build: kernel build Failed rc = 1
Failed and terminated the run

I haven't checked yet if that has anything to do with git-newsetup or
not.

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux