Reviewed by: Pavel Zakharov <[email protected]>
Reviewed by: Prashanth Sreenivasa <[email protected]
Reviewed by: Prakash Surya <[email protected]>

This change modifies `nightly.sh` to expose linker errors in the
"mail_msg" file, making it easier to debug these sorts of issues.

The following is example output taken from the "mail_msg" file with
this change applied, building intentionally broken code:

    ==== Build errors (non-DEBUG) ====

    dmake: Warning: Target `install' not remade because of errors
    The following command caused the error:
    dmake: Warning: Target `install' not remade because of errors
    The following command caused the error:
    dmake: Warning: Target `install' not remade because of errors
    dmake: Warning: Command failed for target `zdb'
    dmake: Warning: Target `install' not remade because of errors
    The following command caused the error:
    dmake: Warning: Target `install' not remade because of errors
    Undefined                   first referenced
     symbol                         in file
    testfunc1                           zdb.o
    ld: fatal: symbol referencing errors. No output written to zdb
    Undefined                   first referenced
     symbol                         in file
    testfunc1                           zdb.o
    ld: fatal: symbol referencing errors. No output written to zdb
    Undefined                   first referenced
     symbol                         in file
    testfunc1                           zdb.o
    ld: fatal: symbol referencing errors. No output written to zdb
    Undefined                   first referenced
     symbol                         in file
    testfunc1                           zdb.o
    ld: fatal: symbol referencing errors. No output written to zdb

Upstream bugs: TOOL-4799
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/490

-- Commit Summary --

  * 8753 linker errors don't show up in the "mail_msg" file

-- File Changes --

    M usr/src/tools/scripts/nightly.sh (14)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/490.patch
https://github.com/openzfs/openzfs/pull/490.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/490

------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T5d9bc0adb26d4d8a-Mcc68194cb90446985b708fd9
Powered by Topicbox: https://topicbox.com

Reply via email to