Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

building firefox os error

  • 4 replies
  • 9 have this problem
  • 207 views
  • Last reply by Ryan W

more options

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.

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

All Replies (4)

more options

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.

more options

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 .

more options

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

more options

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.