From: Keith Owens <kaos@ocs.com.au>
To: "jairam nair" <jairamnair@rediffmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem while Crosscompiling Ksymoops
Date: Wed, 11 Jun 2003 15:41:29 +1000 [thread overview]
Message-ID: <12589.1055310089@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "10 Jun 2003 10:32:40 GMT." <20030610103240.3422.qmail@webmail26.rediffmail.com>
On 10 Jun 2003 10:32:40 -0000,
"jairam nair" <jairamnair@rediffmail.com> wrote:
> Hi,
> I am trying to cross compile ksymoops-2.4.9 for Strong ARM.
>But i
>am getting a segmentation Fault. The error messages is as below.
>arm-linux-gcc io.o ksyms.o ksymoops.o map.o misc.o object.o
>oops.o
>re.o symbol.o -Dlinux -Wall -Wno-conversion -Waggregate-return
>-Wstrict-prototypes -Wmissing-prototypes
>-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
>-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
>-DDEF_OBJECTS=\"/lib/modules/*r/\"
>-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
>-I/skiff/local/include -L/skiff/local/lib -arm-linux-ld,-Bstatic
>-lbfd
>-liberty -arm-linux-ld,-Bdynamic -o ksymoops
>collect2: ld terminated with signal 11 [Segmentation fault],
>core dumped
The command line for the final link is wrong. It should contain
-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic -o ksymoops
You replaced '-Wl' with '-arm-linux-ld', ld did not understand that and
got a segmentation fault trying to handle the unknown parameter.
Correct your command line, and log a problem against binutils that it
cannot cope with unexpected options.
> Can anybody tell me what should be given for DEF_MAP, since in
>the
>target machine there is no System.map file.
Without a system map, you are not going to get much of a decode. But
if that is what you want, add 'DEFMAP=' to the make command line.
prev parent reply other threads:[~2003-06-11 5:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-10 10:32 jairam nair
2003-06-11 5:41 ` Keith Owens [this message]
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=12589.1055310089@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=jairamnair@rediffmail.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®