building firefox os error
Hey , I was building firefox os for my device ,but I got these error messages .
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: /home/hesham/B2G/out/host/linux-x86/obj32/SHARED_LIBRARIES/libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_ prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: /home/hesham/B2G/out/host/linux-x86/obj32/SHARED_LIBRARIES/libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_ prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: /home/hesham/B2G/out/host/linux-x86/obj32/SHARED_LIBRARIES/libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_ prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: /home/hesham/B2G/out/host/linux-x86/obj32/SHARED_LIBRARIES/libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_ prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: /home/hesham/B2G/out/host/linux-x86/obj32/SHARED_LIBRARIES/libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_ prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: /home/hesham/B2G/out/host/linux-x86/obj32/SHARED_LIBRARIES/libnativehelper_intermediates/JniInvocation.o: unsupported reloc 43 against global symbol JniInvocation::jni_invocation_ libnativehelper/JniInvocation.cpp:40: error: unsupported reloc 43 libnativehelper/JniInvocation.cpp:45: error: unsupported reloc 43 libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43 libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43 libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43 libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43 clang: error: linker command failed with exit code 1 (use -v to see invocation) build/core/host_shared_library_internal.mk:44: recipe for target '/home/hesham/B2G/out/host/linux-x86/obj32/lib/libnativehelper.so' failed make: *** /home/hesham/B2G/out/host/linux-x86/o.../libnativehelper.so Error 1 make: *** Waiting for unfinished jobs....
real 5m26.608s user 1m51.352s sys 3m10.916s
> Build failed! <
Build with |./build.sh -j1| for better messages If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
Изменено
Выбранное решение
Guys , you can close this problem and mark it as Solved . I solved this problem by making a link of /usr/bin/ld.gold and replace it by prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld
Прочитайте этот ответ в контексте 👍 0Все ответы (4)
There are some Android devices which other people have already built and installed Firefox OS for.
If you have a Galaxy S2 and Nexus 5 it may be a bit easier to port Firefox OS - however, there is always the risk of bricking your device and making it useless.
Please also be aware that not all features of Firefox OS may work correctly on a ported build. If you are curious to know more, you may find information on these sites:
- Installing Firefox OS on a mobile device
- How to Install Firefox OS (& Other Experimental ROMs) On Your Nexus 5
You can also try the Firefox OS by running the simulator in your Firefox browser. Please check the following article for instructions:
If you are an advanced user and would like to learn more information about manually porting Firefox OS to your specific device, you can go to MDN (Mozilla Developer Network):
We hope you find this information helpful. Please let us know if you have any other questions.
Ryan W said
There are some Android devices which other people have already built and installed Firefox OS for. If you have a Galaxy S2 and Nexus 5 it may be a bit easier to port Firefox OS - however, there is always the risk of bricking your device and making it useless. Please also be aware that not all features of Firefox OS may work correctly on a ported build. If you are curious to know more, you may find information on these sites: You can also try the Firefox OS by running the simulator in your Firefox browser. Please check the following article for instructions: If you are an advanced user and would like to learn more information about manually porting Firefox OS to your specific device, you can go to MDN (Mozilla Developer Network): We hope you find this information helpful. Please let us know if you have any other questions.
sorry ,but I've already seen the links you mentioned . And I've already ported different ROMs for my device so I'm not new to these stuff . At all thank you for your reply I'll check a solution I've found and will let you know if It solved my problem .
Выбранное решение
Guys , you can close this problem and mark it as Solved . I solved this problem by making a link of /usr/bin/ld.gold and replace it by prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld
Hello,
Glad to hear that you resolved your problem, if possible please help other users with this problem! Volunteer today.
Once again thanks for contacting Mozilla Support.