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
