I keep getting errors when I try to build Firefox
I am doing security research to benefit the mozilla community and it's users and in order to lower costs I'm trying to do research on the Raspberry Pi 3. I am following this guide https://developer.mozilla.org/en-US/docs/Mozilla/Testing/Firefox_and_Address_Sanitizer specifically the manual build section.
pi@raspberrypi:~/llvm/build $ sudo make -j6 Scanning dependencies of target LLVMHello_exports Scanning dependencies of target count Scanning dependencies of target compiler-rt-headers Scanning dependencies of target dfsan_abilist [ 0%] Scanning dependencies of target BugpointPasses_exports Scanning dependencies of target LLVMSupport [ 0%] [ 0%] Creating export file for LLVMHello [ 0%] Copying compiler-rt's sanitizer/asan_interface.h... [ 0%] Generating ../../../../lib/clang/3.5/dfsan_abilist.txt Creating export file for BugpointPasses /bin/sh: 1: cannot create /home/pi/llvm/build/lib/clang/3.5/dfsan_abilist.txt: Directory nonexistent projects/compiler-rt/lib/dfsan/CMakeFiles/dfsan_abilist.dir/build.make:52: recipe for target 'lib/clang/3.5/dfsan_abilist.txt' failed make[2]: *** [lib/clang/3.5/dfsan_abilist.txt] Error 2 CMakeFiles/Makefile2:7894: recipe for target 'projects/compiler-rt/lib/dfsan/CMakeFiles/dfsan_abilist.dir/all' failed make[1]: *** [projects/compiler-rt/lib/dfsan/CMakeFiles/dfsan_abilist.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Building C object utils/count/CMakeFiles/count.dir/count.c.o [ 0%] [ 0%] Copying compiler-rt's sanitizer/common_interface_defs.h... Built target LLVMHello_exports [ 0%] [ 0%] Copying compiler-rt's sanitizer/dfsan_interface.h... [ 0%] Copying compiler-rt's sanitizer/linux_syscall_hooks.h... [ 0%] Built target BugpointPasses_exports [ 0%] Copying compiler-rt's sanitizer/lsan_interface.h... [ 0%] Copying compiler-rt's sanitizer/msan_interface.h... Copying compiler-rt's sanitizer/tsan_interface_atomic.h... [ 0%] Built target compiler-rt-headers Linking C executable ../../bin/count [ 0%] Built target count [ 0%] [ 0%] [ 0%] [ 0%] [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APSInt.cpp.o Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConstantRange.cpp.o [ 0%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataStream.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Debug.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Dwarf.cpp.o [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Hashing.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IsInf.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IsNAN.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Locale.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryObject.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MD5.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Regex.cpp.o [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o [ 2%] [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Statistic.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StreamableMemoryObject.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o [ 2%] [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringMap.cpp.o Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringPool.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringRefMemoryObject.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Triple.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Twine.cpp.o [ 2%] [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Unicode.cpp.o Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o [ 2%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regcomp.c.o [ 2%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.o [ 2%] [ 2%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regexec.c.o Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regfree.c.o [ 2%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Atomic.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Disassembler.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Errno.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Host.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IncludeFile.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Memory.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mutex.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o [ 3%] [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Process.cpp.o Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Program.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SearchForAddressOfSpecialSymbol.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/system_error.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Threading.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TimeValue.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o Linking CXX static library ../libLLVMSupport.a [ 3%] Built target LLVMSupport Makefile:137: recipe for target 'all' failed make: *** [all] Error 2 pi@raspberrypi:~/llvm/build $
Toutes les réponses (1)
Hi
Thank you for your question and great to hear that you want to get involved and make Firefox better and even more secure.
This the support forum for users that are having issues with Firefox, we are not a development team. I recommend you get in touch with th people that last edited that MDN article you mention or alternatively, pop into the #introduction room on Mozilla IRC and someone may be able to help.
Keep rocking the secure web!