X
Tap here to go to the mobile version of the site.

Support Forum

building firefox os error

Posted

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.

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/obj32/lib/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.

Modified by lahkeda

Chosen solution

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

Read this answer in context 0

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

More Information

Ryan W 1 solutions 16 answers

Helpful Reply

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.

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: * [https://developer.mozilla.org/en-US/Firefox_OS/Installing_on_a_mobile_device Installing Firefox OS on a mobile device] * [http://nexus5.wonderhowto.com/how-to/install-firefox-os-other-experimental-roms-your-nexus-5-without-any-risk-0150964/ 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: * [https://support.mozilla.org/en-US/kb/how-set-firefox-os-desktop-build#w_run-the-firefox-os-simulator] 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): * [https://developer.mozilla.org/en-US/Firefox_OS/Porting] We hope you find this information helpful. Please let us know if you have any other questions.

Helpful Reply

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 .

''Ryan W [[#answer-878974|said]]'' <blockquote> 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: * [https://developer.mozilla.org/en-US/Firefox_OS/Installing_on_a_mobile_device Installing Firefox OS on a mobile device] * [http://nexus5.wonderhowto.com/how-to/install-firefox-os-other-experimental-roms-your-nexus-5-without-any-risk-0150964/ 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: * [https://support.mozilla.org/en-US/kb/how-set-firefox-os-desktop-build#w_run-the-firefox-os-simulator] 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): * [https://developer.mozilla.org/en-US/Firefox_OS/Porting] We hope you find this information helpful. Please let us know if you have any other questions. </blockquote> 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 .

Chosen Solution

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

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
Ryan W 1 solutions 16 answers

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.

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.