Hi Henrik, 

I haven't updated it in a while, but I do have a ubuntu VM with the emulator 
compiled.
http://shizen008.wordpress.com/2013/11/11/images-for-b2gemulator/

In regards to your situation, I suggest trying the part in the MDN that states 
to disable the 32 bit compilation.
see solution 2 in 
https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites
There's a patch to disable the 32 bit compilation.

Regards,
Naoki

On Jan 9, 2014, at 11:56 PM, [email protected] wrote:

> Hi there
> 
> I had a similar problem and found a work-around that might help - check out 
> http://stackoverflow.com/questions/19272524/arm-linux-androideabi-g-liblto-plugin-so-not-found.
> 
> Cheers,
> Lane
> 
> On Thursday, 8 November 2012 17:07:56 UTC, Henrik Skupin  wrote:
>> Hi all,
>> 
>> 
>> 
>> I need a self-build version of b2g to get started with tests for
>> 
>> different WebAPI. But so far I'm struggling in getting the emulator
>> 
>> built at all. So far no-one was able to help me with that problem, but I
>> 
>> hope that a solution can be found here.
>> 
>> 
>> 
>> So I have followed the steps on MDN and installed all the required
>> 
>> packages, checked out the B2G repository and ran the config script with
>> 
>> './config.sh emulator'. When I now start build.sh I get a failure quite
>> 
>> early in the process, which doesn't let me continue:
>> 
>> 
>> 
>>> host C: emulator-common <= external/qemu/distrib/zlib-1.2.3/compress.c
>> 
>>> i686-linux-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not 
>>> found
>> 
>>> compilation terminated.
>> 
>>> make: *** 
>>> [out/host/linux-x86/obj/STATIC_LIBRARIES/emulator-common_intermediates/distrib/zlib-1.2.3/compress.o]
>>>  Error 1
>> 
>>> make: *** Deleting file 
>>> `out/host/linux-x86/obj/STATIC_LIBRARIES/emulator-common_intermediates/distrib/zlib-1.2.3/compress.o'
>> 
>>> make: *** Waiting for unfinished jobs....
>> 
>>> i686-linux-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not 
>>> found
>> 
>>> compilation terminated.
>> 
>>> make: *** 
>>> [out/host/linux-x86/obj/STATIC_LIBRARIES/emulator-common_intermediates/distrib/zlib-1.2.3/adler32.o]
>>>  Error 1
>> 
>>> make: *** Deleting file 
>>> `out/host/linux-x86/obj/STATIC_LIBRARIES/emulator-common_intermediates/distrib/zlib-1.2.3/adler32.o'
>> 
>>> i686-linux-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not 
>>> found
>> 
>>> compilation terminated.
>> 
>>> make: *** 
>>> [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android/main-emulator.o]
>>>  Error 1
>> 
>>> make: *** Deleting file 
>>> `out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android/main-emulator.o'
>> 
>> 
>> 
>> liblto_plugin.so is part of the toolchain and located in:
>> 
>> 
>> 
>> ../prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/libexec/gcc/i686-linux/4.6.x-google/liblto_plugin.so
>> 
>> 
>> 
>> 
>> 
>> What did I wrong or what's missing so this compile error can be eliminated?
>> 
>> 
>> 
>> Thanks a lot!
>> 
>> 
>> 
>> Henrik
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to