Print this page
12313 nightly should check for ld guidance


 174         ORIGROOT=$ROOT
 175         [ $MULTIPROTO = no ] || export ROOT=$ROOT$SUFFIX
 176 
 177         export ENVLDLIBS1=`myldlibs $ROOT`
 178         export ENVCPPFLAGS1=`myheaders $ROOT`
 179 
 180         this_build_ok=y
 181         #
 182         #       Build OS-Networking source
 183         #
 184         echo "\n==== Building OS-Net source at `date` ($LABEL) ====\n" \
 185                 >> $LOGFILE
 186 
 187         rm -f $SRC/${INSTALLOG}.out
 188         cd $SRC
 189         /bin/time $MAKE -e install 2>&1 | \
 190             tee -a $SRC/${INSTALLOG}.out >> $LOGFILE
 191 
 192         echo "\n==== Build errors ($LABEL) ====\n" >> $mail_msg_file
 193         egrep ":" $SRC/${INSTALLOG}.out |
 194             egrep -e "(^${MAKE}:|[      ]error[:        \n])" | \
 195             egrep -v "Ignoring unknown host" | \
 196             egrep -v "cc .* -o error " | \
 197             egrep -v "warning" | tee $TMPDIR/build_errs${SUFFIX} \
 198             >> $mail_msg_file
 199             sed -n "/^Undefined[        ]*first referenced$/,/^ld: fatal:/p" \
 200             < $SRC/${INSTALLOG}.out >> $mail_msg_file
 201         if [[ -s $TMPDIR/build_errs${SUFFIX} ]]; then
 202                 build_ok=n
 203                 this_build_ok=n
 204         fi
 205         grep "bootblock image is .* bytes too big" $SRC/${INSTALLOG}.out \
 206                 >> $mail_msg_file
 207         if [ "$?" = "0" ]; then
 208                 build_ok=n
 209                 this_build_ok=n
 210         fi
 211 
 212         echo "\n==== Build warnings ($LABEL) ====\n" >>$mail_msg_file
 213         egrep -i 'warn:|warning:' $SRC/${INSTALLOG}.out \
 214                 | egrep -v '^tic:' \




 174         ORIGROOT=$ROOT
 175         [ $MULTIPROTO = no ] || export ROOT=$ROOT$SUFFIX
 176 
 177         export ENVLDLIBS1=`myldlibs $ROOT`
 178         export ENVCPPFLAGS1=`myheaders $ROOT`
 179 
 180         this_build_ok=y
 181         #
 182         #       Build OS-Networking source
 183         #
 184         echo "\n==== Building OS-Net source at `date` ($LABEL) ====\n" \
 185                 >> $LOGFILE
 186 
 187         rm -f $SRC/${INSTALLOG}.out
 188         cd $SRC
 189         /bin/time $MAKE -e install 2>&1 | \
 190             tee -a $SRC/${INSTALLOG}.out >> $LOGFILE
 191 
 192         echo "\n==== Build errors ($LABEL) ====\n" >> $mail_msg_file
 193         egrep ":" $SRC/${INSTALLOG}.out |
 194             egrep -e "(^${MAKE}:|[      ]error[:        \n]|ld: guidance:)" | \
 195             egrep -v "Ignoring unknown host" | \
 196             egrep -v "cc .* -o error " | \
 197             egrep -v "warning" | tee $TMPDIR/build_errs${SUFFIX} \
 198             >> $mail_msg_file
 199             sed -n "/^Undefined[        ]*first referenced$/,/^ld: fatal:/p" \
 200             < $SRC/${INSTALLOG}.out >> $mail_msg_file
 201         if [[ -s $TMPDIR/build_errs${SUFFIX} ]]; then
 202                 build_ok=n
 203                 this_build_ok=n
 204         fi
 205         grep "bootblock image is .* bytes too big" $SRC/${INSTALLOG}.out \
 206                 >> $mail_msg_file
 207         if [ "$?" = "0" ]; then
 208                 build_ok=n
 209                 this_build_ok=n
 210         fi
 211 
 212         echo "\n==== Build warnings ($LABEL) ====\n" >>$mail_msg_file
 213         egrep -i 'warn:|warning:' $SRC/${INSTALLOG}.out \
 214                 | egrep -v '^tic:' \