Closed Bug 1053346 Opened 10 years ago Closed 7 years ago

[flatfish] run-gdb.sh fails due to incorrect version of arm-linux-androideabi

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: steve, Unassigned)

References

Details

With a flatfish master build run-gdb.sh fails with the error ./run-gdb.sh: line 141: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gdb: No such file or directory The reason is the workspace contains arm-linux-androideabi-4.7 and run-gdb.sh is hardcoded to use 4.7 Is this a config problem? Or bug in run-gdb for flatfish?
Correction, the workspace contains arm-linux-androideabi-4.6
OS: Linux → Other
Hardware: x86_64 → ARM
Summary: [flatfish] run-gdb.sh fails due to incorretc version of arm-linux-androideabi → [flatfish] run-gdb.sh fails due to incorrect version of arm-linux-androideabi
Currently run-gdb.sh looks for: > prebuilt/${HOST_OS}/toolchain/${TARGET_TRIPLE}-4.4.x/bin/${TARGET_TRIPLE}-gdb and > prebuilts/gcc/${HOST_OS}/${TARGET_ARCH}/${TARGET_TRIPLE}-4.7/bin/${TARGET_TRIPLE}-gdb You could certainly add 4.6, although our other JB/KK devices are using 4.7 so it's curious why flatfish is using 4.6.
When I tried editing the second line to use ...${TARGET_TRIPLE}-4.6.... I then got an error that libpython2.6.so.1.0 was not found. So a little more needs to be done for 4.6 to work. Is there a way to install 4.7 for flatfish? I'm guessing this comes from config.sh?
$ sudo add-apt-repository ppa:fkrull/deadsnakes $ sudo apt-get update $ sudo apt-get install libpython2.6
(In reply to Steve Lee from comment #3) > When I tried editing the second line to use ...${TARGET_TRIPLE}-4.6.... I > then got an error that > > libpython2.6.so.1.0 > > was not found. So a little more needs to be done for 4.6 to work. > > Is there a way to install 4.7 for flatfish? I'm guessing this comes from > config.sh? I'm not sure about it. I don't recommend to replace toolchain to 4.7, you may have a chance to hit some compiling error.
Blocks: flatfish
Blocks: 1053146
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.