>does it miss the '-c' somehow?
I don't think -c is being missed because I changed the mm/Makefile from
mmu-$(CONFIG_MMU) := fremap.o highmem.o madvise.o memory.o mincore.o \
mlock.o mmap.o mprotect.o mremap.o msync.o rmap.o
\
vmalloc.o
to
mmu-$(CONFIG_MMU) := highmem.o madvise.o memory.o mincore.o \
mlock.o mmap.o mprotect.o mremap.o msync.o rmap.o
\
vmalloc.o fremap.o
All the other files are compiled and I persume linked successfully. The
problem only comes in fremap.o
Mudeem
-----Original Message-----
From: Thiemo Seufer [mailto:ica2_ts@csv.ica.uni-stuttgart.de]
Sent: Thursday, January 06, 2005 7:51 PM
To: Mudeem Iqbal
Cc: 'linux-mips@linux-mips.org'
Subject: Re: mipes-linux-ld: final link failed: Bad value
Mudeem Iqbal wrote:
> hi,
>
> I have built a toolchain using the following combination
>
> binutils-2.15
> gcc-3.4.3
> glibc-2.3.3
> linux-2.6.9 (from linux-mips.org)
>
> I am cross compiling linux kernel for mips. I think the toolchain has been
> successfully built. But when cross compiling the kernel I get the
following
> error
>
> CC mm/fremap.o
> mipsel-linux-ld: final link failed: Bad value
> make[1]: *** [mm/fremap.o] Error 1
A _final_ link for mm/fremap.o sounds like a broken cc invocation
in mm/Makefile (does it miss the '-c' somehow?).
Thiemo
|