This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: insight 5.0 compile problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]