From: veerasena reddy <veerasena_b@yahoo.co.in>
To: "linux-kernel.org" <linux-kernel@vger.kernel.org>,
linux-mips <linux-mips@linux-mips.org>
Subject: Linux-2.6.18.8 compilation errors with GCC-4.2.1 and binutils-2.17 on MIPS
Date: Wed, 17 Oct 2007 08:12:27 +0100 (BST) [thread overview]
Message-ID: <304090.76321.qm@web8411.mail.in.yahoo.com> (raw)
Hi,
I tried to compile Linux-2.6.18.8 for MIPS24KE
processor using cross-compiler built from gcc-4.2.1,
binutils-2.17 and uClibc-0.9.27. But, the compilation
failed with below error message ("mips-linux-ld: final
link failed: Bad value"):
================================
mips-linux-gcc -Wp,-MD,drivers/mtd/.mtd_blkdevs.o.d
-nostdinc -isystem /home/
sedara/BETA_REL/buildroot/build_mips_nofpu/staging_dir/lib/gcc/mips-linux-uclibc/4.2.1/include
-D__KERNEL__ -Iinclude -include
include/linux/autoconf.h -DNEW_C
ONFIG -I/home/sedara/BETA_REL/linux-2.6.18/include
-I/home/sedara/BETA_REL/linux
-2.6.18/../fusiv_src/kernel/ap_code
-I/home/sedara/BETA_REL/linux-2.6.18/../fusi
v_src/kernel/ap_code/inc
-I/home/sedara/BETA_REL/linux-2.6.18/../fusiv_src/kerne
l/drivers/inc
-I/home/sedara/BETA_REL/linux-2.6.18/../fusiv_src/kernel/drivers/a
dsl -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -O
2 -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe
-msoft-float -ffreestanding -marc
h=mips32r2 -Wa,-mips32r2 -Wa,--trap
-Iinclude/asm-mips/mach-ikan_mips -Iinclude/
asm-mips/mach-generic -fomit-frame-pointer
-fno-stack-protector -Wdeclaration-a
fter-statement -Wno-pointer-sign
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUI
LD_STR(mtd_blkdevs)"
-D"KBUILD_MODNAME=KBUILD_STR(mtd_blkdevs)" -c -o
drivers/m
td/.tmp_mtd_blkdevs.o drivers/mtd/mtd_blkdevs.c
mips-linux-ld: final link failed: Bad value
make[2]: *** [drivers/mtd/mtd_blkdevs.o] Error 1
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
=====================================
has anybody faced similar problem?
Could you please help in resolving this?
Thanks in advance.
Regards,
Veerasena.
Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php
next reply other threads:[~2007-10-17 7:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 7:12 veerasena reddy [this message]
2007-10-17 11:13 ` Linux-2.6.18.8 compilation errors with GCC-4.2.1 and binutils-2.17 on MIPS Maciej W. Rozycki
2007-10-17 16:21 ` David Daney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=304090.76321.qm@web8411.mail.in.yahoo.com \
--to=veerasena_b@yahoo.co.in \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox