crosscompiling - the saga continues
Well, once again I have failed to get the 2.4.23 kernel to crosscompile.
I went to the alioth http site and specifially downloaded and dpkg
--force-all installed the biarch versions of gcc/libc/g++/etc. I think I
am doing something stupid since from the error messages it looks like
gcc isn't even _trying_ to generate AMD64 assembly:
/usr/src/linux-2.4.23/include/asm/pci.h: In function `pci_dac_page_to_dma':
/usr/src/linux-2.4.23/include/asm/pci.h:240: warning: integer constant
is too large for "long" type
/usr/src/linux-2.4.23/include/asm/pci.h:240: warning: comparison is
always false due to limited range of data type
/usr/src/linux-2.4.23/include/asm/pci.h:240: warning: integer constant
is too large for "long" type
/usr/src/linux-2.4.23/include/asm/pci.h:240: warning: integer constant
is too large for "long" type
/usr/src/linux-2.4.23/include/asm/pci.h: In function `pci_dac_dma_to_page':
/usr/src/linux-2.4.23/include/asm/pci.h:247: warning: integer constant
is too large for "long" type
/usr/src/linux-2.4.23/include/asm/pci.h:247: warning: integer constant
is too large for "long" type
/usr/src/linux-2.4.23/include/asm/pci.h:247: warning: comparison is
always false due to limited range of data type
/usr/src/linux-2.4.23/include/asm/pci.h:247: warning: integer constant
is too large for "long" type
/usr/src/linux-2.4.23/include/asm/pci.h:247: warning: integer constant
is too large for "long" type
/usr/src/linux-2.4.23/include/asm/pci.h:247: warning: integer constant
is too large for "long" type
/usr/src/linux-2.4.23/include/asm/pci.h:247: warning: integer constant
is too large for "long" type
init/main.c: In function `start_kernel':
init/main.c:388: warning: integer constant is too large for "long" type
init/main.c:388: warning: integer constant is too large for "long" type
init/main.c:388: warning: integer constant is too large for "long" type
init/main.c:388: warning: integer constant is too large for "long" type
init/main.c:388: warning: integer constant is too large for "long" type
init/main.c:388: warning: integer constant is too large for "long" type
{standard input}: Assembler messages:
{standard input}:14: Error: suffix or operands invalid for `movq'
{standard input}:16: Error: suffix or operands invalid for `movq'
{standard input}:22: Error: suffix or operands invalid for `movq'
{standard input}:24: Error: suffix or operands invalid for `movq'
{standard input}:449: Error: Incorrect register `%eax' used with `q' suffix
Any sort of help appreciated .
anthony
P.S. Suggestion: it would be _very_ nice if you guys set up a complete
biarch set so that I could just do a debootstrap and not have to worry
about getting X packages from the main distro and Y packages from alioth
and still not getting it right :)
Reply to: