../../../../../bin/microblaze-linux-ecc -c -fno-builtin -Werror -MD -MP -O1 -g -I../../../../src/c/include -I../../../../src/c/locale ../../../../src/c/stdio/vfprintf.c ecc: warning: unknown platform, assuming -mfloat-abi=soft ecc: /home/rich/ellcc/llvm/include/llvm/CodeGen/MachineFrameInfo.h:378: int64_t llvm::MachineFrameInfo::getObjectOffset(int) const: Assertion `unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && "Invalid Object Idx!"' failed. 0 ecc 0x0000000001ee946f 1 ecc 0x0000000001ee9faa 2 libpthread.so.0 0x0000003ecca0eeb0 3 libc.so.6 0x0000003ecbe330c5 gsignal + 53 4 libc.so.6 0x0000003ecbe34a76 abort + 390 5 libc.so.6 0x0000003ecbe2b905 __assert_fail + 245 6 ecc 0x00000000019d81db llvm::TargetFrameLowering::getFrameIndexOffset(llvm::MachineFunction const&, int) const + 107 7 ecc 0x000000000188977a llvm::CompileUnit::constructVariableDIE(llvm::DbgVariable*, bool) + 1402 8 ecc 0x0000000001869a9a llvm::DwarfDebug::constructScopeDIE(llvm::CompileUnit*, llvm::LexicalScope*) + 458 9 ecc 0x0000000001869b70 llvm::DwarfDebug::constructScopeDIE(llvm::CompileUnit*, llvm::LexicalScope*) + 672 10 ecc 0x000000000186a734 llvm::DwarfDebug::endFunction(llvm::MachineFunction const*) + 1908 11 ecc 0x0000000001852263 llvm::AsmPrinter::EmitFunctionBody() + 4755 12 ecc 0x00000000012acb99 13 ecc 0x0000000001e806cf llvm::FPPassManager::runOnFunction(llvm::Function&) + 655 14 ecc 0x0000000001e80773 llvm::FPPassManager::runOnModule(llvm::Module&) + 51 15 ecc 0x0000000001e80184 llvm::MPPassManager::runOnModule(llvm::Module&) + 548 16 ecc 0x0000000001e802eb llvm::PassManagerImpl::run(llvm::Module&) + 187 17 ecc 0x0000000000777994 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 2884 18 ecc 0x000000000077529c 19 ecc 0x00000000008df64f clang::ParseAST(clang::Sema&, bool) + 367 20 ecc 0x0000000000773e84 clang::CodeGenAction::ExecuteAction() + 68 21 ecc 0x0000000000627ea4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 324 22 ecc 0x000000000060c23a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1418 23 ecc 0x0000000000600d19 cc1_main(char const**, char const**, char const*, void*) + 6889 24 ecc 0x000000000060aaff main + 9311 25 libc.so.6 0x0000003ecbe1ee5d __libc_start_main + 253 26 ecc 0x00000000005fe4f9 Stack dump: 0. Program arguments: /home/rich/ellcc/bin/ecc -cc1 -triple microblaze-ellcc-linux -S -disable-free -main-file-name vfprintf.c -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -msoft-float -target-linker-version 2.20.51.0.7 -momit-leaf-frame-pointer -g -coverage-file /tmp/vfprintf-9rRybu.s -resource-dir /home/rich/ellcc/bin/../libecc -dependency-file vfprintf.d -MT vfprintf.o -sys-header-deps -MP -I ../../../../src/c/include -I ../../../../src/c/locale -fmodule-cache-path /var/tmp/clang-module-cache -O1 -Werror -fno-dwarf-directory-asm -fdebug-compilation-dir /home/rich/ellcc/libecc/obj/microblaze/linux -ferror-limit 19 -fmessage-length 110 -mstackrealign -fno-builtin -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/vfprintf-9rRybu.s -x c ../../../../src/c/stdio/vfprintf.c 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '../../../../src/c/stdio/vfprintf.c'. 4. Running pass 'MBlaze Assembly Printer' on function '@__vfprintf_unlocked' ecc: error: unable to execute command: Aborted (core dumped) ecc: error: clang frontend command failed due to signal (use -v to see invocation) ecc: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information. ecc: warning: unknown platform, assuming -mfloat-abi=soft ecc: note: diagnostic msg: Preprocessed source(s) and associated run script(s) are located at: ecc: note: diagnostic msg: /tmp/vfprintf-TrftTv.i ecc: note: diagnostic msg: /tmp/vfprintf-TrftTv.sh make[2]: *** [vfprintf.o] Error 254 make[2]: Leaving directory `/home/rich/ellcc/libecc/obj/microblaze/linux/c' make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/rich/ellcc/libecc/obj/microblaze/linux' make: *** [all] Error 1
This now works.
These bugs are obsolete with the new build and deployment process.