Linux MIPS Architecture development
 help / color / mirror / Atom feed
* 64bit Sead build
@ 2003-07-21 14:32 David Kesselring
  2003-07-21 23:36 ` Ralf Baechle
  0 siblings, 1 reply; 7+ messages in thread
From: David Kesselring @ 2003-07-21 14:32 UTC (permalink / raw)
  To: linux-mips

I'm trying to build linux for Sead in 64 bit. I found that it would not
compile without the change at the end of this note. After this fix, I got
the following link error. Does anyone have an idea why?
*******************************************************************
mips64el-linux-ld --oformat elf32-tradlittlemips -G 0 -static  -Ttext
0x80100000 arch/mips64/kernel/head.o
arch/mips64/kernel/init_task.o init/main.o init/version.o init/do_mounts.o
\
        --start-group \
        arch/mips64/kernel/kernel.o arch/mips64/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o \
        net/network.o \
        arch/mips64/lib/lib.a
/home/dkesselr/MIPS/linux-mips-cvs/2003Jul18/linux-build-mips64b/lib/lib.a
arch/mips/mips-boards/sead/sead.o
arch/mips/mips-boards/generic/mipsboards.o \
        --end-group \
        -o vmlinux
mips64el-linux-ld: warning: cannot find entry symbol __start; defaulting
to 0000000080100000
mips64el-linux-ld: vmlinux: Not enough room for program headers (allocated
3, need 4)
mips64el-linux-ld: final link failed: Bad value
make: *** [vmlinux] Error 1

**************************************************************************
--- 2003Jul21/linux/include/asm-mips64/serial.h	2003-06-15
19:42:21.000000000 -0400
+++ 2003Jul18/linux-build-mips64b/include/asm-mips64/serial.h	2003-07-21
10:25:32.000000000 -0400
@@ -20,8 +20,6 @@
  */
 #define BASE_BAUD (1843200 / 16)

-#ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT
-
 /* Standard COM flags (except for COM4, because of the 8514 problem) */
 #ifdef CONFIG_SERIAL_DETECT_IRQ
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST |
ASYNC_AUTO_IRQ)
@@ -31,6 +29,7 @@
 #define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF
 #endif

+#ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT
 #define STD_SERIAL_PORT_DEFNS			\
 	/* UART CLK   PORT IRQ     FLAGS        */			\
 	{ 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS },	/* ttyS0 */	\







David Kesselring
Atmel MMC
dkesselr@mmc.atmel.com
919-462-6587

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-22 13:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-21 14:32 64bit Sead build David Kesselring
2003-07-21 23:36 ` Ralf Baechle
2003-07-22 12:40   ` David Kesselring
2003-07-22 12:48     ` Ralf Baechle
2003-07-22 12:49     ` Dominic Sweetman
2003-07-22 13:04       ` Ralf Baechle
2003-07-22 12:52     ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox