"Magic 7F45" error occurred when run MakeFile test on Linaro Android image.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On ARM Versatile Express A9 board with Linaro Android image:
https:/
"Magic 7F45" error occurred after run "MakeFile" test based on following procedures:
# cd /data/data
# busybox vi test.cpp
Then copy & paste following code to the file, save & quit.
#include <iostream>
int main(int argc, char **argv) {
std::cout << "g++ works" << std::endl;
}
# busybox vi Makefile
Then copy & paste following code to the file, save & quit. Note: A Tab space is required at the beginning of the second line.
g++test: test.cpp
<Insert a Tab Here>$(CXX) -o $@ -c $<
# make
# ./g++test
Then I got:
/system/bin/sh: ./g++test: can't execute: Permission denied
So I tried to give it permission 777 and run again:
126|root@
-rw------- root log 13264 2013-08-27 12:33 g++test
root@vexpress:
Bad mode
10|root@
root@vexpress:
/system/bin/sh: ./g++test: not executable: magic 7F45
1|root@
-rwx------ root log 13264 2013-08-27 12:33 g++test
root@vexpress:
root@vexpress:
/system/bin/sh: ./g++test: not executable: magic 7F45
1|root@
-rwxrwxrwx root log 13264 2013-08-27 12:33 g++test
root@vexpress:
The error information "magic 7F45" continuously shows. This issue is also observed on other Linaro Android images, like TI Panda, Samsung Arndale, galaxy_nexus.
the isuue reproduced with the builds
https:/
https:/
tags: | removed: arndale |
tags: | added: arndale |
description: | updated |
description: | updated |
the same issue obbserved with Linaro android Jellybean 4.3 arndale 13.08 release builds,
https:/ /android- build.linaro. org/builds/ ~linaro- android/ arndale- linaro- 13.08-release/ #build= 1