* Mips 4KEC
@ 2005-05-11 14:20 Mile Davidovic
2005-05-11 14:27 ` Ralf Baechle
2005-05-11 16:13 ` Nigel Stephens
0 siblings, 2 replies; 3+ messages in thread
From: Mile Davidovic @ 2005-05-11 14:20 UTC (permalink / raw)
To: 'Linux/MIPS Development'
Hello all
I tried to port linux 2.6.11-mipscvs-20050313 on MIPS 4KEC processor.
But I faced with some problems.
1. I have question regarding toolchain, I use toolchain which came from
uclibc buildroot
application. Gcc version is 3.4.2, is it ok?
2. I tried to use sde-lite 5.03 toolchain but this toolchain (sde-gcc)
failed to build kernel.
Please any comments regarding this issue?
3. I tried to remove optimization from kernel:
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
CFLAGS += -Os
else
#CFLAGS += -O2
endif
but kernel failed to compile with next messages:
init/built-in.o(.init.text+0x216c): In function
`identify_ramdisk_image':
init/do_mounts_rd.c:92: undefined reference to `ntohl'
kernel/built-in.o(.text+0xf6f4): In function `put_files_struct':
include/asm/system.h:270: undefined reference to
`__xchg_u64_unsupported_on_32bit_kernels'
kernel/built-in.o(.text+0xf708):include/asm/system.h:273: undefined
reference to `__xchg_called_with_bad_pointer'
kernel/built-in.o(.text+0x13264): In function `wait_task_zombie':
include/asm/system.h:270: undefined reference to
`__xchg_u64_unsupported_on_32bit_kernels'
kernel/built-in.o(.text+0x13278):include/asm/system.h:273: undefined
reference to `__xchg_called_with_bad_pointer'
....
I tried with googling but it seems that nobody faced similar problem? Is it
possible to buidl kernel without optimization?
Best regards Mile
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mips 4KEC
2005-05-11 14:20 Mips 4KEC Mile Davidovic
@ 2005-05-11 14:27 ` Ralf Baechle
2005-05-11 16:13 ` Nigel Stephens
1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2005-05-11 14:27 UTC (permalink / raw)
To: Mile Davidovic; +Cc: 'Linux/MIPS Development'
On Wed, May 11, 2005 at 04:20:53PM +0200, Mile Davidovic wrote:
> 1. I have question regarding toolchain, I use toolchain which came from
> uclibc buildroot
> application. Gcc version is 3.4.2, is it ok?
Yes.
> 2. I tried to use sde-lite 5.03 toolchain but this toolchain (sde-gcc)
> failed to build kernel.
> Please any comments regarding this issue?
> 3. I tried to remove optimization from kernel:
> I tried with googling but it seems that nobody faced similar problem? Is it
> possible to buidl kernel without optimization?
No. That's FAQ since 10 years.
Ralf
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mips 4KEC
2005-05-11 14:20 Mips 4KEC Mile Davidovic
2005-05-11 14:27 ` Ralf Baechle
@ 2005-05-11 16:13 ` Nigel Stephens
1 sibling, 0 replies; 3+ messages in thread
From: Nigel Stephens @ 2005-05-11 16:13 UTC (permalink / raw)
To: mile.davidovic; +Cc: 'Linux/MIPS Development'
Mile Davidovic wrote:
>
>
>2. I tried to use sde-lite 5.03 toolchain but this toolchain (sde-gcc)
>failed to build kernel.
> Please any comments regarding this issue?
>
SDE-lite is a "bare-iron" compiler which isn't very suitable for
building the Linux kernel. Instead you could try the version of the SDE
toolchain which has been configured as a Linux compiler, as described
here http://www.linux-mips.org/wiki/index.php/Toolchains#MIPS_SDE
Nigel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-11 16:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-11 14:20 Mips 4KEC Mile Davidovic
2005-05-11 14:27 ` Ralf Baechle
2005-05-11 16:13 ` Nigel Stephens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox