Commit 6b6e0cd7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

build: add check for will always overflow destination buffer in the log

parent 4b1151e6
......@@ -175,12 +175,17 @@ check_log()
echo "-------------------------------------------------------"
echog "Check log for..."
LOGFILE=$1
grep 'ld: warning: libstdc++\.so\.5, needed by [^ ]\+, may conflict with libstdc++\.so\.6' $LOGFILE
RES=$?
if [ $RES = 0 ] ; then
echog "Error: libstdc++.so.5/6 conflicts"
if grep -q 'ld: warning: libstdc++\.so\.5, needed by [^ ]\+, may conflict with libstdc++\.so\.6' $LOGFILE ; then
echog "Error found: libstdc++.so.5/6 conflicts. Check the log."
return 1
fi
if grep -q 'will always overflow destination buffer' $LOGFILE ; then
echog "Error found: will always overflow destination buffer. Check the log."
return 1
fi
grep 'python-strict' $LOGFILE && warning "python-strict used!!!"
NC1="command not found"
NC2="-march=athlon -mtune=athlon-xp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment