Summary: | Build fails on Ubuntu 12.04 | ||
---|---|---|---|
Product: | ELLCC | Reporter: | cnxsoft |
Component: | build scripts | Assignee: | Richard Pennington <rich> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | rich |
Priority: | --- | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Linux |
Description
cnxsoft
2012-07-12 21:03:55 CDT
Sorry invalid bug. I had a power failure during the first build, and just carried on with make, if I do make clean then make, the build seems to have successfully built llvm (the rest is still in progress). (In reply to comment #1) > Sorry invalid bug. I had a power failure during the first build, and just > carried on with make, if I do make clean then make, the build seems to have > successfully built llvm (the rest is still in progress). I could go further, but the build failed with: cp: cannot stat `../lib/clang//include/*': No such file or directory I have no bin or lib directory at that point of the build, so I copied the binary and library binaries as follows: cp ./llvm-build/Release+Asserts/* . -rf But then the build fails: /home/jaufranc/edev/playground/ellcc/libecc/../bin/ecc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -D_XOPEN_SOURCE=700 -I./src/internal -I./include -I./arch/arm -g -pipe -falign-functions=1 -falign-labels=1 -falign-loops=1 -falign-jumps=1 -Wall -Wpointer-arith -Wcast-align -Wno-parentheses -Wno-uninitialized -Wno-missing-braces -Wno-unused-value -Wno-unknown-pragmas -target arm-ellcc-linux-eabi -mcpu=cortex-a9 -mfpu=neon -MP -MD -g -Werror -Qunused-arguments -Wno-unneeded-internal-declaration -Wno-cast-align -Wno-incompatible-pointer-types -Wno-string-plus-int -Wno-pointer-sign -Wno-array-bounds -Wno-dangling-else -c -o crt/crt1.o crt/arm/crt1.s ecc: error: unable to execute command: No such file or directory ecc: error: assembler command failed due to signal (use -v to see invocation) clang version 3.2 (http://ellcc.org/svn/ellcc/trunk/llvm/tools/clang 3039) Target: arm-ellcc-linux-eabi Thread model: posix ecc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. ecc: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs. make[2]: *** [crt/crt1.o] Error 255 make[2]: Leaving directory `/home/jaufranc/edev/playground/ellcc/libecc/src/musl' make[1]: *** [arm] Error 1 make[1]: Leaving directory `/home/jaufranc/edev/playground/ellcc/libecc' make: *** [all] Error 1 Using -v shows it's because it can't find arm-elf-as. I changed some of the library make rules yesterday. It was trying to do a library build without having installed the binaries which worked for me, of course because I had installed binaries already. The latest build rules should work OK. Tell me if you have any issues. The build completes, but sudo make install does not seem to install ecc, so I have to use the binary in ./bin/ecc (build directory) instead. Right now the build scripts always put the executables in bin. This will have to be fixed for a real install. The good news is that you don't have to use sudo to install. The bad news is that the install directory isn't something like /usr/local/bin and you have to add the bin directory to your path. These bugs are obsolete with the new build and deployment process. These bugs are obsolete with the new build and deployment process. |