Print this page
12313 nightly should check for ld guidance

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/nightly
          +++ new/usr/src/tools/scripts/nightly
↓ open down ↓ 183 lines elided ↑ open up ↑
 184  184          echo "\n==== Building OS-Net source at `date` ($LABEL) ====\n" \
 185  185                  >> $LOGFILE
 186  186  
 187  187          rm -f $SRC/${INSTALLOG}.out
 188  188          cd $SRC
 189  189          /bin/time $MAKE -e install 2>&1 | \
 190  190              tee -a $SRC/${INSTALLOG}.out >> $LOGFILE
 191  191  
 192  192          echo "\n==== Build errors ($LABEL) ====\n" >> $mail_msg_file
 193  193          egrep ":" $SRC/${INSTALLOG}.out |
 194      -            egrep -e "(^${MAKE}:|[      ]error[:        \n])" | \
      194 +            egrep -e "(^${MAKE}:|[      ]error[:        \n]|ld: guidance:)" | \
 195  195              egrep -v "Ignoring unknown host" | \
 196  196              egrep -v "cc .* -o error " | \
 197  197              egrep -v "warning" | tee $TMPDIR/build_errs${SUFFIX} \
 198  198              >> $mail_msg_file
 199  199              sed -n "/^Undefined[        ]*first referenced$/,/^ld: fatal:/p" \
 200  200              < $SRC/${INSTALLOG}.out >> $mail_msg_file
 201  201          if [[ -s $TMPDIR/build_errs${SUFFIX} ]]; then
 202  202                  build_ok=n
 203  203                  this_build_ok=n
 204  204          fi
↓ open down ↓ 1857 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX