A Microcontroller Discussion Board

Microcontrollers => ARM => Topic started by: splitarm on December 21, 2008, 01:38:00 PM



Title: trouble with insight and amd64 host
Post by: splitarm on December 21, 2008, 01:38:00 PM
Hi,

after compiling the GNU Arm Toolchain using the gnu-arm-installer I'm having some trouble with arm-elf-insight on my amd64 Ubuntu.

When I try to open an elf file, the file seems to be loaded but the source window stays grey, clicking on File > Target Settings shows no reaction at all and trying to run the binary returns following stack trace:

Code:
can't read "_status": no such variable
    while executing
"$_status configure -text $msg"
    (object "::.srcwin0.srcwin" method "::SrcWin::set_status" body line 4)
    invoked from within
"$srcWin set_status "Trying to communicate with target $gdb_pretty_name" 1"
    (procedure "set_target" line 23)
    invoked from within
"set_target"
    (procedure "gdbtk_attach_remote" line 8)
    invoked from within
"gdbtk_attach_remote"
    (procedure "run_executable" line 29)
    invoked from within
"run_executable"
    (procedure "gdbtk_run" line 10)
    invoked from within
"gdbtk_run "
    ("run" arm line 1)
    invoked from within
"switch $action {
    step { gdbtk_step }
    next { gdbtk_next }
    finish { gdbtk_finish }
    continue { gdbtk_continue }
    stepi { gdbtk_stepi }..."
    (object "::.srcwin0.srcwin" method "::SrcWin::inferior" body line 33)
    invoked from within
"::.srcwin0.srcwin inferior run"
    (in namespace inscope "::SrcBar" script line 1)
    invoked from within
"namespace inscope ::SrcBar {::.srcwin0.srcwin inferior run}"
    invoked from within
".srcwin0.srcwin.container.pane0.childsite.con.toolbar.t.stop invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 [list $w invoke]"
    (procedure "TOOLBAR_button_up" line 19)
    invoked from within
"TOOLBAR_button_up .srcwin0.srcwin.container.pane0.childsite.con.toolbar.t.stop"
    (command bound to event)errorCode is NONE

Google tells me this could be a 64bit specific error, will try it on a 32bit machine soon. Any ideas how to solve this?

Thanks,
splitarm


Title: Re: trouble with insight and amd64 host
Post by: Doug on January 17, 2009, 11:54:47 AM
In this case, I have no idea too, Sorry  :D.
If you have any solutions, please return to update.


Title: Re: trouble with insight and amd64 host
Post by: drwizard on February 27, 2009, 07:16:22 AM
im havin problem with the sript :(
gcc -DHAVE_CONFIG_H -I. -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas -I. -I. -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas -I../bfd -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/../include -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/.. -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/../bfd -DLOCALEDIR="\"/home/reaper/Desktop/gnu-arm-installer/install/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c /home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c
cc1: warnings being treated as errors
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’:
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3459: error: format not a string literal and no format arguments
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3473: error: format not a string literal and no format arguments
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’:
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3591: error: format not a string literal and no format arguments
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3606: error: format not a string literal and no format arguments
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’:
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3712: error: format not a string literal and no format arguments
make[4]: *** [tc-arm.o] Error 1
make[4]: Leaving directory `/home/reaper/Desktop/gnu-arm-installer/build/binutils-2.19.1/gas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/reaper/Desktop/gnu-arm-installer/build/binutils-2.19.1/gas'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/reaper/Desktop/gnu-arm-installer/build/binutils-2.19.1/gas'
make[1]: *** [all-gas] Error 2
make[1]: Leaving directory `/home/reaper/Desktop/gnu-arm-installer/build/binutils-2.19.1'
make: *** [all] Error 2
some one can help?