Ronald G. Minnich (rminnich@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7080
-gerrit
commit 5751b259ac1c32c8b5d24c11e78093810bad376d Author: Ronald G. Minnich rminnich@gmail.com Date: Thu Oct 16 19:44:22 2014 +0200
xcompile: show errors that we need to see
That way people won't waste time when errors like this are hidden: rminnich@ra:~/coreboot> make .xcompile Warning: no suitable GCC for aarch64. riscv-as: error while loading shared libraries: libopcodes-2.21.1.so: cannot open shared object file: No such file or directory riscv-as: error while loading shared libraries: libopcodes-2.21.1.so: cannot open shared object file: No such file or directory Warning: no suitable GCC for risc
This simple message would have saved somebody several hours today.
Change-Id: Ia00bd3df9bb3efc8dbbceea2a08b1aed633204c5 Signed-off-by: Ronald G. Minnich rminnich@gmail.com --- util/xcompile/xcompile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index e498cc0..f80b2a2 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -85,7 +85,7 @@ testas() {
rm -f "$obj_file" [ -n "$use_dash_twidth" ] && use_dash_twidth="--$twidth" - ${gccprefixes}as $use_dash_twidth -o "$obj_file" $TMPFILE 2>/dev/null || + ${gccprefixes}as $use_dash_twidth -o "$obj_file" $TMPFILE || return 1
# Check output content type.