* insight 5.0 compile problem
@ 2001-10-22 6:27 Frans J King
2001-10-22 6:37 ` Fernando Nasser
0 siblings, 1 reply; 2+ messages in thread
From: Frans J King @ 2001-10-22 6:27 UTC (permalink / raw)
To: insight
I have a problem compiling insight with for ARM-linux or ARM-elf with
the --enable-sim flag.
make[1]: Entering directory `/var/tmp/insight-5.0/libiberty'
make[2]: Entering directory `/var/tmp/insight-5.0/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/insight-5.0/libiberty/testsuite'
make[1]: Leaving directory `/var/tmp/insight-5.0/libiberty'
make[1]: Entering directory `/var/tmp/insight-5.0/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/insight-5.0/intl'
make[1]: Entering directory `/var/tmp/insight-5.0/bfd'
make all-recursive
make[2]: Entering directory `/var/tmp/insight-5.0/bfd'
Making all in doc
make[3]: Entering directory `/var/tmp/insight-5.0/bfd/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/insight-5.0/bfd/doc'
Making all in po
make[3]: Entering directory `/var/tmp/insight-5.0/bfd/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/insight-5.0/bfd/po'
make[3]: Entering directory `/var/tmp/insight-5.0/bfd'
/bin/sh ./libtool --mode=link gcc -W -Wall -g -O2 -o libbfd.la -rpath
--enable-sim/lib -release 2.9.5 archive.lo archures.lo bfd.lo cache.lo
coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo
section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo
tekhex.lo ihex.lo stabs.lo stab-syms.lo `cat ofiles`
libtool: link: only absolute run-paths are allowed
make[3]: *** [libbfd.la] Error 1
make[3]: Leaving directory `/var/tmp/insight-5.0/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/insight-5.0/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/var/tmp/insight-5.0/bfd'
make: *** [all-bfd] Error 2
This doesn't happen without the --enable-sim flag but then I can't use
target sim inside gdb.
Does anyone know a fix for this?
Thanks
Frans King
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: insight 5.0 compile problem
2001-10-22 6:27 insight 5.0 compile problem Frans J King
@ 2001-10-22 6:37 ` Fernando Nasser
0 siblings, 0 replies; 2+ messages in thread
From: Fernando Nasser @ 2001-10-22 6:37 UTC (permalink / raw)
To: Frans J King; +Cc: insight
Frans,
First of all, don't use GDB 5.0 for ARM debugging. It is too old
and the sources do not include many fixes to ARM code. Try and
download a recent GDB snapshot.
Second, the simulator is supposed to be included by default.
I never had to specify --enable-sim.
Third, the configure triplet (which have a two element
alias) is all lowercase:
--target=arm-elf
is how I specify it.
Last, but not least, this is the GUI list (Insight is the GUI for
the GNU debugger GDB). You are actually building GDB with the
additional files that give GDB the Insight graphical interface).
It was just a coincidence that someone who works with arm targets
was around (I dont know anything about arm-linux though).
In the future, lease post to the gdb@sources.redhat.com as there
are other ARM people in the list.
Regards,
Fernando
Frans J King wrote:
>
> I have a problem compiling insight with for ARM-linux or ARM-elf with
> the --enable-sim flag.
>
> make[1]: Entering directory `/var/tmp/insight-5.0/libiberty'
> make[2]: Entering directory `/var/tmp/insight-5.0/libiberty/testsuite'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/var/tmp/insight-5.0/libiberty/testsuite'
> make[1]: Leaving directory `/var/tmp/insight-5.0/libiberty'
> make[1]: Entering directory `/var/tmp/insight-5.0/intl'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/var/tmp/insight-5.0/intl'
> make[1]: Entering directory `/var/tmp/insight-5.0/bfd'
> make all-recursive
> make[2]: Entering directory `/var/tmp/insight-5.0/bfd'
> Making all in doc
> make[3]: Entering directory `/var/tmp/insight-5.0/bfd/doc'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/var/tmp/insight-5.0/bfd/doc'
> Making all in po
> make[3]: Entering directory `/var/tmp/insight-5.0/bfd/po'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/var/tmp/insight-5.0/bfd/po'
> make[3]: Entering directory `/var/tmp/insight-5.0/bfd'
> /bin/sh ./libtool --mode=link gcc -W -Wall -g -O2 -o libbfd.la -rpath
> --enable-sim/lib -release 2.9.5 archive.lo archures.lo bfd.lo cache.lo
> coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo
> section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo
> tekhex.lo ihex.lo stabs.lo stab-syms.lo `cat ofiles`
> libtool: link: only absolute run-paths are allowed
> make[3]: *** [libbfd.la] Error 1
> make[3]: Leaving directory `/var/tmp/insight-5.0/bfd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/var/tmp/insight-5.0/bfd'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/var/tmp/insight-5.0/bfd'
> make: *** [all-bfd] Error 2
>
> This doesn't happen without the --enable-sim flag but then I can't use
> target sim inside gdb.
>
> Does anyone know a fix for this?
>
> Thanks
>
> Frans King
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-22 6:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-22 6:27 insight 5.0 compile problem Frans J King
2001-10-22 6:37 ` Fernando Nasser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).